1.4 and cant boot "The OctoPrint server is currently not running"

What is the problem?
The OctoPrint server is currently not running error on connecting

What did you already try to solve it?
Verify that the process is running: ps -ef | grep -i octoprint | grep -i python should show a python process= NO Output

  • You might also want to try if you can restart the server (if no obvious error is visible): sudo service octoprint restart . = No Output

Logs (octoprint.log, serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support!)

2020-03-06 20:01:45,371 - octoprint.plugin.core - ERROR - Error loading plugin logging
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 937, in _import_plugin
    module = _load_module(module_name, spec)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 71, in _load_module
    return imp.load_module(name, f, filename, details)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging/__init__.py", line 10, in <module>
    from octoprint.server import NO_CONTENT
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/__init__.py", line 26, in <module>
    from octoprint.server import util
ImportError: cannot import name util
2020-03-06 20:01:45,460 - octoprint.plugin.core - ERROR - Error loading plugin pluginmanager
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 937, in _import_plugin
    module = _load_module(module_name, spec)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 71, in _load_module
    return imp.load_module(name, f, filename, details)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 14, in <module>
    from octoprint.server.util.flask import no_firstrun_access, with_revalidation_checking, check_etag
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/__init__.py", line 26, in <module>
    from octoprint.server import util
ImportError: cannot import name util
2020-03-06 20:01:45,638 - octoprint.plugin.core - ERROR - Error loading plugin softwareupdate
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 937, in _import_plugin
    module = _load_module(module_name, spec)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 71, in _load_module
    return imp.load_module(name, f, filename, details)
2020-03-06 20:01:43,920 - octoprint.startup - INFO - ******************************************************************************
2020-03-06 20:01:43,922 - octoprint.startup - INFO - Starting OctoPrint 1.4.0rc5
2020-03-06 20:01:43,923 - octoprint.startup - INFO - ******************************************************************************
2020-03-06 20:01:43,973 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
2020-03-06 20:01:44,703 - octoprint.startup - INFO - Blacklist processing done, adding 1 blacklisted plugin versions: roomtemp (any)
2020-03-06 20:01:44,886 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-03-06 20:01:45,307 - octoprint.plugin.core - ERROR - Error loading plugin action_command_prompt
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 937, in _import_plugin
    module = _load_module(module_name, spec)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 71, in _load_module
    return imp.load_module(name, f, filename, details)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt/__init__.py", line 9, in <module>
    from octoprint.server import user_permission
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/__init__.py", line 91, in <module>
    from octoprint.printer.standard import Printer
EOFError: EOF read where object expected
2020-03-06 20:01:45,347 - octoprint.plugin.core - ERROR - Error loading plugin appkeys
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 937, in _import_plugin
    module = _load_module(module_name, spec)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 71, in _load_module
    return imp.load_module(name, f, filename, details)
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys/__init__.py", line 16, in <module>
    from octoprint.server.util.flask import restricted_access, no_firstrun_access
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/__init__.py", line 26, in <module>
    from octoprint.server import util
ImportError: cannot import name util

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible)

Sounds like some files aren't where they're supposed to be.

which octoprint

ls -l /home/pi

sudo find / -name octoprint 2> /dev/null # Let that run

pi@octopi:~ $ which octoprint
pi@octopi:~ $
pi@octopi:~ $ ls -l /home/pi
total 16
drwxr-xr-x 10 pi pi 4096 Jan 30  2019 mjpg-streamer
drwxr-xr-x  2 pi pi 4096 Mar  6 20:19 OctoPrint
drwxr-xr-x  7 pi pi 4096 Feb 13 03:27 oprint
drwxr-xr-x  2 pi pi 4096 Jan 29  2019 scripts
pi@octopi:~ $
pi@octopi:~ $ sudo find / -name octoprint 2> /dev/null
[sudo] password for pi:
/etc/default/octoprint
/etc/init.d/octoprint
/home/pi/oprint/lib/python2.7/site-packages/octoprint
/home/pi/oprint/bin/octoprint

Okay, so OctoPrint is where it's supposed to be (in the virtual environment folder called ~/oprint) rather than being installed globally.

You might consider taking this advice and then trying a second upgrade attempt.

That didn't work, I just gave up and blew it away for a new install. Probably better that way anyways, been a ton of code changes since the first install and it should run better.

1 Like

Did the new install work for you? I am having the same issue with a new install.