Unable to get to GUI even after Safe Mode reboot

What is the problem?
Yesterday it was working OK. When turned on this morning, I get the "Looks like something went wrong during startup, the server is gone again. You should check octoprint.log".

After checking the octoprint.log, it seems that it is trying to boot into safe mode, apparently unsuccessfully.

Couple of things I've noted:

  • This morging it booted OK, then there appears to be a sudden reboot with a backwards time shift (note that last timestamp before reboot was 09:24, and the first one after was 09:17):

2021-01-23 09:09:57,967 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2021-01-23 09:24:57,969 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2021-01-23 09:17:12,491 - octoprint.startup - INFO - ****************************************************************************** 2021-01-23 09:17:12,493 - octoprint.startup - INFO - Starting OctoPrint 1.5.3 2021-01-23 09:17:12,493 - octoprint.startup - INFO - Starting in SAFE MODE. Third party plugins will be disabled! 2021-01-23 09:17:12,494 - octoprint.startup - INFO - Reason for safe mode: problem during last startup 2021-01-23 09:17:12,494 - octoprint.startup - INFO - ******************************************************************************

  • Yesterday, there was an error in one of the plugins (it booted OK two times after that, though).

2021-01-22 21:05:20,403 - octoprint.printer.standard.job - INFO - Print job selected - origin: sdcard, path: 1st_laye.gco, owner: None, user: None 2021-01-22 21:05:20,409 - octoprint.plugin - ERROR - Error while calling plugin cancelobject Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/__init__.py", line 271, in call_plugin result = getattr(plugin, method)(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/__init__.py", line 1890, in wrapper return f(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cancelobject/__init__.py", line 283, in on_event with open(selectedFile, "r") as f: IOError: [Errno 2] No such file or directory: u'1st_laye.gco'

What did you already try to solve it?

  • Reboot.
  • Manually restart the server.
  • Manually uninstall the pluging that failed (octoprint_cancelobject).
  • Manually reinstall octoprint.

None worked.

Logs (syslog, dmesg, ... no logs, no support)

Last log:

2021-01-23 10:11:04,002 - octoprint.startup - INFO - ****************************************************************************** 2021-01-23 10:11:04,006 - octoprint.startup - INFO - Starting OctoPrint 1.5.3 2021-01-23 10:11:04,007 - octoprint.startup - INFO - Starting in SAFE MODE. Third party plugins will be disabled! 2021-01-23 10:11:04,009 - octoprint.startup - INFO - Reason for safe mode: setting in config.yaml 2021-01-23 10:11:04,011 - octoprint.startup - INFO - ****************************************************************************** 2021-01-23 10:11:05,260 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity changed from offline to online 2021-01-23 10:11:05,393 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: online 2021-01-23 10:11:05,395 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 8.8.8.8:53 is working 2021-01-23 10:11:05,398 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is working 2021-01-23 10:11:05,792 - octoprint.startup - INFO - Blacklist processing done, adding 12 blacklisted plugin versions: roomtemp (any), GcodeEditor (0.1.1), GcodeEditor (0.2.0), GcodeEditor (0.2.1), GcodeEditor (0.2.2), GcodeEditor (0.2.3), GcodeEditor (0.2.4), GcodeEditor (0.2.5), GcodeEditor (0.2.6), GcodeEditor (0.2.8), gcodeleveling (0.1.0), gcodeleveling (0.1.1) 2021-01-23 10:11:05,862 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages... 2021-01-23 10:11:08,660 - octoprint.plugin.core - INFO - Found 19 plugin(s) providing 17 mixin implementations, 34 hook handlers 2021-01-23 10:11:08,857 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval 2021-01-23 10:11:08,906 - octoprint.server - INFO - Intermediary server started 2021-01-23 10:11:08,979 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads... 2021-01-23 10:11:10,773 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully. 2021-01-23 10:11:10,782 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW (needs: u"Need(method='role', value=u'plugin_action_command_notification_show')") 2021-01-23 10:11:10,785 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR (needs: u"Need(method='role', value=u'plugin_action_command_notification_clear')") 2021-01-23 10:11:10,787 - octoprint.server - INFO - Added new permission from plugin action_command_prompt: PLUGIN_ACTION_COMMAND_PROMPT_INTERACT (needs: u"Need(method='role', value=u'plugin_action_command_prompt_interact')") 2021-01-23 10:11:10,789 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: u"Need(method='role', value=u'plugin_announcements_read')") 2021-01-23 10:11:10,793 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_MANAGE (needs: u"Need(method='role', value=u'plugin_announcements_manage'), Need(method='role', value=u'plugin_announcements_read')") 2021-01-23 10:11:10,795 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: u"Need(method='role', value=u'plugin_appkeys_admin')") 2021-01-23 10:11:10,798 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_ACCESS (needs: u"Need(method='role', value=u'plugin_backup_access')") 2021-01-23 10:11:10,803 - octoprint.server - INFO - Added new permission from plugin firmware_check: PLUGIN_FIRMWARE_CHECK_DISPLAY (needs: u"Need(method='role', value=u'plugin_firmware_check_display')") 2021-01-23 10:11:10,807 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: u"Need(method='role', value=u'plugin_logging_manage')") 2021-01-23 10:11:10,810 - octoprint.server - INFO - Added new permission from plugin pi_support: PLUGIN_PI_SUPPORT_STATUS (needs: u"Need(method='role', value=u'plugin_pi_support_check')") 2021-01-23 10:11:10,814 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: u"Need(method='role', value=u'plugin_pluginmanager_manage')") 2021-01-23 10:11:10,818 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_INSTALL (needs: u"Need(method='role', value=u'plugin_pluginmanager_install'), Need(method='role', value=u'plugin_pluginmanager_manage')") 2021-01-23 10:11:10,821 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: u"Need(method='role', value=u'plugin_softwareupdate_check')") 2021-01-23 10:11:10,822 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: u"Need(method='role', value=u'plugin_softwareupdate_update')") 2021-01-23 10:11:10,825 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CONFIGURE (needs: u"Need(method='role', value=u'plugin_softwareupdate_configure')") 2021-01-23 10:11:11,333 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk 2021-01-23 10:11:13,559 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip 2021-01-23 10:11:15,660 - octoprint.util.pip - INFO - Version of pip is 19.3.1 2021-01-23 10:11:15,663 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes 2021-01-23 10:11:15,665 - octoprint.util.pip - INFO - ==> pip ok -> yes 2021-01-23 10:11:15,711 - octoprint.plugin.core - INFO - Initialized 17 plugin implementation(s) 2021-01-23 10:11:15,753 - octoprint.plugin.core - INFO - 19 plugin(s) registered with the system: | Action Command Notification Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_notification | Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt | Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements | Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking | Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys | Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/backup | !Bed Visualizer (1.0.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_bedlevelvisualizer | Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard | Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery | Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/errortracking | File Check (2020.8.7) (bundled) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_file_check | Firmware Check (2020.9.23) (bundled) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_firmware_check | GCode Viewer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/gcodeviewer | Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging | !Navbar Temperature Plugin (0.14) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp | Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support | Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager | Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate | Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer Prefix legend: ! = disabled, # = blacklisted, * = incompatible 2021-01-23 10:26:08,863 - octoprint.server.heartbeat - INFO - Server heartbeat <3

Additional information

model: Raspberry Pi 3 Model B Plus Rev 1.3 octopi_version: 0.17.0

Hello @Saikamur!

What happened to the logs? Have you put the through an editor? All the line breaks are gone.

Best is to attach them as file

Sorry, I didn't realise the format was off. I just copy pasted them from a WSL terminal.