Http://[::1] Server currently not running

What is the problem?
Getting "OctoPrint server is currently not running" page

What did you already try to solve it?
Reinstall in teminal, want to avoid having to re flash and learn what is going on( i know reflashing will work)

Logs

2020-03-04 18:11:58,418 - octoprint.startup - INFO - ***************************                                             ***************************************************
2020-03-04 18:11:58,419 - octoprint.startup - INFO - Starting OctoPrint 1.4.0
2020-03-04 18:11:58,419 - octoprint.startup - INFO - ***************************                                             ***************************************************
2020-03-04 18:13:05,969 - octoprint.startup - INFO - We don't appear to be onlin                                             e, not fetching plugin blacklist
2020-03-04 18:13:07,113 - octoprint.util.connectivity_checker - INFO - Connectiv                                             ity changed from offline to online
2020-03-04 18:13:07,371 - octoprint.plugin.core - INFO - Loading plugins from /h                                             ome/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint                                             /plugins and installed plugin packages...
2020-03-04 18:13:13,252 - octoprint.plugin.core - INFO - Plugin Anonymous Usage                                              Tracking is disabled.
2020-03-04 18:13:13,698 - octoprint.plugin.core - INFO - Plugin Prusa Leveling G                                             uide (1.0.7) is disabled.
2020-03-04 18:13:13,766 - octoprint.plugin.core - INFO - Plugin FileManager (0.1                                             .3) is disabled.
2020-03-04 18:13:13,887 - octoprint.plugin.core - INFO - Plugin Enclosure Plugin                                              (4.13.1) is disabled.
2020-03-04 18:13:13,939 - py.warnings - WARNING - /home/pi/oprint/local/lib/pyth                                             on2.7/site-packages/octoprint_cancelobject/__init__.py:13: ExtDeprecationWarning                                             : Importing flask.ext.login is deprecated, use flask_login instead.
  from flask.ext.login import current_user

