Raspberry Pi PrusaLink Image won't start after reboot command
 
Notifications
Clear all

Raspberry Pi PrusaLink Image won't start after reboot command  

  RSS
DanielAttia
(@danielattia)
Membre
Raspberry Pi PrusaLink Image won't start after reboot command

It may just be that I'm a novice at this, but I have been having this issue since I started to use PrusaLink on my Raspberry Pi 4. I have used Linux before, but each time I run the command "sudo reboot" it doesn't reboot properly and I need to manually unplug the Pi from power to reset it.

I have followed the following instructions from the README.md file without much luck

To start Prusa Link on boot, add this line to `/etc/rc.local`

```
su pi -c 'prusa-link start'

 

Any help or advice is appreciated!

Best Answer by madpro:

Not a good idea normally - had same issue on Rpi3B . After adding the custom file, try   (sudo reboot --force --force).  Worked for me.

Publié : 03/12/2021 3:26 pm
madpro
(@madpro)
Membre
RE: Raspberry Pi PrusaLink Image won't start after reboot command

Not a good idea normally - had same issue on Rpi3B . After adding the custom file, try   (sudo reboot --force --force).  Worked for me.

Publié : 07/12/2021 4:19 pm
Tojik
(@tojik)
Membre Moderator
RE: Raspberry Pi PrusaLink Image won't start after reboot command

The script in rc.local now looks like this:

rm -f /home/pi/prusa-link.pid
export PYTHONOPTIMIZE=2
su pi -c '/home/pi/.local/bin/prusa-link -i start'

Sorry, I haven't updated the README in a long time.

There might be a problem with a thread refusing to die, which would prolong the reboot ~2 mins, but it should die eventually.

Publié : 15/02/2022 4:06 pm
DanielAttia a aimé
Partager :