Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible)
OctoPrint version : 1.3.12
OctoPi version : 0.16.0
Rpi3
What you're seeing (too bad we don't have a screenshot) is likely what you see when the CSS stylesheet wasn't loaded by your browser
When OctoPrint starts up, it combines all the style and the JavaScript and things like that so that they're optimal, you can see this in the log (which I've filtered a bit):
2020-03-11 19:55:27,118 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2020-03-11 19:55:28,958 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2020-03-11 19:55:28,968 - octoprint.plugins.pluginmanager - INFO - Looks like we are offline
2020-03-11 19:55:30,557 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
# Holy crap, you've got a Robo R1 Plus (noting that I contracted for them)
2020-03-11 19:57:01,752 - octoprint.server.util.flask - INFO - Passively logging in user jason
So... I'm not seeing much when I search for webasset in your log. I think I expect to see 1) startup, 2) reset webasset, 3) webasset generated, 4) you log in, etc in that order.
You could always ls ~/.octoprint/generated/webassets to see if there is at least one .css file there. If so, then refreshing your browser at this point might bring up a recognizable interface.
But please, go into Safe Mode for this testing. You have lots of 3rd-party plugins and there's at least an 80%/20% chance that one of those is preventing the assets from being generated.
I did try safe mode and got the same result. That was the thought and I would have started to remove the plug-ins. Which, by the way, is there a command line to remove plugins?
Here is the screenshot that I should have included.
When I ran the ls, here are the files in that directory:
-rw-r--r-- 1 pi pi 69011 Mar 12 12:03 packed_client.js
-rw-r--r-- 1 pi pi 97289 Mar 12 12:03 packed_core.css
-rw-r--r-- 1 pi pi 670021 Mar 12 12:03 packed_core.js
-rw-r--r-- 1 pi pi 169065 Mar 12 12:03 packed_libs.css
-rw-r--r-- 1 pi pi 1193183 Mar 12 12:03 packed_libs.js
-rw-r--r-- 1 pi pi 3231 Mar 12 12:03 packed_plugins.css
-rw-r--r-- 1 pi pi 2562899 Mar 12 12:03 packed_plugins.js
The only suggestion I have right now is to disable webasset bundling because clearly something went and continues to do terribly wrong there.
This should work via SSH:
~/oprint/bin/octoprint config set --bool devel.webassets.bundle false
sudo service octoprint restart
and might solve it or at least allow further analysis.
Note that I have no idea why this is happening, I've never seen this before. Just to be sure check that your SD isn't filled to the brim and also not starting to fail.
Something about your install seems to be completely and utterly broken if you are getting python code in your browser. File corruption? In the habit of just pulling power without shutting down things properly first?
I suggest you make a backup from command line
~/oprint/bin/octoprint plugins backup:backup
Copy the backup from the card (it's at ~/.OctoPrint/data/backups), flash a fresh copy of the image, update and restore the backup.
I believe that the rpi3 did get unpluged and replugged in down the office move. That may be the culprit.
I tried the backup, however, it did not create a backup in the directory that you indicated. Do not have the .OctoPrint. Do have an OctoPrint and there isn't a backup in there. The system did reply with a done after indicating the name of the back up.
I will also try to get the system up and see if I can do a backup from the web gui.
I've ben having the web interface break every single time I log into the raspi and do 'sudo apt full-upgrade -y' and then I have to do the 'source ~/oprint/bin/activate
pip install --force-reinstall OctoPrint' again.
I use mine for more than octoprint, but I don't understand how updating it keeps breaking octoprint.
It only started happening after the latest update to octoprint, before then this never was an issue.