Hi, i tried connect to the octoprint server but the site said 'Octoprint is currently not running'
I tried verifying that the process is running but nothing came up, i looked at the log but i couldn't understand what was up and i tried sudo service octoprint restart but no change.
Before i started the pi i tried to add a command to the server (like where the shutdown and restart options are), but I'm guessing i messed up somewhere, i then tried removing the line but still no change. Now im here, here are the last few lines of the octoprint.log that i accessed through putty:
WebSocketClosedError
2020-11-30 04:46:05,820 - octoprint.plugins.enclosure - INFO - Setting GPIO mode to BCM
2020-11-30 04:46:05,822 - octoprint.plugins.enclosure - INFO - Setting GPIO pin 0 as OUTPUT with initial value: 1
2020-11-30 04:46:05,825 - octoprint.plugins.enclosure - INFO - Adding GPIO event detect on pin 0 with edge: 32
2020-11-30 04:54:25,932 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-11-30 04:56:07,458 - octoprint.server.util.flask - INFO - Passively logging in user Thomas from ::ffff:192.168.0.3
2020-11-30 04:56:07,462 - octoprint.access.users - INFO - Logged in user: Thomas
2020-11-30 04:56:08,145 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.0.3
2020-11-30 04:56:08,188 - octoprint.server.util.flask - INFO - Passively logging in user Thomas from ::ffff:192.168.0.3
2020-11-30 04:56:08,189 - octoprint.access.users - INFO - Logged in user: Thomas
2020-11-30 04:56:10,704 - octoprint.server.util.sockjs - INFO - User Thomas logged in on the socket from client ::ffff:192.168.0.3
2020-11-30 04:56:10,786 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.0.3
2020-11-30 04:56:10,789 - tornado.application - ERROR - Future exception was never retrieved: Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/gen.py", line 1141, in run
yielded = self.gen.throw(*exc_info)
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/websocket.py", line 876, in wrapper
raise WebSocketClosedError()
WebSocketClosedError
2020-11-30 05:09:25,936 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-11-30 05:24:25,938 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-11-30 05:29:42,796 - octoprint.server.api.system - INFO - Performing command for core:restart: sudo service octoprint restart
2020-11-30 05:29:42,995 - octoprint.server - INFO - Shutting down...
2020-11-30 05:29:43,273 - octoprint.server - INFO - Calling on_shutdown on plugins
2020-11-30 05:29:43,274 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2020-11-30 05:29:43,278 - octoprint.events - INFO - Event loop shut down
2020-11-30 05:29:43,291 - octoprint.server - INFO - Goodbye!
im guessing that the last part is me restarting the server.