What is the problem?
OctoPrint is stuck on the "The OctoPrint server is currently not running" screen;
I noticed it says it's running via. Python2, and I don't know if this is an issue. Got the following when typing the
ps -ef (...) command from the error screen;
This happened after the Pi had executed the following lines via SSH;
sudo apt -y update sudo apt install -y python3-pip python3-dbus yes | sudo pip3 install pyyaml requests python-crontab dbus-python
By bet is that one of these lines - probably the Python install one, resulted in this happening, but I am not 100% sure sadly...
On newer Raspberry Pi's (newly flashed ones, within at least a year), this issue has not occurred once, and exactly the same lines as above ^ are being executed every day, without issues.
What did you already try to solve it?
I tried serving OctoPrint myself via. SSH, and it gave me the following error, which has the full error trace;
octoprint_log.log (5.5 KB)
My guess is that the issue is Python2/3 related.
Have you tried running in safe mode?
No, after the error above I did not think trying safe mode would make a difference.
There were nothing in the logs, as OctoPrint never made it to log anything after the issues started happening. Nothing in the old logs either.
- OctoPrint version: 1.5.1
- Problem occurred on a Pi 2 this time, but has happened on a Pi 3B before as well (without me having the log to be 100% certain, but the issue with the other user seemed identical; after updating OctoPrint won't start)
- I have not been able to re-create this problem myself, as both times I have encountered it, it's been a user seeking our help. This time I went into TeamViewer and everything in this post is from what I have gathered there.
- It doesn't necessarily seem to be a Pi 2-related issue, as the error doesn't indicate that it simply doesn't have enough power. It didn't run or or anything.
Hope the error above ^ makes sense to someone in here! Thanks, and sorry for the long read.