Prusa mk3s web gui crashes when uploading gcode then deleting it from the file browswer

What is the problem?

the web gui on my prusa mk3s crashes if i upload then delete a gcode file to the web gui file browser (no the sd card). the webpage becomes completely unresponsive until a reboot. After the reboot the file is deletable. however if i upload the file and try to delete it again, the webpage becomes unresponsive again. i run 3 instances of octoprint, and the one running the prusa mk3s instance is the only one this happens with.

What did you already try to solve it?

I tried rebooting it, and i tried uploading different files and deleting them. the web gui crash happens every time. i also tried running apt update/upgrade.

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

no

Complete Logs

octoprint.log, serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support! Not log excerpts, complete logs.)


2020-11-19 14:38:08,019 - octoprint.startup - INFO - Starting OctoPrint 1.4.2
2020-11-19 14:38:08,019 - octoprint.startup - INFO - ******************************************************************************
2020-11-19 14:38:08,801 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: offline
2020-11-19 14:38:08,802 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 8.8.8.8:53 is not working
2020-11-19 14:38:08,813 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is not working
2020-11-19 14:38:08,821 - octoprint.startup - INFO - We don't appear to be online, not fetching plugin blacklist
2020-11-19 14:38:09,019 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-11-19 14:38:11,212 - octoprint.plugins.octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2020-11-19 14:38:11,233 - octoprint.plugin.core - INFO - Found 22 plugin(s) providing 22 mixin implementations, 41 hook handlers
2020-11-19 14:38:11,417 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2020-11-19 14:38:11,436 - octoprint.server - INFO - Intermediary server started
2020-11-19 14:38:11,436 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-11-19 14:38:11,526 - octoprint.plugin.core - INFO - Found 22 plugin(s) providing 22 mixin implementations, 41 hook handlers
2020-11-19 14:38:11,572 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2020-11-19 14:38:12,074 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2020-11-19 14:38:12,079 - 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')")
2020-11-19 14:38:12,080 - 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')")
2020-11-19 14:38:12,081 - 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')")
2020-11-19 14:38:12,082 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: "Need(method='role', value='plugin_announcements_read')")
2020-11-19 14:38:12,083 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_MANAGE (needs: "Need(method='role', value='plugin_announcements_manage'), Need(method='role', value='plugin_announcements_read')")
2020-11-19 14:38:12,084 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: "Need(method='role', value='plugin_appkeys_admin')")
2020-11-19 14:38:12,085 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_ACCESS (needs: "Need(method='role', value='plugin_backup_access')")
2020-11-19 14:38:12,087 - octoprint.server - INFO - Added new permission from plugin firmware_check: PLUGIN_FIRMWARE_CHECK_DISPLAY (needs: "Need(method='role', value='plugin_firmware_check_display')")
2020-11-19 14:38:12,088 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: "Need(method='role', value='plugin_logging_manage')")
2020-11-19 14:38:12,089 - octoprint.server - INFO - Added new permission from plugin pi_support: PLUGIN_PI_SUPPORT_STATUS (needs: "Need(method='role', value='plugin_pi_support_check')")
2020-11-19 14:38:12,089 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: "Need(method='role', value='plugin_pluginmanager_manage')")
2020-11-19 14:38:12,090 - 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')")
2020-11-19 14:38:12,091 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: "Need(method='role', value='plugin_softwareupdate_check')")
2020-11-19 14:38:12,091 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: "Need(method='role', value='plugin_softwareupdate_update')")
2020-11-19 14:38:12,123 - octoprint.printer.standard - INFO - Using print time estimator provided by PrintTimeGenius
2020-11-19 14:38:13,594 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python -m pip" as command to invoke pip
2020-11-19 14:38:14,822 - octoprint.util.pip - INFO - Version of pip is 20.2.3
2020-11-19 14:38:14,824 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python3.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-11-19 14:38:14,825 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-11-19 14:38:14,980 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2020-11-19 14:38:15,001 - octoprint.plugin.core - INFO - Initialized 22 plugin implementation(s)
2020-11-19 14:38:15,019 - octoprint.plugin.core - INFO - 22 plugin(s) registered with the system:
| Action Command Notification Support (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/action_command_notification
| Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/announcements
| Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/tracking
| Application Keys Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/appkeys
| Backup & Restore (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/backup
| Core Wizard (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/corewizard
| Discovery (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/discovery
| Error Tracking (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/errortracking
| File Check (2020.8.7) (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_file_check
| Firmware Check (2020.9.23) (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_firmware_check
| Firmware Updater (1.7.0) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_firmwareupdater
| Fullscreen Plugin (0.0.5) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_fullscreen
| GCode Viewer (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/gcodeviewer
| Logging (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/logging
| Login UI (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/loginui
| OctoPrint-WiFiStatus (1.3.1) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_wifistatus
| Pi Support Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/pi_support
| Plugin Manager (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/pluginmanager
| PrintTimeGenius Plugin (2.2.6) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_PrintTimeGenius
| Software Update (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2020-11-19 14:38:15,038 - octoprint.environment - INFO - Detected environment is Python 3.7.3 under Linux (linux). Details:
| hardware:
| cores: 4
| freq: 1200.0
| ram: 915714048
| os:
| id: linux
| platform: linux
| plugins:
| pi_support:
| model: Raspberry Pi 3 Model B Rev 1.2
| octopi_version: 0.17.0
| python:
| pip: 20.2.3
| version: 3.7.3
| virtualenv: /home/pi/oprint
2020-11-19 14:38:15,053 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2020-11-19 14:38:15,081 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2020-11-19 14:38:16,158 - octoprint.server - INFO - Shutting down intermediary server...
2020-11-19 14:38:16,460 - octoprint.server - INFO - Intermediary server shut down
2020-11-19 14:38:16,463 - octoprint.events - INFO - Processing startup event, this is our first event
2020-11-19 14:38:16,463 - octoprint.events - INFO - Adding 0 events to queue that were held back before startup event
2020-11-19 14:38:16,465 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2020-11-19 14:38:16,467 - octoprint.server - INFO - Autoconnect on startup is configured, trying to connect to the printer...
2020-11-19 14:38:16,471 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2020-11-19 14:38:16,532 - octoprint.server - INFO - Trying to connect to configured serial port /dev/PRUSAMK3S
2020-11-19 14:38:16,604 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial connection"
2020-11-19 14:38:16,608 - octoprint.util.comm - INFO - Connecting to port /dev/PRUSAMK3S, baudrate 115200
2020-11-19 14:38:16,624 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2020-11-19 14:38:16,634 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2020-11-19 14:38:16,640 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial connection" to "Connecting"
2020-11-19 14:38:16,646 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-11-19 14:38:16,670 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on octopi for SSDP
2020-11-19 14:38:16,771 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2020-11-19 14:38:16,799 - octoprint.plugins.announcements - INFO - Looks like we are offline, can't fetch announcements for channel _important from network
2020-11-19 14:38:16,809 - octoprint.plugins.announcements - INFO - Looks like we are offline, can't fetch announcements for channel _releases from network
2020-11-19 14:38:16,812 - octoprint.plugins.announcements - INFO - Looks like we are offline, can't fetch announcements for channel _blog from network
2020-11-19 14:38:16,814 - octoprint.plugins.announcements - INFO - Looks like we are offline, can't fetch announcements for channel _plugins from network
2020-11-19 14:38:16,833 - octoprint.plugins.announcements - INFO - Looks like we are offline, can't fetch announcements for channel _octopi from network
2020-11-19 14:38:16,924 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-11-19 14:38:17,705 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-11-19 14:38:18,851 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python -m pip" as command to invoke pip
2020-11-19 14:38:18,870 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python3.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-11-19 14:38:18,870 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-11-19 14:38:18,882 - octoprint.plugins.softwareupdate - INFO - Minimum free storage across all update relevant locations is 25.4GB. That is considered sufficient for updating.
2020-11-19 14:38:18,930 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity changed from offline to online
2020-11-19 14:38:19,056 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-11-19 14:38:19,130 - octoprint.plugins.wifistatus - INFO - WiFiStatus loaded!
2020-11-19 14:38:19,870 - octoprint.plugins.announcements - INFO - Loaded channel _important from Important OctoPrint Announcements in 0.91s
2020-11-19 14:38:20,325 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'base_url': 'http://192.168.1.150/', 'path': '/', 'query_string': 'l10n=en'}
2020-11-19 14:38:20,610 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly
2020-11-19 14:38:21,468 - octoprint.plugins.announcements - INFO - Loaded channel _releases from OctoPrint Release Announcements in 0.62s
2020-11-19 14:38:21,723 - octoprint.plugins.pluginmanager - INFO - Loaded plugin notices data from https://plugins.octoprint.org/notices.json
2020-11-19 14:38:22,424 - octoprint.plugins.announcements - INFO - Loaded channel _blog from OctoBlog in 0.65s
2020-11-19 14:38:22,779 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-11-19 14:38:22,858 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational"
2020-11-19 14:38:22,866 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event
2020-11-19 14:38:22,867 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set
2020-11-19 14:38:22,877 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-11-19 14:38:22,914 - octoprint.util.comm - INFO - Printer reports firmware name "Prusa-Firmware 3.9.1 based on Marlin"
2020-11-19 14:38:23,108 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-11-19 14:38:23,187 - octoprint.plugins.announcements - INFO - Loaded channel _plugins from OctoPrint Plugin Repository in 0.6s
2020-11-19 14:38:24,026 - octoprint.plugins.announcements - INFO - Loaded channel _octopi from OctoPi Announcements in 0.66s
2020-11-19 14:38:26,447 - octoprint.server.util.flask - INFO - Passively logging in user mastav from ::ffff:192.168.1.227
2020-11-19 14:38:26,448 - octoprint.access.users - INFO - Logged in user: mastav
2020-11-19 14:38:51,612 - octoprint.server.preemptive_cache - INFO - ... done in 19.72s
2020-11-19 14:38:54,739 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.227
2020-11-19 14:38:54,836 - octoprint.server.util.flask - INFO - Passively logging in user mastav from ::ffff:192.168.1.227
2020-11-19 14:38:54,836 - octoprint.access.users - INFO - Logged in user: mastav
2020-11-19 14:38:58,566 - octoprint.server.util.sockjs - INFO - User mastav logged in on the socket from client ::ffff:192.168.1.227

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

I am using a rpi 3b+ running 3 instances. It only happens on the instance running the prusa mk3s on the primary instance. I am using a windows 10 NUC using google chrome. Octoprintint is using the latest version of python.

I started in safe mode and it reasolved the issue. but in normal mode it still does the same thing.

This means that it was a plugin issue. Try disabling all 3rd party plugins, then enabling 1 by 1 to see if you can find the one with the issue.

1 Like

anxiously awaiting to see if it's a thumbnail issue...