You are not logged in.

#1 2019-06-15 18:59:21

macdarren
Member
Registered: 2017-03-20
Posts: 411

can't update Pi from v2228

my pi is running v2228 (at least that is what it says in the log when it boots up)

I can see there is an update available....

I have tried both the release and the beta

I get the same result...the download seems to start (log says downloading) then the pi goes offline.
It never comes back online....seems like a full OS crash as I can't ssh or ping it once this happens.
When I manually reboot I am still on v2228
I am guessing something is wrong the download/extraction as I do not see the
download percentage status as I recall from previous updates.

Offline

#2 2019-06-16 04:18:03

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: can't update Pi from v2228

Darren,

Please, retry again see if the issue still persists. Do you remember what was the last version you have upgraded from?

Offline

#3 2019-06-16 18:20:57

macdarren
Member
Registered: 2017-03-20
Posts: 411

Re: can't update Pi from v2228

I tried again with the same result.....I usually keep my system up to date with the latest beta.......checking every few days but I have not around to do upates for a week or so....so most likely whatever beta came immediately before 2228 was what I was using....

Any way for me to do the update from an ssh window and maybe get more info on what is failing?

While getting my new remote slicer working I noticed that my pi now can't enter machine setup...

It says "internal server error' when trying to load that page.

Last edited by macdarren (2019-06-17 01:18:50)

Offline

#4 2019-06-17 03:20:11

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: can't update Pi from v2228

Very strange as I have checked templates/setup.html file and it seems ok. (cause of the internal server error)
Please, share a debug file. Also please attach templates/setup.html file.

Offline

#5 2019-06-20 07:45:32

nfab
Member
Registered: 2018-06-28
Posts: 6

Re: can't update Pi from v2228

hey there
I am encountering the same issue
Ive got two machines.


ive tried to update after I saw long prints tend to loose connection with the ramps
in some point the motor is going up and down constantly while the projector is projecting randomly.

Offline

#6 2019-06-20 11:02:08

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: can't update Pi from v2228

The issue has been fixed. Upgrade to the latest build manually.

Offline

#7 2019-07-12 23:22:03

macdarren
Member
Registered: 2017-03-20
Posts: 411

Re: can't update Pi from v2228

I have been running v2256 I think but today I noticed that there was an update....(blue tag in upper right)
I clicked the blue tag
I choose update to latest beta.
browser lost connection
then Pi crashed (could no longer Ping)
power cycled pi after waiting a couple minutes
Pi rebooted
browser reconnected
now reports v2291

So yeah...this is much better than manual update...not sure why pi hangs and requires reboot but this is pretty much always the way it worked before
update mechanism started to fail to update requiring reboots and manual updates or reinstalls....so progress!!

Offline

#8 2019-07-13 03:29:10

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: can't update Pi from v2228

It should just restart nanodlp itself without rebooting pi. Maybe conflicting systemd file cause it. For the next upgrade hopefully it does not happens as I put safeguard inside nanodlp for pi systemd.

Offline

#9 2019-07-18 18:14:45

macdarren
Member
Registered: 2017-03-20
Posts: 411

Re: can't update Pi from v2228

FYI:

attempted update from 2291 to 2293 (betas) had same failure...pi goes down per cycle required to reboot..new version available on reboot.

I had an ssh window open following the log when I attempted the update

pi@raspberrypi:/home $ tail -f  /var/log/printer.log
{"time":"2019-07-19T02:02:22.316199316+08:00","level":"ERROR","prefix":"echo","file":"echo.go","line":"580","message":"code=404, message=Not Found"}
2019/07/19 02:06:16.827114 {"Layer":"220","module":"Upgrade","level":"Notice","msg":"Upgrade Process Started"}
2019/07/19 02:06:16.827444 {"Layer":"220","module":"Upgrade","level":"Notice","msg":"Downloading... https://www.nanodlp.com/download/nanodlp.linux.arm.rpi.beta.tar.gz?16"}
{"time":"2019-07-19T02:06:16.994932163+08:00","level":"ERROR","prefix":"echo","file":"echo.go","line":"580","message":"code=404, message=Not Found"}
2019/07/19 02:06:23.841032 {"Layer":"220","module":"Upgrade","level":"Notice","msg":"Upgrade process is successful"}
packet_write_wait: Connection to 10.0.1.140 port 22: Broken pipe

Offline

#10 2019-07-20 17:53:47

WouldyouPrintaCar
Member
Registered: 2017-10-23
Posts: 3

Re: can't update Pi from v2228

I am also having this issue. When I click on either stable or beta to update it just goes to the main page and doesn't update.

My printer is also acting strange failing to print in several different ways that I've never seen before.

How do I manually update nanodlp?

I am on build #2229

Last edited by WouldyouPrintaCar (2019-07-20 18:50:35)

Offline

#11 2019-07-20 18:46:05

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: can't update Pi from v2228

Darren,

You mean it installed correctly or it still same version requiring upgrade?

Offline

#12 2019-07-20 22:39:50

macdarren
Member
Registered: 2017-03-20
Posts: 411

Re: can't update Pi from v2228

Install completed I assume before Pi went down. Upon reboot the new version was up and running.

Offline

#13 2019-07-21 03:35:19

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: can't update Pi from v2228

Please, paste /etc/systemd/system/nanodlp.service content.
Also try reload nanodlp from setup / tools tab see if it come up correctly

Offline

#14 2019-10-01 21:52:43

macdarren
Member
Registered: 2017-03-20
Posts: 411

Re: can't update Pi from v2228

a bit late but does this look right?

also choosing setup/tools/reload causes the same hang as update...
It requires a power cycle to bring the system back up (even ping goes down)

pi@raspberrypi:/etc/systemd/system $ cat nanodlp.service
[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

[Install]
WantedBy=multi-user.target
pi@raspberrypi:/etc/systemd/system $

Last edited by macdarren (2019-10-01 22:02:20)

Offline

#15 2019-10-02 04:03:50

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: can't update Pi from v2228

Please, replace it with and retry.

[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

#16 2019-10-02 18:51:32

macdarren
Member
Registered: 2017-03-20
Posts: 411

Re: can't update Pi from v2228

Hmm that seems to have solved my update issue....I can't really tell for sure until a new update is released but an update to the same version did seem to restart the system without requiring a power on reset....yeah!!!

Offline

Board footer

Powered by FluxBB