Broke OctoPrint by updating

What is the problem?

Octoprint showed a popup that said I need to update python and gave me links to do so. ( OctoPrint tells me my Python environment is outdated and will soon no longer be supported, how do I upgrade?. )

I followed the instructions to flash a new image. I copy and pasted the old contents of the card to my Mac (just in case). And then used the Raspberry Pi Imager app to set up the card. I made sure to put the correct credentials for wifi, etc before I did so.

Unfortunately I can now no longer access Octoprint. I get a "This site can't be reached" error.

What did you already try to solve it?

I refreshed the card making very sure I entered the credentials correctly. Same thing.

But then I copy and pasted the original files I had backed up on my Mac onto the card. And I get the same error with the original files! Could the card be the issue?

Have you tried running in safe mode?

As I can't boot Octoprint, I'm unable to do so.

Did running in safe mode solve the problem?

See above

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog... no bundle, no support, unless the reason you couldn't retrieve the bundle is your network issues

octoprint-systeminfo-20250505105921.zip (116.8 KB)

This was created just before I started the update, when Octoprint was working.

Additional information about your setup

Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ... as much data as possible

I'm using an old Raspberry Pi 3. I don't remember the specs, but could break it out of the case to read the card if that is relevant. The printer is an Ender 3. The card is a Samsung EVO 32G. I am using a Mac Studio.

Thanks for any help. I was able to set this up originally and have been using Octoprint for years. But unfortunately this problem has me stumped.

Haw do you access OctoPrint? (http://???)

Thanks for the quick reply. Yes http://octoprint.local

Have you tried http://octopi.local?

Sorry, I mistyped. Yes, I have been using octopi.local

When you create a new image with the same hostname as the previous image, the DHCP server (the router) sometimes gets confused and needs to be wacked over the head (i.e. rebooted). The same smack-down may be needed for your desktop.

This is an unfortunate side effect of the changes to some keys associated with the OS and paranoia about spoofing.

also, the way that network credentials get assigned in the newest 1.1.0 version of OctoPi is not the same as older versions. If you aren't using the pi imager advanced settings to set the wifi information and using the file based method you need to edit the file /boot/firmware/wifi.nmconnection.

I have E3pro connected to PC via Octoprint - after updating it to the latest version 1.11.0 due to discontinuing support for the old Python version, after exporting the model to the printer, my bed and hotend don't heat up and the extruder motor doesn't spin, the os xyz motors work normally. If I load the model to SD card, everything works OK. Does anyone have any idea what to do about this? It works the same after updating from the old version of Octoprint to the new one, and after generating a clean installation of Octoprint on the new SD card... I'm trapped and don't know what to do - would be grateful for any advice.

Hello @Kontiki !

You have a completely different issue.

Please open a new thread in Get Help with all requested information.

1 Like

I very much appreciate the advice, but it didn't work. I've since tried re-flashing the card using different setups (even 32bit OS out of desperation) to no avail. I'm still getting the "This site can't be reached" error.

I did crack open the case to see what version of Raspberry Pi I have: It's a 3 B v1.2. I have chosen Raspberry Pi 3 when I use the Imager each time.

jneilliii Thanks to you as well. I have been using the advanced setting to set up my user and wifi credentials. I've triple checked that they are accurate. (Although I notice that when I return to the advance setting later the wifi password has changed to a long list of letters & numbers instead of showing my password. I'm assuming that is normal, but thought I'd mention it in case it's not.)

As for using the file based method, I do not see the 'firmware' folder when I view the contents of the card on my desktop. The only folder under 'boot' is 'overlays'. What am I missing?

Thanks again for your help. I'm obviously not understanding something in the process.

Yes, this is normal. The password gets encrypted in some way to be stored on the sd card for first time boot.

Sorry, I haven't attempted this way before, just something that was mentioned in the release notes of OctoPi 1.1.0. Maybe the file is stored in the root of the folder you have access to,