Octoprint - Can't connect anymore

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

Told you I sucked at Linux.

Found a command online to search for octoprint.log. I guess I do have a .octoprint folder, it was just hidden? Anyways. Got into that folder and the logs subfolder and the octoprint.log is zero bytes in size.

root@octopi:/home/pi/.octoprint/logs# ls -lh
total 348K
-rw-r--r-- 1 pi pi 0 Feb 8 14:45 octoprint.log
-rw-r--r-- 1 pi pi 0 Feb 3 11:04 octoprint.log.2025-02-02
-rw-r--r-- 1 pi pi 0 Feb 4 11:04 octoprint.log.2025-02-03
-rw-r--r-- 1 pi pi 0 Feb 5 11:04 octoprint.log.2025-02-04
-rw-r--r-- 1 pi pi 0 Feb 6 11:04 octoprint.log.2025-02-05
-rw-r--r-- 1 pi pi 0 Feb 7 11:04 octoprint.log.2025-02-06
-rw-r--r-- 1 pi pi 0 Feb 8 11:04 octoprint.log.2025-02-07
-rw-r--r-- 1 pi pi 0 Mar 13 2018 plugin_cura_engine.log
-rw-r--r-- 1 pi pi 0 Oct 3 2019 plugin_DisplayLayerProgress_events.log
-rw-r--r-- 1 pi pi 72 Sep 6 20:14 plugin_octolapse.log
-rw-r--r-- 1 pi pi 254 Mar 31 2024 plugin_octolapse.log.2024-03-31
-rw-r--r-- 1 pi pi 635 Apr 12 2024 plugin_octolapse.log.2024-04-12
-rw-r--r-- 1 pi pi 55 Aug 27 11:17 plugin_octolapse.log.2024-08-27
-rw-r--r-- 1 pi pi 12K Jun 5 2020 plugin_pluginmanager_console.log
-rw-r--r-- 1 pi pi 23K Nov 12 2019 plugin_pluginmanager_console.log.2019-11-12
-rw-r--r-- 1 pi pi 12K Nov 14 2019 plugin_pluginmanager_console.log.2019-11-14
-rw-r--r-- 1 pi pi 12K Apr 21 2020 plugin_pluginmanager_console.log.2020-04-21
-rw-r--r-- 1 pi pi 8.1K Apr 7 2018 plugin_printhistory_console.log
-rw-r--r-- 1 pi pi 235K Oct 24 2019 plugin_softwareupdate_console.log
-rw-r--r-- 1 pi pi 2.5K Oct 18 20:47 serial.log
-rw-r--r-- 1 pi pi 148 Apr 12 2024 serial.log.2024-04-12_13-21-28
-rw-r--r-- 1 pi pi 148 Apr 12 2024 serial.log.2024-04-12_13-30-10
-rw-r--r-- 1 pi pi 6.1K Jul 27 2024 serial.log.2024-07-27_14-45-53
root@octopi:/home/pi/.octoprint/logs#

Ever clicked one of the blue words here?

1 Like

Nope, new to this forum. Trying it now.

Since my log file is zero bytes, it's empty. Can't really include it here.

I did look in the syslog.log file and there's a lot of entries for OctoPi and the webcam I've got hooked up but I didn't see anything in there as to why OctoPrint isn't starting.

Here are the logs I could upload. Octoprint is zero, so the forums wouldn't allow it. Couldn't upload syslog as there's no extension to it.
plugin_pluginmanager_console.log (11.6 KB)
plugin_softwareupdate_console.log (234.7 KB)
serial.log (2.5 KB)
webcamd.log (411.9 KB)

Couldn't run Systeminfo... here's the error:

root@octopi:/home/pi# ~/oprint/bin/octoprint systeminfo .
bash: /root/oprint/bin/octoprint: No such file or directory
root@octopi:/home/pi#

I would place my bet on a corrupted install. SD Card failure. If you really just want it running again.. I would pull the card, maybe try to reformat it and see if it gives you some confirmation that you are on track and then use a new card and image it and get things going again.