Octoprint server hangs on startup - Debian Jesse


#1

What is the problem?
Hi, I'm following the instruction on this website to install OctoPrint server on my desktop computer, which is permanently attached to my printer (Creality Ender 3) via USB. Everything goes well until the point when I try to start the server:
/home/leeko/venv/bin/octoprint serve

The command line looks like it wants to start, but hangs up at this point:

leeko@leekobunsen:~/venv/bin$ /home/leeko/venv/bin/octoprint serve
2019-01-26 12:05:59,041 - octoprint.startup - INFO - ******************************************************************************
2019-01-26 12:05:59,041 - octoprint.startup - INFO - Starting OctoPrint 1.3.10
2019-01-26 12:05:59,041 - octoprint.startup - INFO - ******************************************************************************
2019-01-26 12:05:59,052 - octoprint.plugin.core - INFO - Loading plugins from /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins, /home/leeko/.octoprint/plugins and installed plugin packages...
2019-01-26 12:05:59,270 - octoprint.plugin.core - INFO - Plugin Pi Support Plugin did not pass check, not loading.
2019-01-26 12:05:59,278 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2019-01-26 12:05:59,281 - octoprint.plugin.core - INFO - Found 14 plugin(s) providing 14 mixin implementations, 17 hook handlers
2019-01-26 12:05:59,297 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2019-01-26 12:05:59,301 - octoprint.server - INFO - Intermediary server started
2019-01-26 12:05:59,302 - octoprint.plugin.core - INFO - Loading plugins from /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins, /home/leeko/.octoprint/plugins and installed plugin packages...
2019-01-26 12:05:59,304 - octoprint.plugin.core - INFO - Plugin Pi Support Plugin did not pass check, not loading.
2019-01-26 12:05:59,311 - octoprint.plugin.core - INFO - Found 14 plugin(s) providing 14 mixin implementations, 17 hook handlers
2019-01-26 12:05:59,316 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/leeko/.octoprint/uploads...
2019-01-26 12:05:59,316 - octoprint.filemanager.storage - INFO - ... file metadata for /home/leeko/.octoprint/uploads initialized successfully.
2019-01-26 12:05:59,321 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2019-01-26 12:05:59,557 - octoprint.util.pip - INFO - Using "/home/leeko/venv/bin/python2 -m pip" as command to invoke pip
2019-01-26 12:05:59,840 - octoprint.util.pip - INFO - Version of pip is 19.0.1
2019-01-26 12:05:59,841 - octoprint.util.pip - INFO - pip installs to /home/leeko/venv/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2019-01-26 12:05:59,841 - octoprint.util.pip - INFO - ==> pip ok -> yes
2019-01-26 12:05:59,842 - octoprint.plugin.core - INFO - Initialized 14 plugin implementation(s)
2019-01-26 12:05:59,844 - octoprint.plugin.core - INFO - 14 plugin(s) registered with the system:
|  Action Command Prompt Support (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/backup
|  Core Wizard (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/corewizard
|  CuraEngine (<= 15.04) (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/cura
|  Discovery (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/discovery
|  Force Login (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/forcelogin
|  Logging (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/logging
|  Plugin Manager (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
|  Printer Safety Check (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
|  Software Update (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
|  Virtual Printer (bundled) = /home/leeko/venv/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2019-01-26 12:05:59,846 - octoprint.environment - INFO - Detected environment is Python 2.7.9 under Linux (linux2). Details:
|  hardware:
|    cores: 4
|    freq: 3400.0
|    ram: 8260616192
|  os:
|    id: linux
|    platform: linux2
|  python:
|    pip: 19.0.1
|    version: 2.7.9
|    virtualenv: /home/leeko/venv
2019-01-26 12:05:59,847 - octoprint.server - INFO - Reset webasset folder /home/leeko/.octoprint/generated/webassets...
2019-01-26 12:05:59,848 - octoprint.server - INFO - Reset webasset folder /home/leeko/.octoprint/generated/.webassets-cache...
2019-01-26 12:05:59,884 - octoprint.server - INFO - Shutting down intermediary server...
2019-01-26 12:06:00,303 - octoprint.server - INFO - Intermediary server shut down
2019-01-26 12:06:00,304 - octoprint.events - INFO - Processing startup event, this is our first event
2019-01-26 12:06:00,304 - octoprint.events - INFO - Adding 0 events to queue that were held back before startup event
2019-01-26 12:06:00,305 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2019-01-26 12:06:00,307 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2019-01-26 12:06:00,309 - 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-26 12:06:00,312 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on leekobunsen for SSDP
2019-01-26 12:06:00,313 - octoprint.server - INFO - Listening on http://[::]:5000
2019-01-26 12:06:00,326 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2019-01-26 12:06:00,380 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2019-01-26 12:06:00,648 - octoprint.util.pip - INFO - Using "/home/leeko/venv/bin/python2 -m pip" as command to invoke pip
2019-01-26 12:06:00,648 - octoprint.util.pip - INFO - pip installs to /home/leeko/venv/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2019-01-26 12:06:00,648 - octoprint.util.pip - INFO - ==> pip ok -> yes

After that point, I'm not sure what to do next.

What did you already try to solve it?
I'm not sure what the next step should be.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

OctoPrint version is: 1.3.10
Printer: Ender 3, Creality

Thanks in advance,

Leeko


#2

Never mind! I found the solution here - I had the same brainfart, and wasn't using :5000 after the IP to access it. It was already running.

Thanks anyway!

leeko