Updating Problem from 0.8(8)


#1

So last July my Raspberri Pi, Astroprint stopped talking to my network. At the time I didn’t feel like trying to troubleshoot it, since it is actually buried inside the printer.

Long story short, today I decided to take it apart and found the problem was that the wireless card came out. So I got the Astroprint back to talking to my network and more importantly is talking to the astroprint cloud services.

The problem is I am having trouble updating. Currently I am at 0.8(8), and when I try to do the update I get the error “their was an error checking for new software”.

I did try logging in via ssh and doing a sudo apt-get update, which seemed to work, but still no luck using the web interface for updating.

Anyways I figure I should probably update my astroprint for bug fixes and am trying to figure out how to do it from this older build.

Thanks!

Edit
I pulled the astrobox log and this is what I am seeing

016-05-03 10:07:20,594 - astroprint.printer - INFO - Changing monitoring state from ‘Connecting’ to 'Operational’
2016-05-03 10:07:24,647 - astroprint.software - ERROR - Error getting software release info: [Errno 1] _ssl.c:504: error:14090086:SSL rou$
2016-05-03 10:14:30,427 - astroprint.software - ERROR - Error getting software release info: [Errno 1] _ssl.c:504: error:14090086:SSL rou$
2016-05-03 10:15:38,444 - astroprint.software - ERROR - Error getting software release info: [Errno 1] _ssl.c:504: error:14090086:SSL rou$
2016-05-03 10:15:52,241 - astroprint.software - ERROR - Error getting software release info: [Errno 1] _ssl.c:504: error:14090086:SSL rou$
2016-05-03 10:17:35,591 - astroprint.software - ERROR - Error getting software release info: [Errno 1] _ssl.c:504: error:14090086:SSL rou$
2016-05-03 10:18:13,917 - octoprint.server.util - INFO - New connection from client: 192.168.0.105
2016-05-03 10:18:16,303 - octoprint.server.util - INFO - Client connection closed
2016-05-03 10:19:59,877 - octoprint.server.util - INFO - Client connection closed
2016-05-03 10:53:07,656 - octoprint.server.util - INFO - New connection from client: 192.168.0.105
2016-05-03 10:53:14,669 - astroprint.software - ERROR - Error getting software release info: [Errno 1] _ssl.c:504: error:14090086:SSL rou$


#2

Yes, Rob that’s an extremely old release which had a problem with time lag. This prevents the SSL certificate validation because it thinks its in the future.

If you’re able to SSH into your device, try this:

sudo su
echo '2018-02-14 00:00:00' > /etc/astrobox/last_known_time
exit
sudo reboot

Then try again updating.


#3

That got me through the first part, and it looks like its trying to install now, but fails about half way through.

here is the last few lines of the log

2018-02-14 04:32:29,960 - astroprint.software - INFO - Marking dependency [janus-astroprint] to be installed.
2018-02-14 04:32:29,967 - astroprint.software - INFO - Marking dependency [gir1.2-gstreamer-1.0] to be installed.
2018-02-14 04:32:29,970 - astroprint.software - INFO - Marking dependency [gcodeanaylizer-astroprint] to be installe$
2018-02-14 04:32:29,974 - astroprint.software - INFO - Marking dependency [hostapd-astroprint] to be installed.
2018-02-14 04:32:30,570 - astroprint.software - INFO - [gcodeanaylizer-astroprint] fetched
2018-02-14 04:32:31,203 - astroprint.software - INFO - [hostapd-astroprint] fetched
2018-02-14 04:32:31,215 - astroprint.software - ERROR - There was a problem installing dependencies:
Failed to fetch http://ppa.astroprint.com/pool/g/gc/gcodeanalyzer_0.0.2-1_armhf.deb Size mismatch
Failed to fetch http://ppa.astroprint.com/pool/h/ho/hostapd-astroprint_0.0.1-1_armhf.deb Size mismatch

One step forward and one step back I guess. At this point should I just redownload the latest image and install it on the sd card instead of trying to troubleshoot this?


#4

Please open a support ticket. This is getting too specific for the forum


#5

Decided just to reimage the flash completely with the latest release, and… it didn’t work, in fact not much worked at all. Could not get the printer to interface, or the wifi to connect to my network and it kept dropping when I connected with my computer. Also the camera did not work work. Sounds like soemthing funny going on with the USB bus, or maybe the chipset on the pi.

In the end I decided it was not worth fighting, and just ordered a new PI3 and will try that out with the newest release.


#7

That’s odd, did you have a rasperry in your printer or one of the old pcduino boards?

What gave you the clue about the USB bus?