The OctoPrint server is currently not running message


#1

Been using Octopprint on my Raspberry pi 3 b+ for about 3 days now, no issues. Woke up this morning and I get a window saying sever is not currently running. I tried to run the SSH commands (not sure what exactly Im doing) but when I run it, nothing shows up.
OctoPrint version : 1.3.9
OctoPi version : 0.15.1

The OctoPrint server is currently not running

If you just started up your Raspberry Pi, please wait a couple of seconds, then try to refresh this page.

If the issue persists, please log into your Raspberry Pi via SSH and check the following:

  • Verify that the process is running: ps -ef | grep -i octoprint | grep -i python should show a python process:

pi@octopi:~ $ ps -ef | grep -i octoprint | grep -i python
pi 1441 1 6 11:12 ? 00:00:15 /home/pi/oprint/bin/python
/home/pi/oprint/bin/octoprint --host=127.0.0.1 --port=5000

  • If it isn't, the question is why. Take a look into ~/.octoprint/logs/octoprint.log , there might be an error logged in there that helps to determine what's wrong.
  • You might also want to try if you can restart the server (if no obvious error is visible): sudo service octoprint restart .

If all that doesn't help to trouble shoot the issue, you can seek support on the OctoPrint Community Forum. Please provide your OctoPi and OctoPrint versions as well as your octoprint.log and explain what you already tried and observed as detailed as possible.


#2

Are you using LAN or WiFi?
Have you restarted the RasPi?

Either the system hung up and/or it lost WiFi connection and/or your router had a restart and a provided a new IP to the RasPi...


#3

--host=127.0.0.1
is only the local adress -> so you can only access the webinterface from the pi.
you have to use the given/set ip or set 0.0.0.0 to listen for requests on all interfaces.


#4

Nope... that's what haproxy is for, it sits in front (which is definitely the case or the OP wouldn't see "The OctoPrint server is currently not running" but just get a connection error - that page comes from haproxy) and reverse proxies to the local OctoPrint server on port 5000 from *:80.

@Zekez please do what the nice page tells you to do (those checks to perform) and report back on what their results are (ideally copy-paste the output from your SSH/putty session). Also share your octoprint.log. Without that noone will be able to help you other than by blind guessing.


#5

ah right i forgot the octopi context.


#6

@danielkrah happens :slight_smile:


#7

I'm very new to all this so hopefully I'm doing what I'm supposed to be doing. I tried doing what the web page asked. When I type in the command line ps -ef | grep -i octoprint | grep -i python nothing happens. When I type in ~/.octoprint/logs/octoprint.log it says Permission denied


#8

Sounds like the OctoPrint process isn't running then.

Ah. That isn't a command, that is a text file you need to view. Try cat ~/.octoprint/logs/octoprint.log - that will produce a ton of output, but hopefully the end of it might have some lines indicating an error.

What happens when you run sudo service octoprint restart?


#9

Thank you for helping, unfortunately I’ve had to go to work. I’ll try the things you have suggested once I’m home. Thanks again for your time, I’m still trying to learn all this stuff


#10

