Octoprint broken without warning

What is the problem?

octoprint not running, web interface not running, broken

What did you already try to solve it?

version 1.4, 0.17.0
tried running
sudo service octoprint restart
tried looking at the logs, nothing since june 30th, no new entries when I try and restart.

tried starting in safemode and I get these errors

pi@octopi:~ $ oprint/bin/octoprint serve --safe
Traceback (most recent call last):
File "oprint/bin/octoprint", line 8, in
sys.exit(main())
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/init.py", line 614, in main
from octoprint.cli import octo
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/cli/init.py", line 141, in
from .user import user_commands
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/cli/user.py", line 13, in
from octoprint.access.groups import FilebasedGroupManager
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/access/groups.py", line 20, in
from octoprint.access.permissions import Permissions, OctoPrintPermission
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/access/permissions.py", line 9, in
from flask import g, abort
File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/init.py", line 17, in
from werkzeug.exceptions import abort

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

2020-06-30 16:32:41,721 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 2576730}
2020-06-30 16:47:18,451 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-06-30 16:47:41,735 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 2577630}

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

web page just gives me the default error page telling me to restart....

Hello @Roland_Clarke

One question ahead: do you frequently power off your Pi and how?

Hi. Thanks for the reply.
I almost never power off the pi, and have it on a UPS.

I think that there might have been a power outage a few days ago while I was at work that outlasted the UPS, however, as I came home and my laptop had died.

What would this do?

It corrupts the file system on the Pi's sd card.