Octoprint not running

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.

Run sudo service octoprint restart, wait 2 mins, then run sudo service octoprint status, paste the output here and also upload the full log file if you can.

k, i'll try restarting and checking status, is there a way to download octoprint.log through putty or something?

● octoprint.service - LSB: OctoPrint daemon
   Loaded: loaded (/etc/init.d/octoprint; generated)
   Active: active (exited) since Mon 2020-11-30 10:06:09 GMT; 1min 22s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1557 ExecStart=/etc/init.d/octoprint start (code=exited, status=0/SUC

Nov 30 10:06:09 octopi systemd[1]: Starting LSB: OctoPrint daemon...
Nov 30 10:06:09 octopi octoprint[1557]: Starting OctoPrint Daemon: OctoPrint.
Nov 30 10:06:09 octopi systemd[1]: Started LSB: OctoPrint daemon.
lines 1-9/9 (END)
● octoprint.service - LSB: OctoPrint daemon
   Loaded: loaded (/etc/init.d/octoprint; generated)
   Active: active (exited) since Mon 2020-11-30 10:06:09 GMT; 1min 22s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1557 ExecStart=/etc/init.d/octoprint start (code=exited, status=0/SUCCESS)

Nov 30 10:06:09 octopi systemd[1]: Starting LSB: OctoPrint daemon...
Nov 30 10:06:09 octopi octoprint[1557]: Starting OctoPrint Daemon: OctoPrint.
Nov 30 10:06:09 octopi systemd[1]: Started LSB: OctoPrint daemon.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
 ESCOD
● octoprint.service - LSB: OctoPrint daemon
   Loaded: loaded (/etc/init.d/octoprint; generated)
   Active: active (exited) since Mon 2020-11-30 10:06:09 GMT; 1min 22s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1557 ExecStart=/etc/init.d/octoprint start (code=exited, status=0/SUCCESS)

Nov 30 10:06:09 octopi systemd[1]: Starting LSB: OctoPrint daemon...
Nov 30 10:06:09 octopi octoprint[1557]: Starting OctoPrint Daemon: OctoPrint.
Nov 30 10:06:09 octopi systemd[1]: Started LSB: OctoPrint daemon.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
 ESCOC


 GMT; 1min 22s ago

ode=exited, status=0/SUCCESS)

nt daemon...
nt Daemon: OctoPrint.
t daemon.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
 ESCOD
● octoprint.service - LSB: OctoPrint daemon
   Loaded: loaded (/etc/init.d/octoprint; generated)
   Active: active (exited) since Mon 2020-11-30 10:06:09 GMT; 1min 22s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1557 ExecStart=/etc/init.d/octoprint start (code=exited, status=0/SUCCESS)

Nov 30 10:06:09 octopi systemd[1]: Starting LSB: OctoPrint daemon...
Nov 30 10:06:09 octopi octoprint[1557]: Starting OctoPrint Daemon: OctoPrint.
Nov 30 10:06:09 octopi systemd[1]: Started LSB: OctoPrint daemon.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
 ESCOD
● octoprint.service - LSB: OctoPrint daemon
   Loaded: loaded (/etc/init.d/octoprint; generated)
   Active: active (exited) since Mon 2020-11-30 10:06:09 GMT; 1min 22s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1557 ExecStart=/etc/init.d/octoprint start (code=exited, status=0/SUCCESS)

Nov 30 10:06:09 octopi systemd[1]: Starting LSB: OctoPrint daemon...
Nov 30 10:06:09 octopi octoprint[1557]: Starting OctoPrint Daemon: OctoPrint.
Nov 30 10:06:09 octopi systemd[1]: Started LSB: OctoPrint daemon.
~
~
~
~
~
~
~
~
~
~
~
~
~
~

thats what i got out of sudo service octoprint status

Never mind, i just decided to reinstall octopi because i've only had octopi for 1 week and theres nothing much installed on it, thx 4 the help anyway