2020-03-04 18:13:14,819 - octoprint.plugin.core - INFO - Found 32 plugin(s) prov                                             iding 28 mixin implementations, 53 hook handlers
2020-03-04 18:13:14,970 - octoprint.server.heartbeat - INFO - Starting server he                                             artbeat, 900.0s interval
2020-03-04 18:13:15,486 - octoprint.server - INFO - Intermediary server started
2020-03-04 18:13:15,487 - octoprint.plugin.core - INFO - Loading plugins from /h                                             ome/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint                                             /plugins and installed plugin packages...
2020-03-04 18:13:15,603 - octoprint.plugin.core - INFO - Found 32 plugin(s) prov                                             iding 28 mixin implementations, 53 hook handlers
2020-03-04 18:13:15,637 - octoprint.filemanager.storage - INFO - Initializing th                                             e file metadata for /home/pi/.octoprint/uploads...
2020-03-04 18:13:15,830 - octoprint.filemanager.storage - INFO - ... file metada                                             ta for /home/pi/.octoprint/uploads initialized successfully.
2020-03-04 18:13:15,833 - octoprint.server - INFO - Added new permission from pl                                             ugin action_command_prompt: PLUGIN_ACTION_COMMAND_PROMPT_INTERACT (needs: u"Need                                             (method='role', value=u'plugin_action_command_prompt_interact')")
2020-03-04 18:13:15,834 - octoprint.server - INFO - Added new permission from pl                                             ugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: u"Need(method='role', valu                                             e=u'plugin_announcements_read')")
2020-03-04 18:13:15,835 - octoprint.server - INFO - Added new permission from pl                                             ugin announcements: PLUGIN_ANNOUNCEMENTS_MANAGE (needs: u"Need(method='role', va                                             lue=u'plugin_announcements_manage'), Need(method='role', value=u'plugin_announce                                             ments_read')")
2020-03-04 18:13:15,836 - octoprint.server - INFO - Added new permission from pl                                             ugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: u"Need(method='role', value=u'plugin_                                             appkeys_admin')")
2020-03-04 18:13:15,837 - octoprint.server - INFO - Added new permission from pl                                             ugin backup: PLUGIN_BACKUP_ACCESS (needs: u"Need(method='role', value=u'plugin_b                                             ackup_access')")
2020-03-04 18:13:15,838 - octoprint.server - INFO - Added new permission from pl                                             ugin logging: PLUGIN_LOGGING_MANAGE (needs: u"Need(method='role', value=u'plugin                                             _logging_manage')")
2020-03-04 18:13:15,838 - octoprint.server - INFO - Added new permission from pl                                             ugin pi_support: PLUGIN_PI_SUPPORT_STATUS (needs: u"Need(method='role', value=u'                                             plugin_pi_support_check')")
2020-03-04 18:13:15,839 - octoprint.server - INFO - Added new permission from pl                                             ugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: u"Need(method='role', va                                             lue=u'plugin_pluginmanager_manage')")
2020-03-04 18:13:15,840 - octoprint.server - INFO - Added new permission from pl                                             ugin pluginmanager: PLUGIN_PLUGINMANAGER_INSTALL (needs: u"Need(method='role', v                                             alue=u'plugin_pluginmanager_install'), Need(method='role', value=u'plugin_plugin                                             manager_manage')")
2020-03-04 18:13:15,841 - octoprint.server - INFO - Added new permission from pl                                             ugin printer_safety_check: PLUGIN_PRINTER_SAFETY_CHECK_DISPLAY (needs: u"Need(me                                             thod='role', value=u'plugin_printer_safety_check_display')")
2020-03-04 18:13:15,849 - octoprint.server - INFO - Added new permission from pl                                             ugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: u"Need(method='role', v                                             alue=u'plugin_softwareupdate_check')")
2020-03-04 18:13:15,850 - octoprint.server - INFO - Added new permission from pl                                             ugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: u"Need(method='role',                                              value=u'plugin_softwareupdate_update')")
2020-03-04 18:13:15,864 - octoprint.printer.standard - INFO - Using print time e                                             stimator provided by PrusaETAOverride
2020-03-04 18:13:15,873 - octoprint.plugins.cancelobject - INFO - No beforegcode                                              defined
2020-03-04 18:13:15,874 - octoprint.plugins.cancelobject - INFO - No aftergcode                                              defined
2020-03-04 18:13:15,980 - octoprint.plugins.softwareupdate - INFO - Loaded versi                                             on cache from disk
2020-03-04 18:13:16,802 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin                                             /python2 -m pip" as command to invoke pip
2020-03-04 18:13:17,431 - octoprint.util.pip - INFO - Version of pip is 19.3.1
2020-03-04 18:13:17,433 - octoprint.util.pip - INFO - pip installs to /home/pi/o                                             print/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, v                                             irtual env -> yes
2020-03-04 18:13:17,434 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-03-04 18:13:17,438 - octoprint.plugin.core - INFO - Initialized 28 plugin i                                             mplementation(s)
2020-03-04 18:13:17,452 - octoprint.plugin.core - INFO - 32 plugin(s) registered                                              with the system:
|  Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-                                             packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/o                                             ctoprint/plugins/announcements
| !Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packa                                             ges/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packag                                             es/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octo                                             print/plugins/backup
|  Bed Visualizer (0.1.11) = /home/pi/oprint/local/lib/python2.7/site-packages/o                                             ctoprint_bedlevelvisualizer
|  Cancel Objects (0.4.1) = /home/pi/oprint/local/lib/python2.7/site-packages/oc                                             toprint_cancelobject
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint                                             /plugins/corewizard
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/p                                             lugins/discovery
|  DisplayZ (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprin                                             t_displayz
|  Dragon Order (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octo                                             print_dragon_order
| !Enclosure Plugin (4.13.1) = /home/pi/oprint/local/lib/python2.7/site-packages                                             /octoprint_enclosure
|  Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octopr                                             int/plugins/errortracking
| !FileManager (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octop                                             rint_filemanager
|  Fullscreen Plugin (0.0.4) = /home/pi/oprint/local/lib/python2.7/site-packages                                             /octoprint_fullscreen
|  HeaterTimeout (0.0.3) = /home/pi/oprint/local/lib/python2.7/site-packages/oct                                             oprint_HeaterTimeout
|  Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plu                                             gins/logging
|  Login UI (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/pl                                             ugins/loginui
|  MultiCam (0.2.6) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprin                                             t_multicam
|  Navbar Temperature Plugin (0.11) = /home/pi/oprint/local/lib/python2.7/site-p                                             ackages/octoprint_navbartemp
|  Octolapse (0.3.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octopri                                             nt_octolapse
|  Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/oct                                             oprint/plugins/pi_support
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octopr                                             int/plugins/pluginmanager
|  Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/                                             octoprint/plugins/printer_safety_check
|  Prusa ETA override Plugin (0.1.1) = /home/pi/oprint/local/lib/python2.7/site-                                             packages/octoprint_PrusaETAOverride
| !Prusa Leveling Guide (1.0.7) = /home/pi/oprint/local/lib/python2.7/site-packa                                             ges/octoprint_PrusaLevelingGuide
|  Resource Monitor (0.2.2) = /home/pi/oprint/local/lib/python2.7/site-packages/                                             octoprint_resource_monitor
|  Simple Emergency Stop (0.2.5) = /home/pi/oprint/local/lib/python2.7/site-pack                                             ages/octoprint_simpleemergencystop
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octop                                             rint/plugins/softwareupdate
|  Themeify (1.2.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprin                                             t_themeify
|  TouchUI (0.3.13) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprin                                             t_touchui
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octop                                             rint/plugins/virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2020-03-04 18:13:17,462 - octoprint.environment - INFO - Detected environment is                                              Python 2.7.16 under Linux (linux2). Details:
|  hardware:
|      cores: 4
|      freq: 1500.0
|      ram: 4096270336
|  os:
|      id: linux
|      platform: linux2
|  plugins:
|      pi_support:
|          model: Raspberry Pi 4 Model B Rev 1.2
|          octopi_version: 0.17.0
|  python:
|      pip: 19.3.1
|      version: 2.7.16
|      virtualenv: /home/pi/oprint
2020-03-04 18:13:17,689 - octoprint.server - INFO - Reset webasset folder /home/                                             pi/.octoprint/generated/webassets...
2020-03-04 18:13:17,708 - octoprint.server - INFO - Reset webasset folder /home/                                             pi/.octoprint/generated/.webassets-cache...
2020-03-04 18:13:17,822 - octoprint.plugins.octolapse - INFO - Octolapse is load                                             ing assets.
2020-03-04 18:13:18,518 - octoprint.server - INFO - Shutting down intermediary s                                             erver...
2020-03-04 18:13:18,997 - octoprint.server - INFO - Intermediary server shut dow                                             n
2020-03-04 18:13:19,001 - octoprint.events - INFO - Processing startup event, th                                             is is our first event
2020-03-04 18:13:19,002 - octoprint.events - INFO - Adding 1 events to queue tha                                             t were held back before startup event
2020-03-04 18:13:19,017 - octoprint.server - INFO - Autoconnect on startup is co                                             nfigured, trying to connect to the printer...
2020-03-04 18:13:19,018 - octoprint.filemanager - INFO - Adding backlog items fr                                             om all storage types to analysis queue...
2020-03-04 18:13:19,023 - octoprint.filemanager - INFO - Added 0 items from stor                                             age type "local" to analysis queue
2020-03-04 18:13:19,057 - octoprint.plugins.pluginmanager - INFO - Loaded plugin                                              repository data from disk, was still valid
2020-03-04 18:13:19,756 - octoprint.plugins.pluginmanager - INFO - Loaded notice                                              data from disk, was still valid
2020-03-04 18:13:19,859 - octoprint.server - INFO - Trying to connect to configu                                             red serial port /dev/ttyACM0
2020-03-04 18:13:19,890 - octoprint.server.util.watchdog - INFO - Running initia                                             l scan on watched folder...
2020-03-04 18:13:19,893 - octoprint.server.util.watchdog - INFO - ... initial sc                                             an done.
2020-03-04 18:13:19,898 - octoprint.util.comm - INFO - Changing monitoring state                                              from "Offline" to "Opening serial port"
2020-03-04 18:13:19,900 - octoprint.util.comm - INFO - Changing monitoring state                                              from "Opening serial port" to "Connecting"
2020-03-04 18:13:19,904 - octoprint.util.comm - INFO - M110 detected, setting cu                                             rrent line number to 0
2020-03-04 18:13:19,906 - octoprint.plugins.discovery - INFO - Registered 'OctoP                                             rint instance "MK3s"' for _http._tcp
2020-03-04 18:13:19,917 - octoprint.plugins.discovery - INFO - Registered 'OctoP                                             rint instance "MK3s"' for _octoprint._tcp
2020-03-04 18:13:19,921 - octoprint.plugins.discovery - INFO - Registered OctoPr                                             int instance "MK3s" for SSDP
2020-03-04 18:13:19,955 - octoprint.server - INFO - Listening on http://127.0.0.                                             1:5000
2020-03-04 18:13:19,958 - octoprint.plugins.octolapse - INFO - Loading existing                                              settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2020-03-04 18:13:20,087 - octoprint.plugins.pluginmanager - INFO - Loaded plugin                                              repository data from disk, was still valid
2020-03-04 18:13:20,731 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin                                             /python2 -m pip" as command to invoke pip
2020-03-04 18:13:20,732 - octoprint.util.pip - INFO - pip installs to /home/pi/o                                             print/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, v                                             irtual env -> yes
2020-03-04 18:13:20,738 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-03-04 18:13:20,908 - octoprint.plugins.pluginmanager - INFO - Loaded notice                                              data from disk, was still valid
2020-03-04 18:13:20,925 - octoprint.plugins.HeaterTimeout - INFO - Starting up..                                             .
2020-03-04 18:13:20,926 - octoprint.plugins.bedlevelvisualizer - INFO - OctoPrin                                             t-BedLevelVisualizer loaded!
2020-03-04 18:13:20,927 - octoprint.plugins.multicam - INFO - MultiCam Loaded! (                                             more: [{'URL': '/webcam/?action=stream', 'isButtonEnabled': False, 'name': 'Defa                                             ult'}])
2020-03-04 18:13:20,930 - octoprint.plugins.navbartemp - INFO - Broadcom detecte                                             d
2020-03-04 18:13:20,933 - octoprint.plugins.themeify - INFO - Themeify initializ                                             ed.
2020-03-04 18:13:20,950 - octoprint.util.comm - INFO - M110 detected, setting cu                                             rrent line number to 0
2020-03-04 18:13:21,847 - octoprint.server.preemptive_cache - INFO - Preemptivel                                             y caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url                                             ': 'http://192.168.201.4/'}
2020-03-04 18:13:23,244 - octoprint.util.comm - INFO - M110 detected, setting cu                                             rrent line number to 0
2020-03-04 18:13:23,245 - octoprint.util.comm - INFO - Got a resend request for                                              line 1 which is also our current line. It looks like we just handled a reset and                                              this is a left over of this
2020-03-04 18:13:23,252 - octoprint.util.comm - INFO - Changing monitoring state                                              from "Connecting" to "Operational"
2020-03-04 18:13:23,259 - octoprint.util.comm - INFO - M110 detected, setting cu                                             rrent line number to 0
2020-03-04 18:13:23,386 - octoprint.util.comm - INFO - Printer reports firmware                                              name "Prusa-Firmware 3.8.1 based on Marlin"
2020-03-04 18:13:26,420 - octoprint.server.util.sockjs - INFO - New connection f                                             rom client: ::ffff:192.168.201.1
2020-03-04 18:13:26,594 - octoprint.server.util.flask - INFO - Passively logging                                              in user Buzkill from ::ffff:192.168.201.1
2020-03-04 18:13:26,600 - octoprint.access.users - INFO - Logged in user: Buzkil                                             l
2020-03-04 18:13:26,662 - octoprint.server.util.sockjs - INFO - User Buzkill log                                             ged in on the socket from client ::ffff:192.168.201.1
2020-03-04 18:13:32,017 - octoprint.server.preemptive_cache - INFO - ... done in                                              10.17s
2020-03-04 18:13:32,018 - octoprint.server.preemptive_cache - INFO - Preemptivel                                             y caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url                                             ': 'http://[::1]/'}
2020-03-04 18:13:33,884 - octoprint.server.preemptive_cache - INFO - ... done in                                              1.87s
2020-03-04 18:15:34,588 - octoprint.server - INFO - Shutting down...
2020-03-04 18:15:34,953 - octoprint.events - INFO - Processing shutdown event, t                                             his will be our last event
2020-03-04 18:15:34,956 - octoprint.events - INFO - Event loop shut down
2020-03-04 18:15:34,970 - octoprint.plugins.HeaterTimeout - INFO - Shutting down                                             ...
2020-03-04 18:15:34,971 - octoprint.server - INFO - Goodbye!

Additional information about your setup

  model: Raspberry Pi 4 Model B Rev 1.2
  octopi_version: 0.17.0
  python:
  pip: 19.3.1
  version: 2.7.16

Are you trying to run OctoPrint on a local browser on the same Pi 4B?

"/home/pi/oprint/bin /python2 -m pip" as command to invoke pip

I note that there is a space in the middle of that command. That doesn't sound good.

Your log looks like it was just copy pasted from a terminal, truncating all of the lines at the width of your terminal. Please download the log and upload it (here or to gist.github.com). We need it in full, not the truncated version.

1 Like

Not sure what you mean by "on the same Pi4b" I Only have the one. Trying to access octoprint from web browser on my computer no go and TouchUi times out.,

octoprint.log (2.3 MB)

SORRY!

What I see is several successful connects while it was still running under 1.4.0, including a plugin installation. Then a clean shutdown at the end of the log and an obviously not running server after:

2020-03-04 18:15:34,588 - octoprint.server - INFO - Shutting down...
2020-03-04 18:15:34,953 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2020-03-04 18:15:34,956 - octoprint.events - INFO - Event loop shut down
2020-03-04 18:15:34,970 - octoprint.plugins.HeaterTimeout - INFO - Shutting down...
2020-03-04 18:15:34,971 - octoprint.server - INFO - Goodbye!

Make sure the server is actually started ( sudo service octoprint restart on OctoPi). If that doesn't work follow the steps outlined in the "The server is currently not running" page presented to you precisely and provide your results of them here.

That was the first step i did BEFOR posting here. Nothing happens. I get no output or even errors. Not sure what else i can post or tell you.....(linux noob)

SSH into the Pi. Do this:

sudo service octoprint stop
~/oprint/bin/octoprint server --debug

That should start up the server inside your terminal. If it quits with an error or something, share that. If it does startup, try connecting. Does it work? What happens on the terminal when you try to? You can quit the process with Ctrl+C

2020-03-05 02:00:27,155 - py.warnings - WARNING - /home/pi/oprint/local/lib/python2.7/site-packages/octoprint/settings.py:915: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
details = e.message

2020-03-05 02:00:27,156 - octoprint.startup - CRITICAL - Could not initialize settings manager: Error parsing the configuration file, it appears to be invalid YAML. The parser reported an error on line 3, column 15.
2020-03-05 02:00:27,157 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
Could not initialize settings manager: Error parsing the configuration file, it appears to be invalid YAML. The parser reported an error on line 3, column 15.
There was a fatal error starting up OctoPrint.

So your configuration file is malformed and/or corrupt. You'll need to fix it. If you want you can PM me the whole file and I'll take a look at what's wrong. DO NOT post it here publicly though, it might contain passwords and such.

And I need to find a way to make that message actually find its way into the logfile, because apparently currently it isn't landing there like it should.

Looked at config.yaml and deleted extra lines of code..trying that now

That was it. :smiley: thank you very much Foosel! You're a wonderful person!

1 Like

Awesome (and thanks :sweat_smile:). Can you please mark the thread as solved then, by clicking on :marksolved: on the solving reply?

Now after updating to 1.4 and running through that my TouchUI is not connecting. times out after 25 attempts and seems to be trying to connect to "http://[::1]/"

Have added "accessControl:
autoLoginAs: myUser
autologinLocal: true
localNetworks:
- "127.0.0.1/8"
- "::1/128"" to my config file already.

That's a problem you'll have to take up with the TouchUI author I fear, I don't know what's up there and I'm not set up to test that, I only use it for remote connecting myself and everything works there.

have spoken too soon. i got octoprint server up once and now after rootboot its back to the same issue...new log fileoctoprint.log (2.3 MB)

I dont understand why it keeps shutting itself down.,...

If i run "~/oprint/bin/octoprint serve " it starts up, but if i close Putty server goes down. how do i get it to start up automatically and stay running?

If it starts up if you run ~/oprint/bin/octoprint server, sudo service octoprint restart should run (it calls the same thing).

Closing putty will kill anything running inside of the current terminal session, so also your manually started server. Restart the service and it should be fine again.