Octoprint daemon and manualy wont start [solved]


#1

hi,

last print i shutdown my raspberry pi with the autoshutdown plugin.

| Send: N13197 G0 X61.009 Y125.744*26
| Recv: ok
| Send: N13198 G0 X60.943 Y125.818*21
| Recv: ok
| Send: N13199 M204 S3000*86
| Recv: ok
| Send: N13200 M205 X20 Y20*37
| Recv: ok
| Send: N13201 G1 F1800 X60.739 Y125.596 E1036.00507*13
| Recv: Setting Print and Travel Acceleration: 3000.00
| Recv: ok
| Recv: ok
| Send: N13202 G1 X60.637 Y125.405 E1036.01191*111
| Send: N13203 G1 X60.6 Y125.196 E1036.01861*99
| Recv: ok
| Send: N13204 G1 X60.6 Y106.799 E1036.59991*111
| Recv: ok
| Send: N13205 G1 X108.201 Y106.799 E1038.10396*90
| Recv: Error:checksum mismatch, Last Line: 13202
| Recv: Resend: 13203
2018-11-01 18:22:18,762 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-01 18:37:18,764 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-01 18:52:18,768 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2018-11-01 18:56:02,717 - octoprint.util.comm - INFO - Finished in 3686.766 s.
2018-11-01 18:56:02,719 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Finishing"
2018-11-01 18:56:02,745 - octoprint.plugins.detailedprogress - INFO - Printing stopped. Detailed progress stopped.
2018-11-01 18:56:02,835 - octoprint.util.comm - INFO - Changing monitoring state from "Finishing" to "Operational"
2018-11-01 18:56:07,762 - octoprint.plugins.automaticshutdown - INFO - Waiting for 1 timelapse(s) to finish rendering before starting shutdown timer...
2018-11-01 18:56:12,785 - octoprint.plugins.automaticshutdown - INFO - Starting abort shutdown timer.
2018-11-01 18:56:42,802 - octoprint.plugins.automaticshutdown - INFO - Shutting down system with command: sudo shutdown -h now
2018-11-01 18:56:43,232 - octoprint.server - INFO - Shutting down...
2018-11-01 18:56:43,882 - octoprint.plugins.HeaterTimeout - INFO - Shutting down...
2018-11-01 18:56:43,885 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2018-11-01 18:56:43,902 - octoprint.events - INFO - Event loop shut down
2018-11-01 18:56:45,042 - octoprint.server - INFO - Goodbye!

if i want to start by hand this happend

pi@octopi:~/oprint/local/lib/python2.7/site-packages $ octoprint serve
Traceback (most recent call last):
  File "/home/pi/oprint/bin/octoprint", line 9, in <module>
    load_entry_point('OctoPrint==1.3.9', 'console_scripts', 'octoprint')()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/__init__.py", line 598, in main
    from octoprint.cli import octo
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/cli/__init__.py", line 137, in <module>
    from .client import client_commands
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/cli/client.py", line 10, in <module>
    import octoprint_client
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_client/__init__.py", line 8, in <module>
    import requests
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests-2.18.4-py2.7.egg/requests/__init__.py", line 97, in <module>
    from . import utils
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests-2.18.4-py2.7.egg/requests/utils.py", line 24, in <module>
    from . import certs
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests-2.18.4-py2.7.egg/requests/certs.py", line 15, in <module>
    from certifi import where
ImportError: No module named certifi

and the installed plugins

pi@octopi:~/oprint/bin $ cat ~/.octoprint/logs/octoprint.log |grep "|" | grep "= /home/pi/" | sort | uniq | sed 's|\|||g' |grep -v "bundled"
  Action Commands (0.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_actioncommands
  Automatic Shutdown (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_automaticshutdown
  Detailed Progress Plugin (0.1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_detailedprogress
  EEPROM Marlin Editor Plugin (1.2.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_eeprom_marlin
  Fan Speed Control (0.1.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fanspeedslider
  FileManager (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_filemanager
  Firmware Updater (1.0.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_firmwareupdater
  GcodeEditor (0.2.6) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_GcodeEditor
  HeaterTimeout (0.0.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_HeaterTimeout
  MQTT (0.7.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_mqtt
  Preheat Button (0.2.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_preheat
  Print History Plugin (1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory
  Slicer (1.4.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_slicer
  STL Viewer (0.4.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stlviewer

wich version from octoprint i dont know. but not so old.
i did update an upgrade my raspi and also do some reboots. but octoprint wont start and that without any log`s

some reboots later .... it will be work ... OMG


#2

Hello @Das_Qwarx!

Could you please write another post with your solution and mark it as solution after you send it. The small checkbox below that post. So it is marked accordingly in the forum database...

Thank you!