Skip to content

Instantly share code, notes, and snippets.

@hgross
Created January 7, 2019 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hgross/41fa4272b9549260c5a29a87b8a5ac03 to your computer and use it in GitHub Desktop.
Save hgross/41fa4272b9549260c5a29a87b8a5ac03 to your computer and use it in GitHub Desktop.
octoprint restore issue with basedir on docker-mounted volume
2019-01-07 19:54:51,558 - octoprint.startup - INFO - ******************************************************************************
2019-01-07 19:54:51,561 - octoprint.startup - INFO - Starting OctoPrint 1.3.10
2019-01-07 19:54:51,563 - octoprint.startup - INFO - ******************************************************************************
2019-01-07 19:54:51,714 - octoprint.plugin.core - INFO - Loading plugins from /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins, /data/octorpint-data/plugins and installed plugin packages...
2019-01-07 19:54:54,705 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2019-01-07 19:54:54,720 - octoprint.plugin.core - INFO - Found 23 plugin(s) providing 23 mixin implementations, 33 hook handlers
2019-01-07 19:54:54,725 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2019-01-07 19:54:55,233 - octoprint.server - INFO - Intermediary server started
2019-01-07 19:54:55,233 - octoprint.plugin.core - INFO - Loading plugins from /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins, /data/octorpint-data/plugins and installed plugin packages...
2019-01-07 19:54:55,280 - octoprint.plugin.core - INFO - Found 23 plugin(s) providing 23 mixin implementations, 33 hook handlers
2019-01-07 19:54:55,282 - octoprint.printer.profile - ERROR - Profile _default does not exist, creating _default again and setting it as default
2019-01-07 19:54:55,363 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /data/octorpint-data/uploads...
2019-01-07 19:54:55,365 - octoprint.filemanager.storage - INFO - ... file metadata for /data/octorpint-data/uploads initialized successfully.
2019-01-07 19:54:55,369 - octoprint.printer.standard - INFO - Using print time estimator provided by PrintTimeGenius
2019-01-07 19:54:56,567 - octoprint.util.pip - INFO - Using "/usr/bin/python -m pip" as command to invoke pip
2019-01-07 19:54:57,431 - octoprint.util.pip - INFO - Version of pip is 1.5.6
2019-01-07 19:54:57,432 - octoprint.util.pip - INFO - pip installs to /usr/lib/python2.7/dist-packages (writable -> yes), --user flag needed -> no, virtual env -> no
2019-01-07 19:54:57,433 - octoprint.util.pip - INFO - ==> pip ok -> yes
2019-01-07 19:55:00,001 - octoprint.plugin.core - INFO - Initialized 23 plugin implementation(s)
2019-01-07 19:55:00,158 - octoprint.plugin.core - INFO - 23 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/announcements
| Anonymous Usage Tracking (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/tracking
| Application Keys Plugin (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/appkeys
| Backup & Restore (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/backup
| Core Wizard (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/corewizard
| Cost Estimation (2.1.2) = /usr/local/lib/python2.7/dist-packages/octoprint_costestimation
| CuraEngine (<= 15.04) (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/cura
| Discovery (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/discovery
| DisplayProgress (0.1.2) = /usr/local/lib/python2.7/dist-packages/octoprint_displayprogress
| Filament Manager (0.5.3) = /usr/local/lib/python2.7/dist-packages/octoprint_filamentmanager
| Force Login (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/forcelogin
| Logging (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/logging
| Pi Support Plugin (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/pi_support
| Plugin Manager (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/pluginmanager
| Preheat Button (0.2.0) = /usr/local/lib/python2.7/dist-packages/octoprint_preheat
| Print History Plugin (1.2) = /usr/local/lib/python2.7/dist-packages/octoprint_printhistory
| Printer Safety Check (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/printer_safety_check
| PrintTimeGenius Plugin (1.3) = /usr/local/lib/python2.7/dist-packages/octoprint_PrintTimeGenius
| Software Update (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/softwareupdate
| TouchUI (0.3.12) = /usr/local/lib/python2.7/dist-packages/octoprint_touchui
| Tuya Smartplug (0.1.0) = /usr/local/lib/python2.7/dist-packages/octoprint_tuyasmartplug
| Virtual Printer (bundled) = /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/virtual_printer
2019-01-07 19:55:00,169 - octoprint.environment - INFO - Detected environment is Python 2.7.9 under Linux (linux2). Details:
| hardware:
| cores: 4
| freq: 1400.0
| ram: 906694656
| os:
| id: linux
| platform: linux2
| plugins:
| pi_support:
| model: Raspberry Pi 3 Model B Plus Rev 1.3
| python:
| pip: '18.1'
| version: 2.7.9
2019-01-07 19:55:00,176 - octoprint.server - INFO - Reset webasset folder /data/octorpint-data/generated/webassets...
2019-01-07 19:55:00,177 - octoprint.server - INFO - Reset webasset folder /data/octorpint-data/generated/.webassets-cache...
2019-01-07 19:55:00,551 - octoprint.server - INFO - Shutting down intermediary server...
2019-01-07 19:55:01,053 - octoprint.server - INFO - Intermediary server shut down
2019-01-07 19:55:01,060 - octoprint.events - INFO - Processing startup event, this is our first event
2019-01-07 19:55:01,062 - octoprint.events - INFO - Adding 0 events to queue that were held back before startup event
2019-01-07 19:55:01,127 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2019-01-07 19:55:01,130 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2019-01-07 19:55:01,138 - octoprint.plugins.cura - INFO - Path to CuraEngine has not been configured or does not exist (currently set to None), Cura will not be selectable for slicing
2019-01-07 19:55:01,148 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on raspberrypi3-7e13336 for SSDP
2019-01-07 19:55:01,205 - octoprint.server - INFO - Listening on http://[::]:5000
2019-01-07 19:55:01,479 - octoprint.plugins.announcements - INFO - Loaded channel _important from https://octoprint.org/feeds/important.xml in 0.25s
2019-01-07 19:55:01,671 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from https://plugins.octoprint.org/plugins.json
2019-01-07 19:55:01,688 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.3.27
2019-01-07 19:55:01,944 - octoprint.plugins.announcements - INFO - Loaded channel _releases from https://octoprint.org/feeds/releases.xml in 0.2s
2019-01-07 19:55:02,201 - octoprint.plugins.pluginmanager - INFO - Loaded plugin notices data from https://plugins.octoprint.org/notices.json
2019-01-07 19:55:02,374 - octoprint.plugins.announcements - INFO - Loaded channel _blog from https://octoprint.org/feeds/octoblog.xml in 0.37s
2019-01-07 19:55:02,684 - octoprint.plugins.announcements - INFO - Loaded channel _plugins from https://plugins.octoprint.org/feed.xml in 0.24s
2019-01-07 19:55:03,020 - octoprint.plugins.announcements - INFO - Loaded channel _octopi from https://octoprint.org/feeds/octopi.xml in 0.25s
2019-01-07 19:55:03,471 - octoprint.util.pip - INFO - Using "/usr/bin/python -m pip" as command to invoke pip
2019-01-07 19:55:03,472 - octoprint.util.pip - INFO - pip installs to /usr/lib/python2.7/dist-packages (writable -> yes), --user flag needed -> no, virtual env -> no
2019-01-07 19:55:03,472 - octoprint.util.pip - INFO - ==> pip ok -> yes
2019-01-07 19:55:04,564 - octoprint.server.util.flask.PreemptiveCache - INFO - Adding entry for / and {'query_string': 'l10n=de', 'path': u'/', '_count': 1, '_timestamp': 1546890904.56463, 'base_url': 'http://192.168.3.66/octoprint/'}
2019-01-07 19:55:05,807 - octoprint.util.pip - INFO - Using "/usr/bin/python -m pip" as command to invoke pip
2019-01-07 19:55:06,041 - octoprint.util.pip - INFO - Using "/usr/bin/python -m pip" as command to invoke pip
2019-01-07 19:55:06,116 - octoprint.util.pip - INFO - Using "/usr/bin/python -m pip" as command to invoke pip
2019-01-07 19:55:06,433 - octoprint.util.pip - INFO - Using "/usr/bin/python -m pip" as command to invoke pip
2019-01-07 19:55:06,535 - octoprint.util.pip - INFO - Using "/usr/bin/python -m pip" as command to invoke pip
2019-01-07 19:55:15,634 - octoprint.util.pip - INFO - pip installs to /usr/local/lib/python2.7/dist-packages/ (writable -> yes), --user flag needed -> no, virtual env -> no
2019-01-07 19:55:15,635 - octoprint.util.pip - INFO - ==> pip ok -> yes
2019-01-07 19:55:16,836 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2019-01-07 19:55:16,841 - octoprint.plugins.tuyasmartplug - INFO - TuyaSmartplug loaded!
2019-01-07 19:55:16,879 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://192.168.3.66/octoprint/'}
2019-01-07 19:55:42,688 - octoprint.server.preemptive_cache - INFO - ... done in 25.81s
2019-01-07 19:55:43,477 - octoprint.server.util.sockjs - INFO - Client connection closed: 192.168.3.27
2019-01-07 19:55:48,714 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.3.27
2019-01-07 19:56:53,382 - octoprint.server.api - INFO - Actively logging in user henna from 192.168.3.27
2019-01-07 19:56:54,855 - octoprint.server.util.sockjs - INFO - User henna logged in on the socket from client 192.168.3.27
2019-01-07 19:58:13,909 - octoprint.plugins.backup - INFO - Unpacking backup to /tmp/tmpYhY_SP...
2019-01-07 19:58:16,332 - octoprint.plugins.backup - INFO - Unpacked
2019-01-07 19:58:16,337 - octoprint.plugins.backup - INFO - Renaming /data/octorpint-data to /data/octorpint-data.bck...
2019-01-07 19:58:16,339 - octoprint.plugins.backup - INFO - Moving /tmp/tmpYhY_SP/basedir to /data/octorpint-data...
2019-01-07 19:58:16,341 - octoprint.plugins.backup - ERROR - Error while restoring config data
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins/backup/__init__.py", line 828, in _restore_backup
os.rename(basedir_extracted, basedir)
OSError: [Errno 18] Invalid cross-device link
2019-01-07 19:58:16,345 - octoprint.plugins.backup - ERROR - Rolling back old config data
2019-01-07 19:58:16,347 - octoprint.plugins.backup - INFO - Removing temporary unpacked folder
2019-01-07 19:58:36,943 - octoprint.plugins.backup - INFO - Removing temporary zip
2019-01-07 20:09:54,728 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2019-01-07 20:24:54,731 - octoprint.server.heartbeat - INFO - Server heartbeat <3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment