Octoprint disconnects after print

What is the problem? OctoPrints keep disconnecting after print is finished or cancelled?

i have tried to update and upgrade thru ssh but still the issue is the same
im using LAN to my raspberry pi 3B+ and not using WiFi.
ihave my CR10S PRO connected to is as well as
LCD Screen with external power for it
Logitic webcam c920
using " OctoPrint : 1.4.0"
This issue is driving me insane.... please help
I'm uploading my log file from octoprint as i cant get to it from ssh is says
"-bash: /home/pi/.octoprint/logs/octoprint.log: Permission denied"
and sometimes says
" -bash: /home/pi/.octoprint/log/: No such file or directory"
the command used is " ~/.octoprint/logs"

pi@octopi:~ $ ~/.octoprint/log/

Log says :--

2020-04-09 00:58:20,971 - octoprint.startup - INFO - ******************************************************************************
2020-04-09 00:58:20,974 - octoprint.startup - INFO - Starting OctoPrint 1.4.0
2020-04-09 00:58:20,974 - octoprint.startup - INFO - ******************************************************************************
2020-04-09 00:58:21,594 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
2020-04-09 00:58:21,598 - octoprint.startup - INFO - Blacklist processing done, adding 1 blacklisted plugin versions: roomtemp (any)
2020-04-09 00:58:21,639 - 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-04-09 00:58:23,254 - py.warnings - WARNING - /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cancelobject/__init__.py:13: ExtDeprecationWarning: Importing flask.ext.login is deprecated, use flask_login instead.
  from flask.ext.login import current_user

