You are not logged in.

#1 2019-04-26 06:12:08

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

maybe something wrong with latest beta

I tried updating my Pi with the latest beta using the built in beta update process I have done many times.

The Pi refused to come back online after.

I got it connected to my LAN and ssh into the pi
I manually restarted by going to the ~/printer directory and "su ./printer"
It actually came back up and I could get in via web browser so I thought I was good.
I tried to do the update again and again it just died...relaunching from the command line would also not work I got a library missing error.

I then went in and moved the "printer" directory to a new name "printer.org"
then figured what the heck and did a command line reinstall.

(wget https://www.nanodlp.com/nanodlp.tar.gz --no-check-certificate -O - | tar -C /home/pi -xz --warning=no-timestamp);cd /home/pi/printer;sudo ./setup.sh

This worked but of course my system was all lost...I assume I might be able to copy back all the config from my printer.org directory
but before I did that I tried to do the beta update again...same problem it seems to just lock up...
when I went into the command line and tried to restart the printer process I get what I think is the same library error:

pi@raspberrypi:~/printer $ sudo ./printer
./printer: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
pi@raspberrypi:~/printer $

Any thoughts on getting this working again...hate to loose all my setups etc.

Offline

#2 2019-04-26 15:10:50

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

Re: maybe something wrong with latest beta

sudo apt-get install libpng-dev
If not works try one below:
sudo apt-get install libpng16-16

Very confusing issue as raspbian changed the way libpng library works

Offline

#3 2019-04-26 16:14:53

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

Re: maybe something wrong with latest beta

no go.....

I even went back and reflashed my older backup which had my original nanodlp install.
Booted up in the printer everything worked....
did the beta update...back to dead

followed your instructions...see below....

pi@raspberrypi:~ $ cd printer
pi@raspberrypi:~/printer $ ls
build             config  distro        install  NOTICE   public    templates
change-distro.sh  db      expand-fs.sh  LICENSE  printer  setup.sh  upgrade.sh
pi@raspberrypi:~/printer $ sudo ./printer
./printer: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
pi@raspberrypi:~/printer $ sudo apt-get install libpng-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libpng12-dev' instead of 'libpng-dev'
libpng12-dev is already the newest version.
libpng12-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~/printer $ sudo ./printer
./printer: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
pi@raspberrypi:~/printer $ sudo apt-get install libpng16-16
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libpng16-16
pi@raspberrypi:~/printer $ sudo ./printer
./printer: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
pi@raspberrypi:~/printer $

Offline

#4 2019-04-26 16:21:56

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

Re: maybe something wrong with latest beta

Hmm looks like your OS need upgrade. Will try to lower libpng16 to 12

Offline

#5 2019-04-26 16:38:17

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

Re: maybe something wrong with latest beta

Lowered libpng requirement until old rasbian phased out. Try upgrade again.

Offline

#6 2019-04-26 17:26:02

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

Re: maybe something wrong with latest beta

is there a way to do the upgrade without the web interface being active?

similar to the full install using wget I assume?

Last edited by macdarren (2019-04-26 17:26:49)

Offline

#7 2019-04-26 18:00:50

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

Re: maybe something wrong with latest beta

Unfortunately no.

Offline

#8 2019-04-26 18:56:48

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

Re: maybe something wrong with latest beta

okay I will roll back to my backup and try the beta update using the lowered libpng again, but may try an os update first..

Offline

#9 2019-04-26 22:08:29

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

Re: maybe something wrong with latest beta

Tried an in place update from Jessie to Stretch.....it actually worked about as well as those things ever do.
Everything boots up but Nano doesn't launch complaining about something else....see below:

Note: this is with the previous beta that required the newer libpng

pi@raspberrypi:~ $ sudo lsb_release -a
No LSB modules are available.
Distributor ID:    Raspbian
Description:    Raspbian GNU/Linux 9.8 (stretch)
Release:    9.8
Codename:    stretch
pi@raspberrypi:~ $ cd printer
pi@raspberrypi:~/printer $ ls
build             config  distro        install  NOTICE   public    templates
change-distro.sh  db      expand-fs.sh  LICENSE  printer  setup.sh  upgrade.sh
pi@raspberrypi:~/printer $ sudo ./printer
./printer: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory
pi@raspberrypi:~/printer $


I'll try going back to my backup with Jessie with working NanoDLP to try the beta update with the lowered libpng requirement.

Unless you want me to test anything here.  I'll run a backup of this flash card as it stands before I roll back.

Last edited by macdarren (2019-04-26 22:10:35)

Offline

#10 2019-04-27 05:21:09

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

Re: maybe something wrong with latest beta

rpi-upgrade should sort out the issue.

Offline

#11 2019-04-27 06:04:32

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

Re: maybe something wrong with latest beta

I just got my system going again....back to Jessie running nanoDLP v2185...not sure if that is the beta or latest release....
Got my plates and db files moved over and while I have not yet started a print it looks to be good.

after I run some prints I may backup and try the rpi-upgrade...maybe also the stretch update.

Thanks

Offline

#12 2019-04-27 17:40:29

DrNK
Member
Registered: 2016-11-19
Posts: 94

Re: maybe something wrong with latest beta

Shahin wrote:

rpi-upgrade should sort out the issue.

Do you have a link how to do that?

Offline

#13 2019-04-27 18:31:23

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

Re: maybe something wrong with latest beta

I found this helpful...

https://domoticproject.com/update-raspb … o-stretch/

Last edited by macdarren (2019-04-27 18:54:31)

Offline

#14 2019-04-27 20:05:58

DrNK
Member
Registered: 2016-11-19
Posts: 94

Re: maybe something wrong with latest beta

What should I do to get this screen?
https://youtu.be/g5AtuZ1hzTI
Sorry for noob question

Offline

#15 2019-04-27 20:45:10

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

Re: maybe something wrong with latest beta

DrNK,

Download lite version not full fledged raspbian

Offline

#16 2019-06-14 13:25:01

DrNK
Member
Registered: 2016-11-19
Posts: 94

Re: maybe something wrong with latest beta

Could not upgrade 2227 to 2229. Upgraded Raspbian a month ago to lite version successsfully.
Upgrade goes smoothly, PI3 goinf offline, manual restart, again still version 2227 exists. (tried install both stable and latest beta many times)

Offline

#17 2019-06-14 15:33:35

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

Re: maybe something wrong with latest beta

DrNK,

There were issue on build numbering, so 2227 the latest. It will be fixed with the next version.

Offline

Board footer

Powered by FluxBB