pi@octopi:~ $ cat ~/.octoprint/logs/octoprint.log -
2018-11-07 02:30:11,655 - backoff - INFO - Backing off stream_up(...) for 14.1s (NameError: global name 'Empty' is not defined)
2018-11-07 02:30:11,659 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2018-11-07 02:30:11,659 - octoprint.server - INFO - OctoPrint 1.3.9
2018-11-07 02:30:11,662 - octoprint.plugin.core - INFO - 13 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/octoprint/plugins/announcements
| AstroPrint (1.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_astroprint
| Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
| CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/cura
| Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
| Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
| OctoPi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/octopi_support
| OctoPrint Anywhere (0.9.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_anywhere
| Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
| Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2018-11-07 02:30:11,688 - octoprint.environment - INFO - Detected environment is Python 2.7.13 under Linux (linux2). Details:
| hardware:
| cores: 4
| freq: 1400.0
| ram: 918192128
| os:
| id: linux
| platform: linux2
| plugins:
| octopi_support:
| model: unknown
| revision: a020d3
| version: 0.15.1
| python:
| pip: 9.0.3
| version: 2.7.13
| virtualenv: /home/pi/oprint
2018-11-07 02:30:11,689 - octoprint.server - INFO - ------------------------------------------------------------------------------
2018-11-07 02:30:25,935 - backoff - INFO - Backing off stream_up(...) for 172.6s (NameError: global name 'Empty' is not defined)
2018-11-07 02:33:18,741 - backoff - INFO - Backing off stream_up(...) for 141.1s (NameError: global name 'Empty' is not defined)
2018-11-07 02:33:22,787 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 02:35:40,120 - backoff - INFO - Backing off stream_up(...) for 171.2s (NameError: global name 'Empty' is not defined)
2018-11-07 02:38:31,407 - backoff - INFO - Backing off stream_up(...) for 152.7s (NameError: global name 'Empty' is not defined)
2018-11-07 02:41:04,345 - backoff - INFO - Backing off stream_up(...) for 108.8s (NameError: global name 'Empty' is not defined)
2018-11-07 02:42:53,350 - backoff - INFO - Backing off stream_up(...) for 15.9s (NameError: global name 'Empty' is not defined)
2018-11-07 02:43:09,412 - backoff - INFO - Backing off stream_up(...) for 125.0s (NameError: global name 'Empty' is not defined)
2018-11-07 02:45:14,581 - backoff - INFO - Backing off stream_up(...) for 161.9s (NameError: global name 'Empty' is not defined)
2018-11-07 02:47:56,675 - backoff - INFO - Backing off stream_up(...) for 155.2s (NameError: global name 'Empty' is not defined)
2018-11-07 02:48:22,789 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 02:50:32,119 - backoff - INFO - Backing off stream_up(...) for 37.7s (NameError: global name 'Empty' is not defined)
2018-11-07 02:51:09,978 - backoff - INFO - Backing off stream_up(...) for 56.8s (NameError: global name 'Empty' is not defined)
2018-11-07 02:52:06,988 - backoff - INFO - Backing off stream_up(...) for 75.6s (NameError: global name 'Empty' is not defined)
2018-11-07 02:53:22,789 - backoff - INFO - Backing off stream_up(...) for 30.6s (NameError: global name 'Empty' is not defined)
2018-11-07 02:53:53,599 - backoff - INFO - Backing off stream_up(...) for 159.9s (NameError: global name 'Empty' is not defined)
2018-11-07 02:56:33,690 - backoff - INFO - Backing off stream_up(...) for 133.6s (NameError: global name 'Empty' is not defined)
2018-11-07 02:58:47,537 - backoff - INFO - Backing off stream_up(...) for 124.6s (NameError: global name 'Empty' is not defined)
2018-11-07 03:00:52,389 - backoff - INFO - Backing off stream_up(...) for 142.2s (NameError: global name 'Empty' is not defined)
2018-11-07 03:03:14,836 - backoff - INFO - Backing off stream_up(...) for 97.4s (NameError: global name 'Empty' is not defined)
2018-11-07 03:03:22,793 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 03:04:52,392 - backoff - INFO - Backing off stream_up(...) for 36.1s (NameError: global name 'Empty' is not defined)
2018-11-07 03:05:28,660 - backoff - INFO - Backing off stream_up(...) for 30.2s (NameError: global name 'Empty' is not defined)
2018-11-07 03:05:58,995 - backoff - INFO - Backing off stream_up(...) for 106.7s (NameError: global name 'Empty' is not defined)
2018-11-07 03:07:45,890 - backoff - INFO - Backing off stream_up(...) for 76.9s (NameError: global name 'Empty' is not defined)
2018-11-07 03:09:02,949 - backoff - INFO - Backing off stream_up(...) for 24.8s (NameError: global name 'Empty' is not defined)
2018-11-07 03:09:27,862 - backoff - INFO - Backing off stream_up(...) for 166.8s (NameError: global name 'Empty' is not defined)
2018-11-07 03:12:14,975 - backoff - INFO - Backing off stream_up(...) for 7.6s (NameError: global name 'Empty' is not defined)
2018-11-07 03:12:22,691 - backoff - INFO - Backing off stream_up(...) for 93.5s (NameError: global name 'Empty' is not defined)
2018-11-07 03:13:56,394 - backoff - INFO - Backing off stream_up(...) for 136.5s (NameError: global name 'Empty' is not defined)
2018-11-07 03:16:13,131 - backoff - INFO - Backing off stream_up(...) for 80.7s (NameError: global name 'Empty' is not defined)
2018-11-07 03:17:34,005 - backoff - INFO - Backing off stream_up(...) for 116.1s (NameError: global name 'Empty' is not defined)
2018-11-07 03:18:22,795 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 03:19:30,301 - backoff - INFO - Backing off stream_up(...) for 20.8s (NameError: global name 'Empty' is not defined)
2018-11-07 03:19:51,242 - backoff - INFO - Backing off stream_up(...) for 139.6s (NameError: global name 'Empty' is not defined)
2018-11-07 03:22:10,996 - backoff - INFO - Backing off stream_up(...) for 58.3s (NameError: global name 'Empty' is not defined)
2018-11-07 03:23:09,463 - backoff - INFO - Backing off stream_up(...) for 79.0s (NameError: global name 'Empty' is not defined)
2018-11-07 03:24:28,639 - backoff - INFO - Backing off stream_up(...) for 102.5s (NameError: global name 'Empty' is not defined)
2018-11-07 03:26:11,302 - backoff - INFO - Backing off stream_up(...) for 79.5s (NameError: global name 'Empty' is not defined)
2018-11-07 03:27:30,903 - backoff - INFO - Backing off stream_up(...) for 20.3s (NameError: global name 'Empty' is not defined)
2018-11-07 03:27:51,373 - backoff - INFO - Backing off stream_up(...) for 171.3s (NameError: global name 'Empty' is not defined)
2018-11-07 03:30:42,886 - backoff - INFO - Backing off stream_up(...) for 90.5s (NameError: global name 'Empty' is not defined)
2018-11-07 03:32:13,605 - backoff - INFO - Backing off stream_up(...) for 159.5s (NameError: global name 'Empty' is not defined)
2018-11-07 03:33:22,797 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 03:34:53,319 - backoff - INFO - Backing off stream_up(...) for 83.9s (NameError: global name 'Empty' is not defined)
2018-11-07 03:36:17,405 - backoff - INFO - Backing off stream_up(...) for 178.3s (NameError: global name 'Empty' is not defined)
2018-11-07 03:39:15,935 - backoff - INFO - Backing off stream_up(...) for 79.2s (NameError: global name 'Empty' is not defined)
2018-11-07 03:40:35,327 - backoff - INFO - Backing off stream_up(...) for 66.1s (NameError: global name 'Empty' is not defined)
2018-11-07 03:41:41,556 - backoff - INFO - Backing off stream_up(...) for 31.7s (NameError: global name 'Empty' is not defined)
2018-11-07 03:42:13,369 - backoff - INFO - Backing off stream_up(...) for 68.5s (NameError: global name 'Empty' is not defined)
2018-11-07 03:43:22,115 - backoff - INFO - Backing off stream_up(...) for 37.0s (NameError: global name 'Empty' is not defined)
2018-11-07 03:43:59,296 - backoff - INFO - Backing off stream_up(...) for 89.3s (NameError: global name 'Empty' is not defined)
2018-11-07 03:45:28,772 - backoff - INFO - Backing off stream_up(...) for 72.5s (NameError: global name 'Empty' is not defined)
2018-11-07 03:46:41,430 - backoff - INFO - Backing off stream_up(...) for 35.9s (NameError: global name 'Empty' is not defined)
2018-11-07 03:47:17,488 - backoff - INFO - Backing off stream_up(...) for 25.3s (NameError: global name 'Empty' is not defined)
2018-11-07 03:47:42,917 - backoff - INFO - Backing off stream_up(...) for 40.6s (NameError: global name 'Empty' is not defined)
2018-11-07 03:48:22,799 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 03:48:23,714 - backoff - INFO - Backing off stream_up(...) for 83.9s (NameError: global name 'Empty' is not defined)
2018-11-07 03:49:47,779 - backoff - INFO - Backing off stream_up(...) for 2.9s (NameError: global name 'Empty' is not defined)
2018-11-07 03:49:50,823 - backoff - INFO - Backing off stream_up(...) for 77.2s (NameError: global name 'Empty' is not defined)
2018-11-07 03:51:08,247 - backoff - INFO - Backing off stream_up(...) for 155.1s (NameError: global name 'Empty' is not defined)
2018-11-07 03:53:43,474 - backoff - INFO - Backing off stream_up(...) for 47.2s (NameError: global name 'Empty' is not defined)
2018-11-07 03:54:30,794 - backoff - INFO - Backing off stream_up(...) for 162.2s (NameError: global name 'Empty' is not defined)
2018-11-07 03:57:13,146 - backoff - INFO - Backing off stream_up(...) for 36.6s (NameError: global name 'Empty' is not defined)
2018-11-07 03:57:50,118 - backoff - INFO - Backing off stream_up(...) for 88.6s (NameError: global name 'Empty' is not defined)
2018-11-07 03:59:18,886 - backoff - INFO - Backing off stream_up(...) for 7.3s (NameError: global name 'Empty' is not defined)
2018-11-07 03:59:26,320 - backoff - INFO - Backing off stream_up(...) for 66.1s (NameError: global name 'Empty' is not defined)
2018-11-07 04:00:32,580 - backoff - INFO - Backing off stream_up(...) for 80.3s (NameError: global name 'Empty' is not defined)
2018-11-07 04:01:53,078 - backoff - INFO - Backing off stream_up(...) for 95.8s (NameError: global name 'Empty' is not defined)
2018-11-07 04:03:22,801 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 04:03:28,972 - backoff - INFO - Backing off stream_up(...) for 141.5s (NameError: global name 'Empty' is not defined)
2018-11-07 04:05:50,736 - backoff - INFO - Backing off stream_up(...) for 119.4s (NameError: global name 'Empty' is not defined)
2018-11-07 04:07:50,333 - backoff - INFO - Backing off stream_up(...) for 129.0s (NameError: global name 'Empty' is not defined)
2018-11-07 04:09:59,601 - backoff - INFO - Backing off stream_up(...) for 34.7s (NameError: global name 'Empty' is not defined)
2018-11-07 04:10:34,433 - backoff - INFO - Backing off stream_up(...) for 37.9s (NameError: global name 'Empty' is not defined)
2018-11-07 04:11:12,486 - backoff - INFO - Backing off stream_up(...) for 3.6s (NameError: global name 'Empty' is not defined)
2018-11-07 04:11:16,193 - backoff - INFO - Backing off stream_up(...) for 108.0s (NameError: global name 'Empty' is not defined)
2018-11-07 04:13:04,384 - backoff - INFO - Backing off stream_up(...) for 105.7s (NameError: global name 'Empty' is not defined)
2018-11-07 04:14:50,273 - backoff - INFO - Backing off stream_up(...) for 38.2s (NameError: global name 'Empty' is not defined)
2018-11-07 04:15:28,593 - backoff - INFO - Backing off stream_up(...) for 174.2s (NameError: global name 'Empty' is not defined)
2018-11-07 04:18:22,803 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 04:18:23,031 - backoff - INFO - Backing off stream_up(...) for 93.7s (NameError: global name 'Empty' is not defined)
2018-11-07 04:19:56,970 - backoff - INFO - Backing off stream_up(...) for 105.0s (NameError: global name 'Empty' is not defined)
2018-11-07 04:21:42,218 - backoff - INFO - Backing off stream_up(...) for 129.7s (NameError: global name 'Empty' is not defined)
2018-11-07 04:23:52,184 - backoff - INFO - Backing off stream_up(...) for 47.2s (NameError: global name 'Empty' is not defined)
2018-11-07 04:24:39,714 - backoff - INFO - Backing off stream_up(...) for 32.4s (NameError: global name 'Empty' is not defined)
2018-11-07 04:25:12,244 - backoff - INFO - Backing off stream_up(...) for 155.3s (NameError: global name 'Empty' is not defined)
2018-11-07 04:27:47,770 - backoff - INFO - Backing off stream_up(...) for 42.3s (NameError: global name 'Empty' is not defined)
2018-11-07 04:28:30,205 - backoff - INFO - Backing off stream_up(...) for 49.4s (NameError: global name 'Empty' is not defined)
2018-11-07 04:29:19,821 - backoff - INFO - Backing off stream_up(...) for 179.9s (NameError: global name 'Empty' is not defined)
2018-11-07 04:32:19,938 - backoff - INFO - Backing off stream_up(...) for 3.0s (NameError: global name 'Empty' is not defined)
2018-11-07 04:32:23,103 - backoff - INFO - Backing off stream_up(...) for 3.0s (NameError: global name 'Empty' is not defined)
2018-11-07 04:32:26,198 - backoff - INFO - Backing off stream_up(...) for 152.4s (NameError: global name 'Empty' is not defined)
2018-11-07 04:33:22,805 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 04:34:58,871 - backoff - INFO - Backing off stream_up(...) for 103.8s (NameError: global name 'Empty' is not defined)
2018-11-07 04:36:42,839 - backoff - INFO - Backing off stream_up(...) for 79.4s (NameError: global name 'Empty' is not defined)
2018-11-07 04:38:02,441 - backoff - INFO - Backing off stream_up(...) for 107.1s (NameError: global name 'Empty' is not defined)
2018-11-07 04:39:49,660 - backoff - INFO - Backing off stream_up(...) for 87.3s (NameError: global name 'Empty' is not defined)
2018-11-07 04:41:17,179 - backoff - INFO - Backing off stream_up(...) for 45.5s (NameError: global name 'Empty' is not defined)
2018-11-07 04:42:02,853 - backoff - INFO - Backing off stream_up(...) for 175.8s (NameError: global name 'Empty' is not defined)
2018-11-07 04:44:58,770 - backoff - INFO - Backing off stream_up(...) for 116.5s (NameError: global name 'Empty' is not defined)
2018-11-07 04:46:55,754 - backoff - INFO - Backing off stream_up(...) for 3.5s (NameError: global name 'Empty' is not defined)
2018-11-07 04:46:59,338 - backoff - INFO - Backing off stream_up(...) for 109.9s (NameError: global name 'Empty' is not defined)
2018-11-07 04:48:22,807 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 04:48:49,456 - backoff - INFO - Backing off stream_up(...) for 158.2s (NameError: global name 'Empty' is not defined)
2018-11-07 04:51:27,824 - backoff - INFO - Backing off stream_up(...) for 98.2s (NameError: global name 'Empty' is not defined)
2018-11-07 04:53:06,125 - backoff - INFO - Backing off stream_up(...) for 65.2s (NameError: global name 'Empty' is not defined)
2018-11-07 04:54:11,512 - backoff - INFO - Backing off stream_up(...) for 99.1s (NameError: global name 'Empty' is not defined)
2018-11-07 04:55:50,779 - backoff - INFO - Backing off stream_up(...) for 100.4s (NameError: global name 'Empty' is not defined)
2018-11-07 04:57:31,361 - backoff - INFO - Backing off stream_up(...) for 138.1s (NameError: global name 'Empty' is not defined)
2018-11-07 04:59:49,705 - backoff - INFO - Backing off stream_up(...) for 149.3s (NameError: global name 'Empty' is not defined)
2018-11-07 05:02:19,204 - backoff - INFO - Backing off stream_up(...) for 111.3s (NameError: global name 'Empty' is not defined)
2018-11-07 05:03:22,809 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 05:04:10,662 - backoff - INFO - Backing off stream_up(...) for 47.4s (NameError: global name 'Empty' is not defined)
2018-11-07 05:04:58,268 - backoff - INFO - Backing off stream_up(...) for 76.5s (NameError: global name 'Empty' is not defined)
2018-11-07 05:06:14,941 - backoff - INFO - Backing off stream_up(...) for 68.1s (NameError: global name 'Empty' is not defined)
2018-11-07 05:07:23,242 - backoff - INFO - Backing off stream_up(...) for 127.3s (NameError: global name 'Empty' is not defined)
2018-11-07 05:09:30,746 - backoff - INFO - Backing off stream_up(...) for 131.1s (NameError: global name 'Empty' is not defined)
2018-11-07 05:11:42,115 - backoff - INFO - Backing off stream_up(...) for 134.5s (NameError: global name 'Empty' is not defined)
2018-11-07 05:13:56,878 - backoff - INFO - Backing off stream_up(...) for 86.8s (NameError: global name 'Empty' is not defined)
2018-11-07 05:15:23,930 - backoff - INFO - Backing off stream_up(...) for 49.3s (NameError: global name 'Empty' is not defined)
2018-11-07 05:16:13,430 - backoff - INFO - Backing off stream_up(...) for 123.8s (NameError: global name 'Empty' is not defined)
2018-11-07 05:18:17,447 - backoff - INFO - Backing off stream_up(...) for 108.6s (NameError: global name 'Empty' is not defined)
2018-11-07 05:18:22,812 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-07 05:20:06,153 - backoff - INFO - Backing off stream_up(...) for 62.1s (NameError: global name 'Empty' is not defined)
2018-11-07 05:21:08,425 - backoff - INFO - Backing off stream_up(...) for 148.0s (NameError: global name 'Empty' is not defined)
2018-11-07 05:23:36,624 - backoff - INFO - Backing off stream_up(...) for 52.9s (NameError: global name 'Empty' is not defined)
2018-11-07 05:24:29,709 - backoff - INFO - Backing off stream_up(...) for 122.4s (NameError: global name 'Empty' is not defined)
2018-11-07 05:26:32,310 - backoff - INFO - Backing off stream_up(...) for 27.9s (NameError: global name 'Empty' is not defined)
2018-11-07 05:27:00,308 - backoff - INFO - Backing off stream_up(...) for 38.0s (NameError: global name 'Empty' is not defined)
2018-11-07 05:27:38,479 - backoff - INFO - Backing off stream_up(...) for 79.0s (NameError: global name 'Empty' is not defined)
2018-11-07 05:28:57,668 - backoff - INFO - Backing off stream_up(...) for 44.1s (NameError: global name 'Empty' is not defined)


#11

when i type sudo service octoprint restart

pi@octopi:~ $ service octoprint restart
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart 'octoprint.service'.
Authenticating as: root
Password:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Failed to restart octoprint.service: Access denied
See system logs and 'systemctl status octoprint.service' for details.


#12

You didn't type sudo service octoprint restart, you just typed service octoprint restart :wink:

@Kenneth_Jiang I'm seeing some anywhere logs in there - possibly your crashing issue?


#13

my apologies lmao. ok this time when I typed it properly, nothing happened. it didnt bring up any info. and i still get the same window when trying to bring up octoprint


#14

The error messages were caused by a harmless bug in version 0.9.0. It is fixed in version 0.9.1


#15

@Kenneth_Jiang ah, ok then :slight_smile: Just thought I'd ping you.

@Zekez Ok, what happens when you run this when SSHd in:

~/oprint/bin/octoprint serve --host 127.0.0.1

#16

I will check once I get home. I appreciate the continued support! Thanks


#17
pi@octopi:~ $ ~/oprint/bin/octoprint serve --host 127.0.0.1
Traceback (most recent call last):
  File "/home/pi/oprint/bin/octoprint", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3019, in <module>
    @_call_aside
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
    f(*args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 655, in _build_master
    ws.require(__requires__)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 963, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 857, in resolve
    new_requirements = dist.requires(req.extras)[::-1]
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2551, in requires
    dm = self._dep_map
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2798, in _dep_map
    self.__dep_map = self._compute_dependencies()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2807, in _compute_dependencies
    for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2789, in _parsed_pkg_info
    metadata = self.get_metadata(self.PKG_INFO)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1463, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1572, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 2] No such file or directory: '/home/pi/oprint/lib/python2.7/site-packages/emoji-0.4.5.dist-info/METADATA'

#18

@foosel Hopefully the info im posting will help you, help me!


#19

That looks like some bits of the software are now missing for some reason that should be there. Pulled the plug without shutting down the server properly through the menu first? Did anything else between it working and it not working? Using a good brand SD card?


#20

I have a cord that has a button on it, I was told I could use that without having to shut the server down. Nothing I can recall. Scandisk