Octoprint not starting after update to 1.8.1

What is the problem?

Got a new power supply after several months and clicked to update from pre 1.8.0 to 1.8.1 and got the " The OctoPrint server is currently not running" error message

What did you already try to solve it?

followed instructions on the error screen
-no results on checking for service running or restart
Manually updated
-no result
Python shows 2.7 when checking, but update shows 3 already installed

Have you tried running in safe mode?

pi@octopi:~ $ octoprint safemode
-bash: octoprint: command not found

edited config.yaml
safe mode also gives "not running" error

Did running in safe mode solve the problem?


Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

Unable to boot, get same "not running" error message at octopi.local/recovery
attached log
octoprint.log (200.5 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

Octoprint 1.8.1
OctoPi 0.18.0
connecting from:
Windows 10.0.19043
Chrome Version 103.0.5060.114 (Official Build) (64-bit)

Try to run

~/oprint/bin/pip install flask==2.1.3

in ssh followed by

sudo service octoprint restart

or just reboot the pi

Could you also upload a systeminfo bundle please?
It would help us to find out how the problem arose.

If you still can't access the webinterface after the flask command above, try to get the bundle with

~/oprint/bin/octoprint systeminfo .

in ssh and download it with WinSCP.

Thank you

pi@octopi:~ $ ~/oprint/bin/pip install flask--2.1.3
Looking in indexes: Simple index, piwheels - Simple index
ERROR: Could not find a version that satisfies the requirement flask--2.1.3 (from versions: none)
ERROR: No matching distribution found for flask--2.1.3

pi@octopi:~ $ ~oprint/bin/octoprint systeminfo .
-bash: ~oprint/bin/octoprint: No such file or directory

there is a / missing behind the ~

~/oprint/bin/octoprint systeminfo .

it's flask==2.1.3 not flask--2.1.3

Try to copy and paste the commands - that should make your life easier :slight_smile:

Wow. I just... Wow. Sorry :man_facepalming:t2:
Was trying it real quick before leaving for work. And using my old glasses because my newer ones broke. I'll retry when I get home haha

Here's the system information bundle after getting it up and running (and updating to 1.8.2 because I love to live dangerously.)
octoprint-systeminfo-20220809194940.zip (74.2 KB)

glad to hear that it's working again :tentacle:

Just a little heads up: your pi reported an undervoltage issue in the systeminfo bundle
if that happens more frequently, I would look into it :slight_smile:

My original power supply had a problem with the microUSB end. I got a brand new power supply before I updated it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.