Prusalink works only if ran in foreground
 
Notifications
Clear all

Prusalink works only if ran in foreground  

  RSS
tampe125
(@tampe125)
Eminent Member
Prusalink works only if ran in foreground

So, this is strange.

I have 4 printers, after a power outage 2 of them are not connecting to Prusa portal. They are online, I can SSH to them. If I run 

prusalink -f

I can see them connected to the portal. If I start the daemon, they are not connected. Any suggestions on how to fix this? Currently running version 0.7r2

Posted : 06/06/2023 10:19 am
tampe125
(@tampe125)
Eminent Member
Topic starter answered:
RE: Prusalink works only if ran in foreground

And of course as soon as I post the problem I found the solution...

It seems that the problem was caused by the prusalink.pid file, since the daemon could not acquire the lock.

I manually removed the file /home/pi/prusalink.pid , restarted the daemon and now everything works as expected.

Hope that helps

Posted : 06/06/2023 10:31 am
Tojik
(@tojik)
Member Moderator
RE: Prusalink works only if ran in foreground

Hi, awesome you found the solution this fast. Also, 0.7.0 (now without beeps) is out, so feel free to update. Also it has an inbuilt updater. Untested at a large scale, but i'm told it should work 😉

Posted : 06/06/2023 1:02 pm
Share: