Octoprint issue Always Booting in safe mode

What is the problem?

Octoprint constantly boots up in Recovery mode. I never ha that.

What did you already try to solve it?

Tried to uninstall some addons didnt work

Have you tried running in safe mode?

Its autmoatically booting so yea

Did running in safe mode solve the problem?

No it makes the problem

Systeminfo Bundle

Idk what to write here log provided down below

### Additional information about your setup
2023-03-15 20:23:36,554 - octoprint.startup - INFO - ******************************************************************************e[0m
2023-03-15 20:23:36,561 - octoprint.startup - INFO - Starting OctoPrint 1.8.7e[0m
2023-03-15 20:23:36,561 - octoprint.startup - INFO - Starting in SAFE MODE. Third party plugins will be disabled!e[0m
2023-03-15 20:23:36,561 - octoprint.startup - INFO - Reason for safe mode: problem during last startupe[0m
2023-03-15 20:23:36,561 - octoprint.startup - INFO - ******************************************************************************e[0m
2023-03-15 20:23:40,124 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity changed from offline to onlinee[0m
2023-03-15 20:23:40,157 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: onlinee[0m
2023-03-15 20:23:40,157 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 1.1.1.1:53 is workinge[0m
2023-03-15 20:23:40,157 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is workinge[0m
2023-03-15 20:23:40,163 - octoprint.startup - INFO - Blacklist processing done, adding 3 blacklisted plugin versions: roomtemp (any), GcodeEditor (>=0.1.1,<=0.2.8), gcodeleveling (>=0.1.0,<=0.1.1)e[0m
2023-03-15 20:23:40,166 - octoprint.plugin.core - INFO - Loading plugins from C:\Octoprint\venv\Lib\site-packages\octoprint\plugins, C:\Users\anton\AppData\Roaming\OctoPrint\plugins and installed plugin packages...e[0m
2023-03-15 20:23:41,221 - octoprint.plugin.core - INFO - Plugin GCode Viewer is disabled.e[0m
2023-03-15 20:23:41,361 - octoprint.plugin.core - INFO - Plugin Pi Support Plugin (2022.6.13) did not pass check, not loading.e[0m
2023-03-15 20:23:41,438 - octoprint.plugin.core - INFO - Found 21 plugin(s) providing 16 mixin implementations, 34 hook handlerse[0m
2023-03-15 20:23:41,458 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s intervale[0m
2023-03-15 20:23:41,665 - octoprint.server - INFO - Intermediary server startede[0m
2023-03-15 20:23:41,706 - octoprint.filemanager.storage - INFO - Initializing the file metadata for C:\Users\anton\AppData\Roaming\OctoPrint\uploads...e[0m
2023-03-15 20:23:41,723 - octoprint.filemanager.storage - INFO - ... file metadata for C:\Users\anton\AppData\Roaming\OctoPrint\uploads initialized successfully.e[0m
2023-03-15 20:23:41,724 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW (needs: "Need(method='role', value='plugin_action_command_notification_show')")e[0m
2023-03-15 20:23:41,724 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR (needs: "Need(method='role', value='plugin_action_command_notification_clear')")e[0m
2023-03-15 20:23:41,724 - octoprint.server - INFO - Added new permission from plugin action_command_prompt: PLUGIN_ACTION_COMMAND_PROMPT_INTERACT (needs: "Need(method='role', value='plugin_action_command_prompt_interact')")e[0m
2023-03-15 20:23:41,724 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: "Need(method='role', value='plugin_announcements_read')")e[0m
2023-03-15 20:23:41,724 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_MANAGE (needs: "Need(method='role', value='plugin_announcements_read'), Need(method='role', value='plugin_announcements_manage')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: "Need(method='role', value='plugin_appkeys_admin')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_GRANT (needs: "Need(method='role', value='plugin_appkeys_user')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_ACCESS (needs: "Need(method='role', value='plugin_backup_access')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin firmware_check: PLUGIN_FIRMWARE_CHECK_DISPLAY (needs: "Need(method='role', value='plugin_firmware_check_display')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: "Need(method='role', value='plugin_logging_manage')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_LIST (needs: "Need(method='role', value='plugin_pluginmanager_list')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: "Need(method='role', value='plugin_pluginmanager_manage')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_INSTALL (needs: "Need(method='role', value='plugin_pluginmanager_install'), Need(method='role', value='plugin_pluginmanager_manage')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: "Need(method='role', value='plugin_softwareupdate_check')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: "Need(method='role', value='plugin_softwareupdate_update')")e[0m
2023-03-15 20:23:41,725 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CONFIGURE (needs: "Need(method='role', value='plugin_softwareupdate_configure')")e[0m
::ffff:192.168.178.125 - - [15/Mar/2023 20:23:42] "GET /api/job HTTP/1.1" 404 -
2023-03-15 20:23:42,538 - octoprint.util.pip - INFO - Using "C:\Octoprint\venv\Scripts\python.exe -m pip" as command to invoke pipe[0m
2023-03-15 20:23:43,169 - octoprint.util.pip - INFO - Version of pip is 22.3.1e[0m
2023-03-15 20:23:43,474 - octoprint.util.pip - INFO - pip installs to C:\Octoprint\venv\Lib\site-packages (writable -> yes), --user flag needed -> no, virtual env -> yese[0m
2023-03-15 20:23:43,474 - octoprint.util.pip - INFO - ==> pip ok -> yese[0m
2023-03-15 20:23:43,489 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from diske[0m
2023-03-15 20:23:43,492 - octoprint.plugins.softwareupdate - INFO - Loaded update log from diske[0m
2023-03-15 20:23:43,501 - octoprint.plugin.core - INFO - Initialized 16 plugin implementation(s)e[0m
2023-03-15 20:23:43,504 - octoprint.plugin.core - INFO - 21 plugin(s) registered with the system:
|  Action Command Notification Support (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\action_command_notification
|  Action Command Prompt Support (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\action_command_prompt
|  Announcement Plugin (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\announcements
|  Anonymous Usage Tracking (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\tracking
|  Application Keys Plugin (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\appkeys
| !Autologin Configuration (0.2.0) = C:\Octoprint\venv\lib\site-packages\octoprint_autologin_config
|  Backup & Restore (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\backup
|  Core Wizard (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\corewizard
| !Dashboard (1.19.9) = C:\Octoprint\venv\lib\site-packages\octoprint_dashboard
|  Discovery (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\discovery
|  Error Tracking (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\errortracking
|  Event Manager (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\eventmanager
|  File Check (2021.2.23) (bundled) = C:\Octoprint\venv\lib\site-packages\octoprint_file_check
|  Firmware Check (2021.10.11) (bundled) = C:\Octoprint\venv\lib\site-packages\octoprint_firmware_check
| !GCode Viewer (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\gcodeviewer
|  Logging (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\logging
| !OctoEverywhere! (2.3.7) = C:\Octoprint\venv\lib\site-packages\octoprint_octoeverywhere
|  Plugin Manager (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\pluginmanager
| !PrettyGCode (1.2.4) = C:\Octoprint\venv\lib\site-packages\octoprint_prettygcode
|  Software Update (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\softwareupdate
|  Virtual Printer (bundled) = C:\Octoprint\venv\Lib\site-packages\octoprint\plugins\virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatiblee[0m
2023-03-15 20:23:43,509 - octoprint.environment - INFO - Detected environment is Python 3.10.10 under Windows (win32). Details:
|  hardware:
|    cores: 6
|    freq: 2904.0
|    ram: 17109819392
|  os:
|    bits: 64
|    id: windows
|    platform: win32
|  python:
|    pip: 22.3.1
|    version: 3.10.10
|    virtualenv: C:\Octoprint\venve[0m
2023-03-15 20:23:43,513 - octoprint.server - INFO - Reset webasset folder C:\Users\anton\AppData\Roaming\OctoPrint\generated\webassets...e[0m
2023-03-15 20:23:43,513 - octoprint.server - INFO - Reset webasset folder C:\Users\anton\AppData\Roaming\OctoPrint\generated\.webassets-cache...e[0m
2023-03-15 20:23:43,513 - octoprint.server - INFO - Reset webasset folder C:\Users\anton\AppData\Roaming\OctoPrint\generated\.webassets-manifest.json...e[0m
2023-03-15 20:23:43,712 - octoprint.server - INFO - Shutting down intermediary server...e[0m
2023-03-15 20:23:43,874 - octoprint.server - INFO - Intermediary server shut downe[0m
2023-03-15 20:23:43,875 - octoprint.events - INFO - Processing startup event, this is our first evente[0m
2023-03-15 20:23:43,875 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup evente[0m
2023-03-15 20:23:43,876 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...e[0m
2023-03-15 20:23:43,876 - octoprint.server - INFO - Autoconnect on startup is configured, trying to connect to the printer...e[0m
2023-03-15 20:23:43,886 - octoprint.plugins.softwareupdate - INFO - Fetching check overlays from https://plugins.octoprint.org/update_check_overlay.jsone[0m
2023-03-15 20:23:43,886 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queuee[0m
2023-03-15 20:23:43,891 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valide[0m
2023-03-15 20:23:44,064 - octoprint.server - INFO - Trying to connect to configured serial port Nonee[0m
2023-03-15 20:23:44,236 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valide[0m
2023-03-15 20:23:44,297 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial connection"e[0m
2023-03-15 20:23:44,299 - octoprint.util.comm - INFO - Serial detection: Performing autodetection with 3 port/baudrate candidates: COM1@250000, COM4@250000, COM3@250000e[0m
2023-03-15 20:23:44,299 - octoprint.util.comm - INFO - Serial detection: Trying port COM1, baudrate 250000e[0m
2023-03-15 20:23:44,300 - octoprint.util.comm - INFO - Connecting to port COM1, baudrate 250000e[0m
2023-03-15 20:23:44,302 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...e[0m
2023-03-15 20:23:44,303 - octoprint.server.util.watchdog - INFO - ... initial scan done.e[0m
2023-03-15 20:23:44,391 - octoprint.util.comm - INFO - Failed to connect: Port COM1 is busy or does not existe[0m
2023-03-15 20:23:44,391 - octoprint.util.comm - INFO - Serial detection: Could not open port COM1, baudrate 250000, skippinge[0m
2023-03-15 20:23:44,391 - octoprint.util.comm - INFO - Serial detection: Trying port COM4, baudrate 250000e[0m
2023-03-15 20:23:44,391 - octoprint.util.comm - INFO - Connecting to port COM4, baudrate 250000e[0m
2023-03-15 20:23:44,393 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #1 with timeout 2.0se[0m
2023-03-15 20:23:44,394 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0e[0m
2023-03-15 20:23:45,202 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on Antons-Pc._http._tcp.local.' for _http._tcp.local.e[0m
2023-03-15 20:23:46,089 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on Antons-Pc._octoprint._tcp.local.' for _octoprint._tcp.local.e[0m
2023-03-15 20:23:46,090 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on Antons-Pc for SSDPe[0m
2023-03-15 20:23:46,176 - octoprint.server - INFO - Listening on http://0.0.0.0:5000 and http://[::]:5000e[0m
2023-03-15 20:23:46,188 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valide[0m
2023-03-15 20:23:46,413 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #2 with timeout 2.0se[0m
2023-03-15 20:23:46,461 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0e[0m
2023-03-15 20:23:46,475 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valide[0m
2023-03-15 20:23:46,741 - octoprint.util.pip - INFO - Using "C:\Octoprint\venv\Scripts\python.exe -m pip" as command to invoke pipe[0m
2023-03-15 20:23:46,741 - octoprint.util.pip - INFO - pip installs to C:\Octoprint\venv\Lib\site-packages (writable -> yes), --user flag needed -> no, virtual env -> yese[0m
2023-03-15 20:23:46,741 - octoprint.util.pip - INFO - ==> pip ok -> yese[0m
2023-03-15 20:23:46,743 - octoprint.plugins.softwareupdate - INFO - Minimum free storage across all update relevant locations is 16.7GB. That is considered sufficient for updating.e[0m
2023-03-15 20:23:46,814 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'base_url': 'http://192.168.178.38:5000/', 'path': '/', 'query_string': 'l10n=de'}e[0m
2023-03-15 20:23:48,495 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #3 with timeout 2.0se[0m
2023-03-15 20:23:48,495 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0e[0m
2023-03-15 20:23:49,352 - octoprint.server.preemptive_cache - INFO - ... done in 2.55se[0m
2023-03-15 20:23:49,352 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'base_url': 'https://127.0.0.1:5000/', 'path': '/', 'query_string': 'l10n=en'}e[0m
2023-03-15 20:23:49,837 - octoprint.server.preemptive_cache - INFO - ... done in 0.48se[0m
2023-03-15 20:23:50,497 - octoprint.util.comm - INFO - Serial detection: Trying port COM3, baudrate 250000e[0m
2023-03-15 20:23:50,497 - octoprint.util.comm - INFO - Connecting to port COM3, baudrate 250000e[0m
2023-03-15 20:23:55,682 - octoprint.util.comm - INFO - Failed to connect: Port COM3 is busy or does not existe[0m
2023-03-15 20:23:55,682 - octoprint.util.comm - INFO - Serial detection: Could not open port COM3, baudrate 250000, skippinge[0m
2023-03-15 20:23:55,682 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial connection" to "Error"e[0m
2023-03-15 20:23:55,684 - octoprint.util.comm - INFO - Changing monitoring state from "Error" to "Offline after error"e[0m
2023-03-15 20:23:55,685 - octoprint.plugins.action_command_notification - INFO - Notifications clearede[0m
2023-03-15 20:25:00,505 - octoprint.server.util.flask - INFO - Passively logging in user Anton from 192.168.178.38 via autologine[0m
2023-03-15 20:25:00,505 - octoprint.access.users - INFO - Logged in user: Antone[0m
2023-03-15 20:25:00,644 - octoprint.server.util.flask - INFO - Passively logging in user Anton from 192.168.178.38e[0m
2023-03-15 20:25:00,644 - octoprint.access.users - INFO - Logged in user: Antone[0m
2023-03-15 20:25:00,756 - octoprint.server.util.flask - INFO - Passively logging in user Anton from 192.168.178.38e[0m
2023-03-15 20:25:00,756 - octoprint.access.users - INFO - Logged in user: Antone[0m
2023-03-15 20:25:07,583 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.178.38e[0m
2023-03-15 20:25:07,834 - octoprint.server.util.flask - INFO - Passively logging in user Anton from 192.168.178.38e[0m
2023-03-15 20:25:07,834 - octoprint.access.users - INFO - Logged in user: Antone[0m
2023-03-15 20:25:08,670 - octoprint.server.util.sockjs - INFO - User Anton logged in on the socket from client 192.168.178.38e[0m
2023-03-15 20:26:06,750 - octoprint.server.util.flask - INFO - Passively logging in user Anton from 192.168.178.38 via autologine[0m
2023-03-15 20:26:06,750 - octoprint.access.users - INFO - Logged in user: Antone[0m
2023-03-15 20:26:06,841 - octoprint.server.util.sockjs - INFO - User Anton logged in on the socket from client 192.168.178.38e[0m
e[31m2023-03-15 20:26:06,841 - tornado.general - ERROR - WebSockete[0m
Traceback (most recent call last):
  File "C:\Octoprint\venv\lib\site-packages\octoprint\vendor\sockjs\tornado\transports\websocket.py", line 67, in on_message
    self.session.on_messages(msg)
  File "C:\Octoprint\venv\lib\site-packages\octoprint\vendor\sockjs\tornado\session.py", line 439, in on_messages
    self.conn.on_message(msg)
  File "C:\Octoprint\venv\lib\site-packages\octoprint\server\util\sockjs.py", line 302, in on_message
    self._on_login(user)
  File "C:\Octoprint\venv\lib\site-packages\octoprint\server\util\sockjs.py", line 741, in _on_login
    self._keep_alive.start()
  File "C:\Users\anton\AppData\Local\Programs\Python\Python310\lib\threading.py", line 930, in start
    raise RuntimeError("threads can only be started once")
RuntimeError: threads can only be started once
2023-03-15 20:26:06,842 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.178.38e[0m
2023-03-15 20:26:06,857 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.178.38e[0m
2023-03-15 20:26:06,864 - octoprint.server.util.flask - INFO - Passively logging in user Anton from 192.168.178.38e[0m
2023-03-15 20:26:06,865 - octoprint.access.users - INFO - Logged in user: Antone[0m
2023-03-15 20:26:06,952 - octoprint.server.util.sockjs - INFO - User Anton logged in on the socket from client 192.168.178.38e[0m

Runing Octoprint on windows 11 btw. worked great befor tho

Hello @ChargedCreeper_YT !

This blue word is a link with further infos :wink:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.