You are not logged in.
So I fixed up my install by manually adjusting my templates and putting in version 2252 of the application.
This got my pi working again and everything I could test seemed ok.
So I decided to test the upgrade system and chose to do an update to the 'latest beta' from the tools page....
Machine went down again... not sure if it supposed to do that....ssh connection is lost and pi no longer responds to pings.
I waited several minutes but it never came back.
Power cycle brought it back up... I suspect nothing was updated based on going in via ssh and looking at file timestamps....
However I now have the blue update available in the upper right
(this was not there prior to my attempt to update) and the log shows v2252 as being launched.
So is there a newer version or is the indicator wrong....
I see mentioned a 'manual update' on my previous post but not sure what that is or how to do it, exactly.
maybe backup the db directory, wipe the printer directory and do a full install then put the db back?
P.S. templates seem ok, menus work so it didn't roll those back at least
P.P.S. Reload NanoDLP from the tool screen results in a similar pi failure requiring reboot...I had not tested this before.
Last edited by macdarren (2019-06-20 22:06:47)
Offline
Please, upgrade to 2255 manually.
Recent versions does not require pi reboot. Nanodlp itself will get reloaded (ideally) after couple of seconds. If it is still stall with 2255, please let me know.
Offline
2255 on my system has the exact same issue Pi crashes when update is attempted.
I could swear I posted this after I manually updated and even got a response but I don't see it here anymore...maybe it was in a different section.
Last edited by macdarren (2019-06-22 19:33:57)
Offline
Let me check upgrade see whats the issue. Is the latest version come up after crash or the previous version?
Offline
With recent past versions of nanoDLP, after reboot it was the previous version (no update occurred).....now that I have 2255 installed manually unless there is a newer release I can't say if does the update or just keeps the old version .... but I suspect it does not do the update based on file dates I see in terminal.
Farther back when my pi would hang on update (it didn't totally crash) I could manually reboot from the nanoDLP gui or ssh terminal and I would get the new version on boot up.
Last edited by macdarren (2019-06-24 21:58:50)
Offline
I guess it is systemd script. Could you post nanodlp.service file?
I believe I made mistake as it does not get replaced during upgrade but I have relied on it for restart of service on Pi.
Offline
file sent via forum email
Offline
Two lines starting with restart shall be added to fix the issue. Also will add workaround to pi.
[Unit]
Description=NanoDLP service
After=systemd-user-sessions.service plymouth-quit-wait.service
[Service]
WorkingDirectory=/home/pi/printer
ExecStart=/bin/bash /home/pi/printer/config/run.sh
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target
Offline