The 'pip' command could not be found or does not correctly work for this installation of OctoPrint


#1

The pip command could not be found or does not work correctly for this installation of OctoPrint - please consult the log file for details and if necessary configure it manually. No installation and uninstallation of plugin packages is possible while pip is unavailable.

i have tried running pip install --upgrade within the venv and it does seem to say that pip is updated and installed, i suspect it's a user permission issue though I'm not 100% familar with linux environments.

running on Debian 9, standard octoprint installation following the raspbian instructions.

I have attached the log below

2018-10-08 17:31:33,109 - octoprint.startup - INFO - ******************************************************************************
2018-10-08 17:31:33,110 - octoprint.startup - INFO - Starting OctoPrint 1.3.9
2018-10-08 17:31:33,111 - octoprint.startup - INFO - ******************************************************************************
2018-10-08 17:31:33,695 - octoprint.plugin.core - INFO - Loading plugins from /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins, /home/octoprint/.octoprint/plugins and installed plugin packages...
2018-10-08 17:31:34,290 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-10-08 17:31:34,762 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2018-10-08 17:31:34,767 - octoprint.plugin.core - INFO - Found 10 plugin(s) providing 10 mixin implementations, 8 hook handlers
2018-10-08 17:31:34,825 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2018-10-08 17:31:34,858 - octoprint.server - INFO - Intermediary server started
2018-10-08 17:31:34,859 - octoprint.plugin.core - INFO - Loading plugins from /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins, /home/octoprint/.octoprint/plugins and installed plugin packages...
2018-10-08 17:31:34,865 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-10-08 17:31:35,161 - octoprint.plugin.core - INFO - Found 10 plugin(s) providing 10 mixin implementations, 8 hook handlers
2018-10-08 17:31:35,162 - octoprint.printer.profile - ERROR - Profile _default does not exist, creating _default again and setting it as default
2018-10-08 17:31:35,216 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/octoprint/.octoprint/uploads...
2018-10-08 17:31:35,217 - octoprint.filemanager.storage - INFO - ... file metadata for /home/octoprint/.octoprint/uploads initialized successfully.
2018-10-08 17:31:36,069 - octoprint.util.pip - INFO - Using "/home/octoprint/OctoPrint/venv/bin/python2 -m pip" as command to invoke pip
2018-10-08 17:31:36,797 - octoprint.util.pip - INFO - Version of pip is 18.1
2018-10-08 17:31:36,798 - octoprint.util.pip - INFO - pip installs to /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages (writable -> no), --user flag needed -> no, virtual env -> yes
2018-10-08 17:31:36,799 - octoprint.util.pip - INFO - ==> pip ok -> NO!
2018-10-08 17:31:36,799 - octoprint.util.pip - ERROR - Cannot use this pip install, can't write to the install dir and also can't use --user for installing. Check your setup and the permissions on /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages.
2018-10-08 17:31:36,802 - octoprint.plugin.core - INFO - Initialized 10 plugin implementation(s)
2018-10-08 17:31:36,834 - octoprint.plugin.core - INFO - 10 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/announcements
| Core Wizard (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/corewizard
| CuraEngine (<= 15.04) (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/cura
| Discovery (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/discovery
| Logging (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/logging
| Plugin Manager (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
| Printer Safety Check (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| Software Update (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2018-10-08 17:31:36,843 - octoprint.environment - INFO - Detected environment is Python 2.7.13 under Linux (linux2). Details:
| hardware:
| cores: 2
| freq: 2415.7
| ram: 4016287744
| os:
| id: linux
| platform: linux2
| python:
| pip: '18.1'
| version: 2.7.13
| virtualenv: /home/octoprint/OctoPrint/venv
2018-10-08 17:31:36,848 - octoprint.server - INFO - Reset webasset folder /home/octoprint/.octoprint/generated/webassets...
2018-10-08 17:31:36,849 - octoprint.server - INFO - Reset webasset folder /home/octoprint/.octoprint/generated/.webassets-cache...
2018-10-08 17:31:36,971 - octoprint.server - INFO - Shutting down intermediary server...
2018-10-08 17:31:37,362 - octoprint.server - INFO - Intermediary server shut down
2018-10-08 17:31:37,370 - octoprint.events - INFO - Processing startup event, this is our first event
2018-10-08 17:31:37,371 - octoprint.events - INFO - Adding 0 events to queue that were held back before startup event
2018-10-08 17:31:37,374 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2018-10-08 17:31:37,378 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2018-10-08 17:31:37,382 - 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
2018-10-08 17:31:37,388 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on fsaeoctoprint for SSDP
2018-10-08 17:31:37,391 - octoprint.server - INFO - Listening on ://[::]:5000
2018-10-08 17:31:38,806 - octoprint.plugins.announcements - INFO - Loaded channel _important from s://octoprint.org/feeds/important.xml in 1.4s
2018-10-08 17:31:39,165 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from s://plugins.octoprint.org/plugins.json
2018-10-08 17:31:39,697 - octoprint.util.pip - INFO - Using "/home/octoprint/OctoPrint/venv/bin/python2 -m pip" as command to invoke pip
2018-10-08 17:31:40,468 - octoprint.plugins.announcements - INFO - Loaded channel _releases from s://octoprint.org/feeds/releases.xml in 1.5s
2018-10-08 17:31:40,890 - octoprint.plugins.pluginmanager - INFO - Loaded plugin notices data from s://plugins.octoprint.org/notices.json
2018-10-08 17:31:42,075 - octoprint.plugins.announcements - INFO - Loaded channel _blog from s://octoprint.org/feeds/octoblog.xml in 1.6s
2018-10-08 17:31:42,124 - octoprint.util.pip - INFO - pip installs to /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/ (writable -> no), --user flag needed -> no, virtual env -> yes
2018-10-08 17:31:42,124 - octoprint.util.pip - INFO - ==> pip ok -> NO!
2018-10-08 17:31:42,125 - octoprint.util.pip - ERROR - Cannot use this pip install, can't write to the install dir and also can't use --user for installing. Check your setup and the permissions on /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/.
2018-10-08 17:31:42,139 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2018-10-08 17:31:43,712 - octoprint.plugins.announcements - INFO - Loaded channel _plugins from s://plugins.octoprint.org/feed.xml in 1.6s
2018-10-08 17:31:45,282 - octoprint.plugins.announcements - INFO - Loaded channel _octopi from s://octoprint.org/feeds/octopi.xml in 1.5s
2018-10-08 17:34:57,997 - octoprint.server.util.flask.PreemptiveCache - INFO - Adding entry for / and {'query_string': 'l10n=en', 'path': u'/', '_count': 1, '_timestamp': 1538982297.997526, 'base_url': '://localhost:5000/'}
2018-10-08 17:35:07,805 - octoprint.server.util.sockjs - INFO - New connection from client: ::1
2018-10-08 17:36:13,183 - tornado.access - WARNING - 404 GET /webcam/?action=stream (::1) 12.00ms
2018-10-08 17:38:26,647 - octoprint.server.util.sockjs - INFO - Client connection closed: ::1
2018-10-08 17:38:31,054 - octoprint.server.util.sockjs - INFO - New connection from client: ::1
2018-10-08 17:40:41,759 - octoprint.server - INFO - Shutting down...
2018-10-08 17:40:42,598 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2018-10-08 17:40:42,607 - octoprint.events - INFO - Event loop shut down
2018-10-08 17:40:42,610 - octoprint.server - INFO - Goodbye!
2018-10-08 17:47:20,172 - octoprint.startup - INFO - ******************************************************************************
2018-10-08 17:47:20,174 - octoprint.startup - INFO - Starting OctoPrint 1.3.9
2018-10-08 17:47:20,174 - octoprint.startup - INFO - ******************************************************************************
2018-10-08 17:47:20,741 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
2018-10-08 17:47:24,175 - octoprint.startup - INFO - Blacklist processing done
2018-10-08 17:47:24,198 - octoprint.plugin.core - INFO - Loading plugins from /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins, /home/octoprint/.octoprint/plugins and installed plugin packages...
2018-10-08 17:47:24,661 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-10-08 17:47:25,133 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2018-10-08 17:47:25,139 - octoprint.plugin.core - INFO - Found 10 plugin(s) providing 10 mixin implementations, 8 hook handlers
2018-10-08 17:47:25,196 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2018-10-08 17:47:25,219 - octoprint.server - INFO - Intermediary server started
2018-10-08 17:47:25,220 - octoprint.plugin.core - INFO - Loading plugins from /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins, /home/octoprint/.octoprint/plugins and installed plugin packages...
2018-10-08 17:47:25,225 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-10-08 17:47:25,536 - octoprint.plugin.core - INFO - Found 10 plugin(s) providing 10 mixin implementations, 8 hook handlers
2018-10-08 17:47:25,557 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/octoprint/.octoprint/uploads...
2018-10-08 17:47:25,558 - octoprint.filemanager.storage - INFO - ... file metadata for /home/octoprint/.octoprint/uploads initialized successfully.
2018-10-08 17:47:25,579 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2018-10-08 17:47:26,358 - octoprint.util.pip - INFO - Using "/home/octoprint/OctoPrint/venv/bin/python2 -m pip" as command to invoke pip
2018-10-08 17:47:27,132 - octoprint.util.pip - INFO - Version of pip is 18.1
2018-10-08 17:47:27,133 - octoprint.util.pip - INFO - pip installs to /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages (writable -> no), --user flag needed -> no, virtual env -> yes
2018-10-08 17:47:27,134 - octoprint.util.pip - INFO - ==> pip ok -> NO!
2018-10-08 17:47:27,135 - octoprint.util.pip - ERROR - Cannot use this pip install, can't write to the install dir and also can't use --user for installing. Check your setup and the permissions on /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages.
2018-10-08 17:47:27,137 - octoprint.plugin.core - INFO - Initialized 10 plugin implementation(s)
2018-10-08 17:47:27,142 - octoprint.plugin.core - INFO - 10 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/announcements
| Core Wizard (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/corewizard
| CuraEngine (<= 15.04) (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/cura
| Discovery (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/discovery
| Logging (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/logging
| Plugin Manager (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
| Printer Safety Check (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| Software Update (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2018-10-08 17:47:27,153 - octoprint.environment - INFO - Detected environment is Python 2.7.13 under Linux (linux2). Details:
| hardware:
| cores: 2
| freq: 2415.7
| ram: 4016287744
| os:
| id: linux
| platform: linux2
| python:
| pip: '18.1'
| version: 2.7.13
| virtualenv: /home/octoprint/OctoPrint/venv
2018-10-08 17:47:27,160 - octoprint.server - INFO - Reset webasset folder /home/octoprint/.octoprint/generated/webassets...
2018-10-08 17:47:27,173 - octoprint.server - INFO - Reset webasset folder /home/octoprint/.octoprint/generated/.webassets-cache...
2018-10-08 17:47:27,271 - octoprint.server - INFO - Shutting down intermediary server...
2018-10-08 17:47:27,724 - octoprint.server - INFO - Intermediary server shut down
2018-10-08 17:47:27,732 - octoprint.events - INFO - Processing startup event, this is our first event
2018-10-08 17:47:27,733 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup event
2018-10-08 17:47:27,737 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2018-10-08 17:47:27,738 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2018-10-08 17:47:27,773 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2018-10-08 17:47:27,972 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2018-10-08 17:47:28,125 - 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
2018-10-08 17:47:28,175 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on fsaeoctoprint for SSDP
2018-10-08 17:47:28,176 - octoprint.server - INFO - Listening on ://[::]:5000
2018-10-08 17:47:28,251 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2018-10-08 17:47:28,344 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': '://localhost:5000/'}
2018-10-08 17:47:28,491 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2018-10-08 17:47:33,921 - octoprint.server.preemptive_cache - INFO - ... done in 5.58s
2018-10-08 17:47:38,780 - octoprint.server.util.sockjs - INFO - New connection from client: ::1
2018-10-08 17:47:40,159 - octoprint.server.util.sockjs - INFO - Client connection closed: ::1
2018-10-08 17:47:44,484 - octoprint.server.util.sockjs - INFO - New connection from client: ::1
2018-10-08 17:47:59,735 - octoprint.utilm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2018-10-08 17:47:59,747 - octoprint.utilm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port"
2018-10-08 17:47:59,759 - octoprint.utilm - INFO - Changing monitoring state from "Opening serial port" to "Detecting baudrate"
2018-10-08 17:48:00,768 - octoprint.utilm - INFO - M110 detected, setting current line number to 0
2018-10-08 17:48:00,874 - octoprint.utilm - INFO - Changing monitoring state from "Detecting baudrate" to "Operational"
2018-10-08 17:48:00,884 - octoprint.utilm - INFO - M110 detected, setting current line number to 0
2018-10-08 17:48:02,987 - octoprint.utilm - INFO - Printer seems to support the busy protocol, telling it to set the busy interval to our "communicationBusy" timeout - 1s = 2s
2018-10-08 17:48:09,531 - octoprint.utilm - INFO - Got a resend request for line 1 which is also our current line. It looks like we just handled a reset and this is a left over of this
2018-10-08 17:48:09,558 - octoprint.utilm - INFO - Printer reports firmware name "Prusa-Firmware 3.4.1 based on Marlin"
2018-10-08 17:48:15,799 - octoprint.server.util.sockjs - INFO - Client connection closed: ::1
2018-10-08 17:48:15,926 - octoprint.server.util.sockjs - INFO - New connection from client: ::1
2018-10-08 17:49:50,330 - octoprint.server - INFO - Shutting down...
2018-10-08 17:49:51,189 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2018-10-08 17:49:51,193 - octoprint.events - INFO - Event loop shut down
2018-10-08 17:49:51,210 - octoprint.server - INFO - Goodbye!
2018-10-08 17:49:59,711 - octoprint.startup - INFO - ******************************************************************************
2018-10-08 17:49:59,712 - octoprint.startup - INFO - Starting OctoPrint 1.3.9
2018-10-08 17:49:59,713 - octoprint.startup - INFO - ******************************************************************************
2018-10-08 17:50:00,307 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
2018-10-08 17:50:00,313 - octoprint.startup - INFO - Blacklist processing done
2018-10-08 17:50:00,344 - octoprint.plugin.core - INFO - Loading plugins from /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins, /home/octoprint/.octoprint/plugins and installed plugin packages...
2018-10-08 17:50:00,860 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-10-08 17:50:01,340 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2018-10-08 17:50:01,346 - octoprint.plugin.core - INFO - Found 10 plugin(s) providing 10 mixin implementations, 8 hook handlers
2018-10-08 17:50:01,406 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2018-10-08 17:50:01,428 - octoprint.server - INFO - Intermediary server started
2018-10-08 17:50:01,428 - octoprint.plugin.core - INFO - Loading plugins from /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins, /home/octoprint/.octoprint/plugins and installed plugin packages...
2018-10-08 17:50:01,434 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-10-08 17:50:01,745 - octoprint.plugin.core - INFO - Found 10 plugin(s) providing 10 mixin implementations, 8 hook handlers
2018-10-08 17:50:01,768 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/octoprint/.octoprint/uploads...
2018-10-08 17:50:01,769 - octoprint.filemanager.storage - INFO - ... file metadata for /home/octoprint/.octoprint/uploads initialized successfully.
2018-10-08 17:50:01,793 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2018-10-08 17:50:02,532 - octoprint.util.pip - INFO - Using "/home/octoprint/OctoPrint/venv/bin/python2 -m pip" as command to invoke pip
2018-10-08 17:50:03,330 - octoprint.util.pip - INFO - Version of pip is 18.1
2018-10-08 17:50:03,332 - octoprint.util.pip - INFO - pip installs to /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages (writable -> no), --user flag needed -> no, virtual env -> yes
2018-10-08 17:50:03,332 - octoprint.util.pip - INFO - ==> pip ok -> NO!
2018-10-08 17:50:03,333 - octoprint.util.pip - ERROR - Cannot use this pip install, can't write to the install dir and also can't use --user for installing. Check your setup and the permissions on /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages.
2018-10-08 17:50:03,336 - octoprint.plugin.core - INFO - Initialized 10 plugin implementation(s)
2018-10-08 17:50:03,341 - octoprint.plugin.core - INFO - 10 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/announcements
| Core Wizard (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/corewizard
| CuraEngine (<= 15.04) (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/cura
| Discovery (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/discovery
| Logging (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/logging
| Plugin Manager (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
| Printer Safety Check (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| Software Update (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2018-10-08 17:50:03,352 - octoprint.environment - INFO - Detected environment is Python 2.7.13 under Linux (linux2). Details:
| hardware:
| cores: 2
| freq: 2415.7
| ram: 4016287744
| os:
| id: linux
| platform: linux2
| python:
| pip: '18.1'
| version: 2.7.13
| virtualenv: /home/octoprint/OctoPrint/venv
2018-10-08 17:50:03,358 - octoprint.server - INFO - Reset webasset folder /home/octoprint/.octoprint/generated/webassets...
2018-10-08 17:50:03,371 - octoprint.server - INFO - Reset webasset folder /home/octoprint/.octoprint/generated/.webassets-cache...
2018-10-08 17:50:03,472 - octoprint.server - INFO - Shutting down intermediary server...
2018-10-08 17:50:03,933 - octoprint.server - INFO - Intermediary server shut down
2018-10-08 17:50:03,937 - octoprint.events - INFO - Processing startup event, this is our first event
2018-10-08 17:50:03,940 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup event
2018-10-08 17:50:03,945 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2018-10-08 17:50:03,949 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2018-10-08 17:50:03,984 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2018-10-08 17:50:04,174 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2018-10-08 17:50:04,270 - 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
2018-10-08 17:50:04,363 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on fsaeoctoprint for SSDP
2018-10-08 17:50:04,369 - octoprint.server - INFO - Listening on ://[::]:5000
2018-10-08 17:50:04,431 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2018-10-08 17:50:04,639 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=en', 'path': '/', 'base_url': '://localhost:5000/'}
2018-10-08 17:50:04,809 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2018-10-08 17:50:06,805 - octoprint.server.util.sockjs - INFO - New connection from client: ::1
2018-10-08 17:50:10,484 - octoprint.server.preemptive_cache - INFO - ... done in 5.85s
2018-10-08 17:50:21,112 - octoprint.server.util.sockjs - INFO - Client connection closed: ::1
2018-10-08 17:50:22,830 - octoprint.server.util.sockjs - INFO - New connection from client: ::1
2018-10-08 17:50:45,025 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from s://plugins.octoprint.org/plugins.json
2018-10-08 17:50:47,108 - octoprint.plugins.pluginmanager - INFO - Loaded plugin notices data from s://plugins.octoprint.org/notices.json
2018-10-08 17:50:55,629 - octoprint.server - INFO - Shutting down...
2018-10-08 17:50:56,288 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2018-10-08 17:50:56,299 - octoprint.events - INFO - Event loop shut down
2018-10-08 17:50:56,302 - octoprint.server - INFO - Goodbye!
2018-10-08 17:54:56,675 - octoprint.startup - INFO -


#2

I have also removed http because the forum was complaining about links.


#3

2018-10-08 17:31:36,799 - octoprint.util.pip - ERROR - Cannot use this pip install, can't write to the install dir and also can't use --user for installing. Check your setup and the permissions on /home/octoprint/OctoPrint/venv/lib/python2.7/site-packages.

this seems to be the issue however i don't know how to resolve it.


#4

Have you installed OctoPrint via OctoPi or onto an existing https://discourse.octoprint.org/t/setting-up-octoprint-on-a-raspberry-pi-running-raspbian/2337 installation?


#5

this isn't running on a rpi, it's running on an standard PC, thus running normal debian 9.
followed the standard raspbian installation procedure as raspian is based on debian.


#6
octoprint@fsaeoctoprint:~$ ls -ld OctoPrint/venv/lib/python2.7/site-packages/
drwxr-xr-x 126 root root 4096 Oct  8 14:39 OctoPrint/venv/lib/python2.7/site-packages/
octoprint@fsaeoctoprint:~$ id
uid=1000(octoprint) gid=1000(octoprint) groups=1000(octoprint),5(tty),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),108(netdev),114(bluetooth),115(lpadmin),119(scanner)
octoprint@fsaeoctoprint:~$ ps -ef | grep -i octoprint
avahi      320     1  0 17:51 ?        00:00:00 avahi-daemon: running [fsaeoctoprint.local]
octopri+  1098   949  1 17:54 pts/0    00:01:17 /home/octoprint/OctoPrint/venv/bin/python2 venv/bin/octoprint serve
octopri+  1158     1  0 17:56 ?        00:00:00 /usr/lib/libreoffice/program/oosplash --writer file:///tmp/mozilla_octoprint0/octoprint.log
octopri+  1175  1158  0 17:56 ?        00:00:17 /usr/lib/libreoffice/program/soffice.bin --writer file:///tmp/mozilla_octoprint0/octoprint.log --splash-pipe=5
octopri+  1743  1453  0 19:08 pts/2    00:00:00 grep -i octoprint
octoprint@fsaeoctoprint:~$ 

i suspect it's a user permission issue.
though i don't unfortunately know enough to diagnose.


#7

fixed the problem doing a

chown -R on the octoprint folder.

for future reference the python folder was owned by root, thus the normal user couldn't access pip.


#8

...noting of course that Raspbian out-of-the-box has the pi user setup already and Debian does not.