2020-04-09 00:58:23,702 - octoprint.plugin.core - INFO - Found 36 plugin(s) providing 36 mixin implementations, 70 hook handlers
2020-04-09 00:58:24,023 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2020-04-09 00:58:24,047 - octoprint.server - INFO - Intermediary server started
2020-04-09 00:58:24,047 - 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-04-09 00:58:24,202 - octoprint.plugin.core - INFO - Found 36 plugin(s) providing 36 mixin implementations, 70 hook handlers
2020-04-09 00:58:24,233 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2020-04-09 00:58:25,445 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2020-04-09 00:58:25,450 - 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-04-09 00:58:25,451 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: u"Need(method='role', value=u'plugin_announcements_read')")
2020-04-09 00:58:25,452 - 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-04-09 00:58:25,454 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: u"Need(method='role', value=u'plugin_appkeys_admin')")
2020-04-09 00:58:25,456 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_ACCESS (needs: u"Need(method='role', value=u'plugin_backup_access')")
2020-04-09 00:58:25,457 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: u"Need(method='role', value=u'plugin_logging_manage')")
2020-04-09 00:58:25,458 - 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-04-09 00:58:25,460 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: u"Need(method='role', value=u'plugin_pluginmanager_manage')")
2020-04-09 00:58:25,462 - 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-04-09 00:58:25,464 - octoprint.server - INFO - Added new permission from plugin printer_safety_check: PLUGIN_PRINTER_SAFETY_CHECK_DISPLAY (needs: u"Need(method='role', value=u'plugin_printer_safety_check_display')")
2020-04-09 00:58:25,465 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: u"Need(method='role', value=u'plugin_softwareupdate_check')")
2020-04-09 00:58:25,466 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: u"Need(method='role', value=u'plugin_softwareupdate_update')")
2020-04-09 00:58:25,487 - octoprint.printer.standard - INFO - Using print time estimator provided by PrintTimeGenius
2020-04-09 00:58:25,509 - octoprint.plugins.cancelobject - INFO - No beforegcode defined
2020-04-09 00:58:25,511 - octoprint.plugins.cancelobject - INFO - No aftergcode defined
2020-04-09 00:58:25,820 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2020-04-09 00:58:25,838 - octoprint.plugins.excluderegion - INFO - Logging mode set to 'octoprint'
2020-04-09 00:58:25,842 - octoprint.plugins.excluderegion - INFO - Setting update detected: g90InfluencesExtruder=False, clearRegionsAfterPrintFinishes=False, mayShrinkRegionsWhilePrinting=False, loggingMode=octoprint, enteringExcludedRegionGcode=None, exitingExcludedRegionGcode=None, extendedExcludeGcodes={'G4': {"gcode": "G4", "type": "ExcludedGcode", "mode": "exclude", "description": "Ignore all dwell commands in an excluded area to reduce delays while excluding"}, 'M205': {"gcode": "M205", "type": "ExcludedGcode", "mode": "merge", "description": "Record advanced setting changes while excluding and apply the most recent values in a single command after exiting the excluded area"}, 'M204': {"gcode": "M204", "type": "ExcludedGcode", "mode": "merge", "description": "Record default acceleration changes while excluding and apply the most recent values in a single command after exiting the excluded area"}}, atCommandActions={'ExcludeRegion': [{"action": "enable_exclusion", "type": "AtCommandAction", "command": "ExcludeRegion", "parameterPattern": "^\\s*(enable|on)(\\s|$)", "description": "Default action to enable exclusion"}, {"action": "disable_exclusion", "type": "AtCommandAction", "command": "ExcludeRegion", "parameterPattern": "^\\s*(disable|off)(\\s|$)", "description": "Default action to disable exclusion"}]}
2020-04-09 00:58:26,899 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-04-09 00:58:27,923 - octoprint.util.pip - INFO - Version of pip is 19.3.1
2020-04-09 00:58:27,925 - 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-04-09 00:58:27,926 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-04-09 00:58:27,931 - octoprint.plugin.core - INFO - Initialized 36 plugin implementation(s)
2020-04-09 00:58:27,971 - octoprint.plugins.psucontrol - INFO - Using GPIO for On/Off
2020-04-09 00:58:27,971 - octoprint.plugins.psucontrol - INFO - Using internal tracking for PSU on/off state.
2020-04-09 00:58:27,972 - octoprint.plugins.psucontrol - INFO - Running RPi.GPIO version 0.7.0
2020-04-09 00:58:27,973 - octoprint.plugins.psucontrol - INFO - Using GPIO for On/Off
2020-04-09 00:58:27,974 - octoprint.plugins.psucontrol - INFO - Configuring GPIO for pin 14
2020-04-09 00:58:27,986 - octoprint.plugin.core - INFO - 36 plugin(s) registered with the system:
|  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 (0.1.13) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_bedlevelvisualizer
|  Cancel Objects (0.4.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cancelobject
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
|  Cost Plugin (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  Custom Background (0.10.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_custombackground
|  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
|  Exclude Region (0.2.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_excluderegion
|  Extra Distance Buttons (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_extradistance
|  Floating Navbar (0.3.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_floatingnavbar
|  Fullscreen Plugin (0.0.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fullscreen
|  HeaterTimeout (0.0.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_HeaterTimeout
|  Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
|  Login UI (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/loginui
|  Navbar Temperature Plugin (0.13) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Octolapse (0.3.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octolapse
|  OctoPrint Anywhere (1.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_anywhere
|  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
|  Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
|  PrintTimeGenius Plugin (2.2.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_PrintTimeGenius
|  PSU Control (0.1.9) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_psucontrol
|  Remove /dev/ttyS* ports (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_remove_ttys_ports
|  Simple Emergency Stop (1.0.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_simpleemergencystop
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
|  STL Viewer (0.4.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stlviewer
|  Tab Order (0.5.6) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_taborder
|  TemperatureFailsafe (0.2.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_TemperatureFailsafe
|  Themeify (1.2.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_themeify
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
|  Webcam Tab (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_webcamtab
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2020-04-09 00:58:28,002 - octoprint.environment - INFO - Detected environment is Python 2.7.16 under Linux (linux2). Details:
|  hardware:
|      cores: 4
|      freq: 1400.0
|      ram: 971055104
|  os:
|      id: linux
|      platform: linux2
|  plugins:
|      pi_support:
|          model: Raspberry Pi 3 Model B Plus Rev 1.3
|          octopi_version: 0.17.0
|  python:
|      pip: 19.3.1
|      version: 2.7.16
|      virtualenv: /home/pi/oprint
2020-04-09 00:58:28,018 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2020-04-09 00:58:28,048 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2020-04-09 00:58:28,065 - octoprint.plugins.octolapse - INFO - Octolapse is loading assets.
2020-04-09 00:58:29,370 - octoprint.server - INFO - Shutting down intermediary server...
2020-04-09 00:58:29,594 - octoprint.server - INFO - Intermediary server shut down
2020-04-09 00:58:29,597 - octoprint.events - INFO - Processing startup event, this is our first event
2020-04-09 00:58:29,598 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup event
2020-04-09 00:58:29,601 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2020-04-09 00:58:29,612 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2020-04-09 00:58:29,631 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2020-04-09 00:58:29,641 - octoprint.plugins.softwareupdate - WARNING - Software update hook TemperatureFailsafe tried to overwrite config for check emergencyaction but that was already configured elsewhere
2020-04-09 00:58:29,658 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-04-09 00:58:29,872 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance "CR 10 S PRO"' for _http._tcp
2020-04-09 00:58:29,891 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance "CR 10 S PRO"' for _octoprint._tcp
2020-04-09 00:58:29,995 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "CR 10 S PRO" for SSDP
2020-04-09 00:58:31,359 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-04-09 00:58:32,027 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2020-04-09 00:58:32,113 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2020-04-09 00:58:32,116 - octoprint.plugins.octolapse - INFO - Loading existing settings file from: /home/pi/.octoprint/data/octolapse/settings.json.
2020-04-09 00:58:32,251 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.33
2020-04-09 00:58:32,372 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-04-09 00:58:33,575 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-04-09 00:58:33,603 - 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-04-09 00:58:33,660 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-04-09 00:58:33,793 - octoprint.server.util.flask - INFO - Passively logging in user me2you from ::ffff:192.168.1.33
2020-04-09 00:58:33,908 - octoprint.access.users - INFO - Logged in user: me2you
2020-04-09 00:58:34,154 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-04-09 00:58:34,177 - octoprint.plugins.HeaterTimeout - INFO - Starting up...
2020-04-09 00:58:34,179 - octoprint.plugins.TemperatureFailsafe - INFO - Starting up...
2020-04-09 00:58:34,200 - py.warnings - WARNING - /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_anywhere/config.py:57: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  self.__items__ = yaml.load(config_str)

2020-04-09 00:58:34,224 - octoprint.plugins.bedlevelvisualizer - INFO - OctoPrint-BedLevelVisualizer loaded!
2020-04-09 00:58:34,234 - octoprint.plugins.navbartemp - INFO - Broadcom detected
2020-04-09 00:58:34,237 - octoprint.plugins.stlviewer - INFO - STL Viewer loaded!
2020-04-09 00:58:34,238 - octoprint.plugins.themeify - INFO - Themeify initialized.
2020-04-09 00:58:34,645 - backoff - INFO - Backing off __get_dev_settings__(...) for 0.6s (HTTPError: 401 Client Error: Unauthorized for url: http://newstream.getanywhere.io/api/dev_settings)
2020-04-09 00:58:34,695 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://192.168.1.46/'}
2020-04-09 00:58:34,843 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 11}
2020-04-09 00:58:35,339 - octoprint.plugins.tracking - INFO - Sent tracking event startup, payload: {'python': '2.7.16', 'ram': 971055104, u'octopi_version': u'0.17.0', 'version': u'1.4.0', 'pip': '19.3.1', 'cores': 4, 'freq': 1400.0, u'pi_model': u'Raspberry Pi 3 Model B Plus Rev 1.3', 'os': 'linux'}
2020-04-09 00:58:35,584 - backoff - INFO - Backing off __get_dev_settings__(...) for 0.3s (HTTPError: 401 Client Error: Unauthorized for url: http://newstream.getanywhere.io/api/dev_settings)
2020-04-09 00:58:35,893 - octoprint.plugins.tracking - INFO - Sent tracking event pong, payload: {'plugins': u'webcamtab:0.1.2,cost:0.1.3,heatertimeout:0.0.3,fullscreen:0.0.4,cancelobject:0.4.1,remove_ttys_ports:0.1.0,custombackground:0.10.1,taborder:0.5.6,themeify:1.2.2,extradistance:0.1.0,stlviewer:0.4.2,bedlevelvisualizer:0.1.13,simpleemergencystop:1.0.1,navbartemp:0.13,temperaturefailsafe:0.2.3,excluderegion:0.2.0,anywhere:1.1.0,floatingnavbar:0.3.1,psucontrol:0.1.9,printtimegenius:2.2.1,octolapse:0.3.4'}
2020-04-09 00:58:36,331 - backoff - INFO - Backing off __get_dev_settings__(...) for 1.6s (HTTPError: 401 Client Error: Unauthorized for url: http://newstream.getanywhere.io/api/dev_settings)
2020-04-09 00:58:37,718 - tornado.access - WARNING - 404 POST /api/plugin/zbolt_octoscreen (127.0.0.1) 59.57ms
2020-04-09 00:58:37,755 - tornado.access - WARNING - 404 POST /api/plugin/zbolt_octoscreen (127.0.0.1) 23.40ms
2020-04-09 00:58:37,889 - octoprint.server.util.sockjs - INFO - User me2you logged in on the socket from client ::ffff:192.168.1.33
2020-04-09 00:58:38,050 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-04-09 00:58:38,170 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2020-04-09 00:58:38,252 - backoff - INFO - Backing off __get_dev_settings__(...) for 0.3s (HTTPError: 401 Client Error: Unauthorized for url: http://newstream.getanywhere.io/api/dev_settings)
2020-04-09 00:58:38,268 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=Error
2020-04-09 00:58:38,862 - octoprint.plugins.tracking - INFO - Sent tracking event commerror_autodetect_port, payload: {'commerror_text': u'Failed to autodetect serial port, please set it manually.'}
2020-04-09 00:58:39,138 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-04-09 00:58:39,149 - backoff - INFO - Backing off __get_dev_settings__(...) for 8.6s (HTTPError: 401 Client Error: Unauthorized for url: http://newstream.getanywhere.io/api/dev_settings)
2020-04-09 00:58:39,236 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2020-04-09 00:58:39,282 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=Error
2020-04-09 00:58:39,763 - octoprint.plugins.tracking - INFO - Sent tracking event commerror_autodetect_port, payload: {'commerror_text': u'Failed to autodetect serial port, please set it manually.'}
2020-04-09 00:58:41,618 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-04-09 00:58:41,721 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2020-04-09 00:58:41,768 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=Error
2020-04-09 00:58:42,507 - octoprint.plugins.tracking - INFO - Sent tracking event commerror_autodetect_port, payload: {'commerror_text': u'Failed to autodetect serial port, please set it manually.'}
2020-04-09 00:58:43,961 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-04-09 00:58:44,058 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2020-04-09 00:58:44,130 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=Error
2020-04-09 00:58:44,848 - octoprint.plugins.tracking - INFO - Sent tracking event commerror_autodetect_port, payload: {'commerror_text': u'Failed to autodetect serial port, please set it manually.'}
2020-04-09 00:58:45,931 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-04-09 00:58:46,316 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2020-04-09 00:58:46,368 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=Error
2020-04-09 00:58:46,882 - octoprint.plugins.tracking - INFO - Sent tracking event commerror_autodetect_port, payload: {'commerror_text': u'Failed to autodetect serial port, please set it manually.'}
2020-04-09 00:58:47,414 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-04-09 00:58:47,636 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2020-04-09 00:58:47,750 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=Error
2020-04-09 00:58:48,245 - backoff - INFO - Backing off __get_dev_settings__(...) for 31.0s (HTTPError: 401 Client Error: Unauthorized for url: http://newstream.getanywhere.io/api/dev_settings)
2020-04-09 00:58:48,495 - octoprint.plugins.tracking - INFO - Sent tracking event commerror_autodetect_port, payload: {'commerror_text': u'Failed to autodetect serial port, please set it manually.'}
2020-04-09 00:58:49,270 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-04-09 00:58:49,348 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2020-04-09 00:58:49,400 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=Error
2020-04-09 00:58:49,984 - octoprint.plugins.tracking - INFO - Sent tracking event commerror_autodetect_port, payload: {'commerror_text': u'Failed to autodetect serial port, please set it manually.'}
2020-04-09 00:58:51,195 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-04-09 00:58:51,333 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2020-04-09 00:58:51,587 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=Error
2020-04-09 00:58:52,431 - octoprint.plugins.tracking - INFO - Sent tracking event commerror_autodetect_port, payload: {'commerror_text': u'Failed to autodetect serial port, please set it manually.'}
2020-04-09 00:58:53,263 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-04-09 00:58:53,314 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Failed to autodetect serial port, please set it manually."
2020-04-09 00:58:53,364 - octoprint.plugins.excluderegion - INFO - Printing stopped: event=Error
2020-04-09 00:58:54,056 - octoprint.plugins.tracking - INFO - Sent tracking event commerror_autodetect_port, payload: {'commerror_text': u'Failed to autodetect serial port, please set it manually.'}
2020-04-09 00:58:54,354 - octoprint.server.preemptive_cache - INFO - ... done in 19.66s
2020-04-09 00:58:54,355 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://octopi.local/'}

got the log using

cat ~/.octoprint/logs/octoprint.log

Well, yes. Earlier, you were attempting to execute the log file. Raspbian looked at the file rights of the log file, recognized that it wasn't marked as executable and then gave you the expected error. The cat program is used to conCATenate files to the screen (display their contents).

I don't see the disconnect in your log. All I see are autodetect errors.
Also there are a some OctoPrint Anywhere errors.

I would suggest you try safe mode to rule out any plugin related issues.

If it happens again upload the full octoprint.log and serial.log .

1 Like