What is the problem?
Using Octoprint 1.3.12 for an Hictop 3DP-11 printer using a RAMPS reprap 1.4 board with Marlin. Coming back to check on a print, it had stopped. It wouldn't extrude using Octoprint, figured the extruder driver on the board was bad. After months of leaving the printer alone, I decided to get back to see if I could figure out what was wrong with the printer.
Found out the extruder was working by using the built-in display/controller on the printer and telling it to move the extruder motor.
Connected to Octoprint web interface and saw "Mintemp triggered, extruder switched off" error there. Don't remember seeing it back months ago when it stopped printing. As normal, I told Octoprint to connect to the printer (normally I turn off the printer at the end of every print or when I'm not using it) but it wouldn't even attempt to connect to it. It's like I never clicked the button.
After googling the mintemp error, and couldn't find a way in Octoprint to clear the message I figured I'd restart the server. That's where everything went wrong. Normally when I restart the server, it'll take a minute or two but then I can tell Edge or Chrome to reconnect to the web interface and it would. Now I'm getting the "The OctoPrint server is currently not running" error even after 20min. Using SSH, I did ps -ef | grep -i octoprint and got:
root 2643 2232 0 16:12 pts/0 00:00:00 grep -i octoprint
Not sure if it's running based on that... assume no since the time is all zeros. Tried using ps -ef | grep -i octoprint | grep -i python command but that comes back with nothing, just back to the command line. Tried running "sudo octoprint serve" per a google hit on how to start octoprint using ssh, but getting a "sudo: octoprint: command not found" error. I'm in the oprint/bin folder when running it.
I found forum hits about looking for the log but I don't have a logs folder in my OctoPrint directory. Found hits about a .octoprint directory, but I don't have a period in front of mine.
root@octopi:/home/pi/OctoPrint# ls -lh
total 452K
-rw-r--r-- 1 pi pi 4.4K Apr 7 2018 AUTHORS.md
-rw-r--r-- 1 pi pi 333 Apr 18 2016 babel.cfg
drwxr-xr-x 4 pi pi 4.0K Apr 7 2018 build
-rw-r--r-- 1 pi pi 155K Apr 7 2018 CHANGELOG.md
-rw-r--r-- 1 pi pi 24K Apr 7 2018 CONTRIBUTING.md
drwxr-xr-x 2 pi pi 4.0K Apr 7 2018 dist
drwxr-xr-x 14 pi pi 4.0K Apr 7 2018 docs
-rw-r--r-- 1 pi pi 34K Apr 18 2016 LICENSE
-rw-r--r-- 1 pi pi 343 Apr 7 2018 MANIFEST.in
-rw-r--r-- 1 pi pi 6.6K Apr 7 2018 README.md
-rw-r--r-- 1 pi pi 317 Apr 7 2018 requirements.txt
-rwxr-xr-x 1 pi pi 579 Apr 7 2018 run
drwxr-xr-x 2 pi pi 4.0K Apr 7 2018 scripts
-rw-r--r-- 1 pi pi 236 Apr 7 2018 setup.cfg
-rw-r--r-- 1 pi pi 6.4K Apr 7 2018 setup.py
drwxr-xr-x 6 pi pi 4.0K Apr 7 2018 src
-rw-r--r-- 1 pi pi 1.3K Apr 7 2018 SUPPORTERS.md
drwxr-xr-x 14 pi pi 4.0K Apr 7 2018 tests
-rw-r--r-- 1 pi pi 4.5K Apr 7 2018 THIRDPARTYLICENSES.md
drwxr-xr-x 3 pi pi 4.0K Apr 7 2018 translations
-rw-r--r-- 1 pi pi 79K Apr 7 2018 versioneer.py
-rw-r--r-- 1 pi pi 70K Apr 7 2018 versioneer.pyc
Tried upgrading Octoprint from the command line but it told me Python is too old. Probably cause it's 2 I'm guessing. Tried updating Python to 3 but I get error:
pi@octopi:~/oprint $ curl -L https://get.octoprint.org/py3/upgrade.py --output upgrade.py python3 upgrade.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 138 100 138 0 0 157 0 --:--:-- --:--:-- --:--:-- 157
curl: (23) Failed writing body (1354 != 1371)
curl: (6) Could not resolve host: python3
curl: (6) Could not resolve host: upgrade.py
Looked at my resolv.conf and my DNS servers for my ISP are in there including 8.8.8.8 and one for 8.8.4.4 (I think that's what it was)
I'm very new to Linux, so any help would be appreciated.
What did you already try to solve it?
See above
Have you tried running in safe mode?
Attempted Yes, but can't get it to start in safe mode from SSH. error: command not found
Did running in safe mode solve the problem?
NO
Systeminfo Bundle
Unable to get systeminfo. command not found
Additional information about your setup
OctoPrint version: 1.3.12
OctoPi version: no clue
Printer: Hictop
Model: 3DP-11
Firmware: Marlin
Browser: Edge and Chrome
Raspberry PI 3
Operating system: Raspberry PI