M3ID OctoPrint

Ask the MakerGear community for assistance...
Post Reply
jslick_007
Posts: 13
Joined: Wed Oct 18, 2017 9:24 pm

M3ID OctoPrint

Post by jslick_007 » Wed Mar 21, 2018 5:43 am

I just updated my M3ID's OctoPrint to 1.3.6RC2 and MakerGearSetup because the update told me to and now octoprint doesn't load correctly. I don't get the normal "startup chime" for Octoprint either, but the "diagnostic message" gives the following:

"The OctoPrint server is currently not running
If you just started up your Raspberry Pi, please wait a couple of seconds, then try to refresh this page.

If the issue persists, please log into your Raspberry Pi via SSH and check the following:

Verify that the process is running: ps -ef | grep -i octoprint should show a python process.
If it isn't, the question is why. Take a look into ~/.octoprint/logs/octoprint.log, there might be an error logged in there that helps to determine what's wrong.
You might also want to try if you can restart the server (if no obvious error is visible): sudo service octoprint restart.
If all that doesn't help to trouble shoot the issue, you can seek support on the OctoPrint Mailinglist or in the OctoPrint G+ Community."

Running the commands referenced above shows:

login as: pi
pi@taz.local's password:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

pi@taz:~ $ ps -ef | grep -i octoprint
root 793 1 0 04:31 ? 00:00:00 sudo python /home/pi/.octoprint/scripts/resetWatch.py
root 827 793 19 04:31 ? 00:00:20 python /home/pi/.octoprint/scripts/resetWatch.py
pi 1547 1499 0 04:32 pts/0 00:00:00 grep --color=auto -i octoprint
pi@taz:~ $ sudo pico ~/.octoprint/logs/octoprint.log
pi@taz:~ $ sudo service octoprint restart

Viewing the log file, there's a bunch of entries showing that it appears the the mgsetup plugin failed or something.

pi@taz:~ $ sudo pico ~/.octoprint/logs/octoprint.log
GNU nano 2.2.6 File: /home/pi/.octoprint/logs/octoprint.log

| virtualenv: /home/pi/oprint
2018-03-19 19:00:54,100 - octoprint.server - INFO - ---------------------------$
2018-03-19 19:00:54,046 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:54,101 - octoprint.plugins.mgsetup - INFO - {'reason': None, '$
2018-03-19 19:00:54,107 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:54,112 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:54,140 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:54,141 - octoprint.plugins.mgsetup - INFO - {'reason': None, '$
2018-03-19 19:00:55,560 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:55,561 - octoprint.plugins.mgsetup - INFO - {'reason': None, '$
2018-03-19 19:00:55,573 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:55,591 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:55,631 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:55,635 - octoprint.plugins.mgsetup - INFO - {'reason': None, '$
2018-03-19 19:00:56,728 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:56,730 - octoprint.plugins.mgsetup - INFO - {'reason': None, '$
2018-03-19 19:00:56,745 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:56,767 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
2018-03-19 19:00:56,796 - octoprint.plugins.mgsetup - INFO - MGSetup on_event t$
[ Read 76396 lines ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell

Is there a way to reinstall octoprint and/or mgsetup from the command line?

jslick_007
Posts: 13
Joined: Wed Oct 18, 2017 9:24 pm

Re: M3ID OctoPrint

Post by jslick_007 » Wed Mar 21, 2018 4:42 pm

I was able to get octoprint to start by issuing:

octoprint serve

from the command line, but it won't start automatically at startup.

Post Reply