Error message after updating 1.5.0 to 1.5.1

I followed instructions to update 1.5.0 to 1.5.1. After the updated process finished I tried to connect to my printer. I get this error message:

State: Offline (Error: No more candidates to test, and no working port/baudrate combination detected.)

What did you already try to solve it?

I have tried restarting both the printer and Raspberry Pi 3. I also tried disabling the one third party plug-in I have (The Spaghetti Detective).

Have you tried running in safe mode and if so did it solve the issue?

I tried safe mode but get the same error.

Complete Logs

******************************************************************************
2020-12-05 13:37:43,802 - octoprint.startup - INFO - Starting OctoPrint 1.5.1
2020-12-05 13:37:43,803 - octoprint.startup - INFO - Starting in SAFE MODE. Third party plugins will be disabled!
2020-12-05 13:37:43,803 - octoprint.startup - INFO - Reason for safe mode: setting in config.yaml
2020-12-05 13:37:43,805 - octoprint.startup - INFO - ******************************************************************************
2020-12-05 13:37:45,054 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity changed from offline to online
2020-12-05 13:37:45,792 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: online
2020-12-05 13:37:45,794 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 8.8.8.8:53 is working
2020-12-05 13:37:45,795 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is working
2020-12-05 13:37:45,842 - 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)
2020-12-05 13:37:45,891 - 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...
2020-12-05 13:37:47,074 - octoprint.plugin.core - INFO - Plugin Access Anywhere - The Spaghetti Detective (1.4.4) is disabled.
2020-12-05 13:37:47,219 - octoprint.plugins.errortracking - INFO - Initialized error tracking
2020-12-05 13:37:47,242 - octoprint.plugin.core - INFO - Found 18 plugin(s) providing 17 mixin implementations, 34 hook handlers
2020-12-05 13:37:47,453 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2020-12-05 13:37:47,480 - octoprint.server - INFO - Intermediary server started
2020-12-05 13:37:47,513 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2020-12-05 13:37:47,516 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2020-12-05 13:37:47,520 - 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')")
2020-12-05 13:37:47,521 - 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')")
2020-12-05 13:37:47,522 - 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')")
2020-12-05 13:37:47,524 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: u"Need(method='role', value=u'plugin_announcements_read')")
2020-12-05 13:37:47,525 - 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')")
2020-12-05 13:37:47,527 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: u"Need(method='role', value=u'plugin_appkeys_admin')")
2020-12-05 13:37:47,530 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_ACCESS (needs: u"Need(method='role', value=u'plugin_backup_access')")
2020-12-05 13:37:47,531 - 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')")
2020-12-05 13:37:47,534 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: u"Need(method='role', value=u'plugin_logging_manage')")
2020-12-05 13:37:47,535 - 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')")
2020-12-05 13:37:47,536 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: u"Need(method='role', value=u'plugin_pluginmanager_manage')")
2020-12-05 13:37:47,539 - 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')")
2020-12-05 13:37:47,540 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: u"Need(method='role', value=u'plugin_softwareupdate_check')")
2020-12-05 13:37:47,542 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: u"Need(method='role', value=u'plugin_softwareupdate_update')")
2020-12-05 13:37:47,543 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CONFIGURE (needs: u"Need(method='role', value=u'plugin_softwareupdate_configure')")
2020-12-05 13:37:47,734 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2020-12-05 13:37:48,756 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-12-05 13:37:49,720 - octoprint.util.pip - INFO - Version of pip is 19.3.1
2020-12-05 13:37:49,722 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-12-05 13:37:49,723 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-12-05 13:37:49,743 - octoprint.plugin.core - INFO - Initialized 17 plugin implementation(s)
2020-12-05 13:37:49,762 - octoprint.plugin.core - INFO - 18 plugin(s) registered with the system:
| !Access Anywhere - The Spaghetti Detective (1.4.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_thespaghettidetective
|  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
|  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
|  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
2020-12-05 13:37:49,800 - octoprint.environment - INFO - Detected environment is Python 2.7.16 under Linux (linux2). Details:
|  hardware:
|      cores: 4
|      freq: 1400.0
|      ram: 917016576
|  os:
|      bits: 32
|      id: linux
|      platform: linux2
|  plugins:
|      pi_support:
|          model: Raspberry Pi 3 Model B Plus Rev 1.3
|          octopi_version: 0.17.0
|          throttle_state: '0x0'
|  python:
|      pip: 19.3.1
|      version: 2.7.16
|      virtualenv: /home/pi/oprint
2020-12-05 13:37:49,814 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2020-12-05 13:37:49,836 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2020-12-05 13:37:50,844 - octoprint.server - INFO - Shutting down intermediary server...
2020-12-05 13:37:50,871 - octoprint.server - INFO - Intermediary server shut down
2020-12-05 13:37:50,874 - octoprint.events - INFO - Processing startup event, this is our first event
2020-12-05 13:37:50,877 - octoprint.events - INFO - Adding 2 events to queue that were held back before startup event
2020-12-05 13:37:50,882 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2020-12-05 13:37:50,896 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2020-12-05 13:37:50,902 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2020-12-05 13:37:50,904 - octoprint.plugins.softwareupdate - INFO - Fetching check overlays from https://plugins.octoprint.org/update_check_overlay.json
2020-12-05 13:37:50,947 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-12-05 13:37:50,999 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2020-12-05 13:37:52,552 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-12-05 13:37:53,006 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on octopi._http._tcp.local.' for _http._tcp.local.
2020-12-05 13:37:53,847 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on octopi._octoprint._tcp.local.' for _octoprint._tcp.local.
2020-12-05 13:37:53,859 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on octopi for SSDP
2020-12-05 13:37:53,921 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2020-12-05 13:37:53,923 - octoprint.server - INFO - Server started successfully in safe mode as requested from config, removing flag
2020-12-05 13:37:54,365 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-12-05 13:37:54,519 - octoprint.server.util.sockjs - INFO - New connection from client: fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:37:55,530 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-12-05 13:37:55,533 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-12-05 13:37:55,535 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-12-05 13:37:55,637 - octoprint.plugins.softwareupdate - INFO - Minimum free storage across all update relevant locations is 5.0GB. That is considered sufficient for updating.
2020-12-05 13:37:55,899 - octoprint.server.util.flask - INFO - Passively logging in user RocketMaker from fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:37:55,901 - octoprint.access.users - INFO - Logged in user: RocketMaker
2020-12-05 13:37:56,105 - octoprint.server.util.sockjs - INFO - User RocketMaker logged in on the socket from client fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:37:56,332 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-12-05 13:37:56,742 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://octopi.local/'}
2020-12-05 13:38:01,397 - octoprint.server.util.sockjs - INFO - Client connection closed: fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:38:01,789 - octoprint.server.util.flask - INFO - Passively logging in user RocketMaker from fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:38:01,791 - octoprint.access.users - INFO - Logged in user: RocketMaker
2020-12-05 13:38:12,705 - octoprint.server.preemptive_cache - INFO - ... done in 15.96s
2020-12-05 13:38:12,827 - octoprint.server.util.sockjs - INFO - New connection from client: fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:38:12,898 - octoprint.server.util.sockjs - INFO - Client connection closed: fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:38:13,258 - octoprint.server.util.flask - INFO - Passively logging in user RocketMaker from fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:38:13,260 - octoprint.access.users - INFO - Logged in user: RocketMaker
2020-12-05 13:38:14,082 - octoprint.server.util.sockjs - INFO - New connection from client: fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:38:14,113 - octoprint.server.util.flask - INFO - Passively logging in user RocketMaker from fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:38:14,114 - octoprint.access.users - INFO - Logged in user: RocketMaker
2020-12-05 13:38:17,254 - octoprint.server.util.sockjs - INFO - User RocketMaker logged in on the socket from client fe80::8b:c9ee:6f9c:2f13
2020-12-05 13:38:24,875 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial connection"
2020-12-05 13:38:25,147 - octoprint.util.comm - INFO - Serial detection: Performing autodetection with 0 port/baudrate candidates: 
2020-12-05 13:38:25,150 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial connection" to "Error: No more candidates to test, and no working port/baudrate combination detected."
2020-12-05 13:38:25,168 - octoprint.util.comm - INFO - Changing monitoring state from "Error: No more candidates to test, and no working port/baudrate combination detected." to "Offline (Error: No more candidates to test, and no working port/baudrate combination detected.)"
2020-12-05 13:38:25,186 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2020-12-05 13:39:26,406 - octoprint.server.util.sockjs - INFO - Client connection closed: fe80::8b:c9ee:6f9c:2f13

Additional information about your setup Connection

OctoPrint 1.5.1
Python 2.7.16
OctoPi 0.17.0
Mac Mojave 10.14.5
Firefox 83.0

There's 0 port/baudrate combinations, so of course it will not work. You need to check the printer is powered on & everything is connected properly. Updating to 1.5.1 has nothing to do with this.

It is printing right now... using an SD card. I was printing before. Got the update message. Updated. Rebooted. And then got that error message.

I can 100% tell you it was not the update (If you want I can go through the code line by line for you), so you should look elsewhere. Try rebooting it again, disconnect & reconnect printer, use a different cable etc.

Did you update while printing?
It's possible that your printer didn't "want to" connect to octoprint during a print

No, it wasn't during a print. I finished and then updated.

I tried rebooting again and no dice. Then I tried unplugging the micro USB from printer and plugging it back in. That worked. I have no idea if that did it somehow, or if it was the final reboot after that. Either way, it is working again!

2 Likes

Thanks all!

1 Like