What is the problem?
I have installed Ocotprint on my Raspberry following these instructions Link
If I start the process: ~/Octo/venv/bin/octoprint serve
the web interface is accessible under ip:5000.
I start the service: sudo service octoprint restart
If the web interface is not accessible under ip:5000.
But according to the status the service is running. Does anyone have an idea what the error is?
pi@raspberrypi:~ $ sudo service octoprint start
pi@raspberrypi:~ $ sudo service octoprint status
โ octoprint.service - LSB: OctoPrint daemon
Loaded: loaded (/etc/init.d/octoprint; generated)
Active: active (exited) since Fri 2020-01-24 22:38:32 CET; 1s ago
Docs: man:systemd-sysv-generator(8)
Process: 27552 ExecStart=/etc/init.d/octoprint start (code=exited, status=0/SUCCESS)
Jan 24 22:38:32 raspberrypi systemd[1]: Starting LSB: OctoPrint daemon...
Jan 24 22:38:32 raspberrypi systemd[1]: Started LSB: OctoPrint daemon.
Logs
These are old logs, current is 24.1.2020 23:50
Summary
2020-01-24 11:00:38,940 - octoprint.startup - INFO - Starting OctoPrint 1.3.12
2020-01-24 11:00:38,942 - octoprint.startup - INFO - ******************************************************************************
2020-01-24 11:00:39,523 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
2020-01-24 11:00:39,557 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-01-24 11:00:41,277 - octoprint.plugins.octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2020-01-24 11:00:41,291 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 25 hook handlers
2020-01-24 11:00:41,549 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2020-01-24 11:00:41,595 - octoprint.server - INFO - Intermediary server started
2020-01-24 11:00:41,598 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-01-24 11:00:41,791 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 25 hook handlers
2020-01-24 11:00:41,839 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2020-01-24 11:00:42,423 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2020-01-24 11:00:42,476 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2020-01-24 11:00:43,556 - octoprint.util.pip - INFO - Using "/home/pi/Octo/venv/bin/python -m pip" as command to invoke pip
2020-01-24 11:00:44,467 - octoprint.util.pip - INFO - Version of pip is 20.0.1
2020-01-24 11:00:44,470 - octoprint.util.pip - INFO - pip installs to /home/pi/Octo/venv/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-01-24 11:00:44,471 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-01-24 11:00:44,483 - octoprint.plugin.core - INFO - Initialized 16 plugin implementation(s)
2020-01-24 11:00:44,506 - octoprint.plugin.core - INFO - 16 plugin(s) registered with the system:
| Action Command Prompt Support (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
| Announcement Plugin (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/announcements
| Anonymous Usage Tracking (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/tracking
| Application Keys Plugin (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/appkeys
| Backup & Restore (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/backup
| Core Wizard (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/corewizard
| Discovery (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/discovery
| Error Tracking (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/errortracking
| Force Login (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/forcelogin
| Logging (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/logging
| Malyan/Monoprice Connection Fix (0.1.3) = /home/pi/Octo/venv/local/lib/python2.7/site-packages/octoprint_malyan_connection_fix
| Pi Support Plugin (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/pi_support
| Plugin Manager (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
| Printer Safety Check (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| Software Update (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/pi/Octo/venv/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2020-01-24 11:00:44,530 - 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
| python:
| pip: 20.0.1
| version: 2.7.16
| virtualenv: /home/pi/Octo/venv
2020-01-24 11:00:44,548 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2020-01-24 11:00:44,571 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2020-01-24 11:00:45,760 - octoprint.server - INFO - Shutting down intermediary server...
2020-01-24 11:00:46,112 - octoprint.server - INFO - Intermediary server shut down
2020-01-24 11:00:46,116 - octoprint.events - INFO - Processing startup event, this is our first event
2020-01-24 11:00:46,118 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup event
2020-01-24 11:00:46,131 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2020-01-24 11:00:46,157 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-01-24 11:00:46,164 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2020-01-24 11:00:46,169 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2020-01-24 11:00:46,189 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2020-01-24 11:00:46,434 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on raspberrypi for SSDP
2020-01-24 11:00:46,673 - octoprint.server - INFO - Listening on http://0.0.0.0:5000 and http://[::]:5000
2020-01-24 11:00:46,745 - tornado.access - WARNING - 404 GET /intermediary.gif?_=1579860046464 (192.168.54.28) 50.32ms
2020-01-24 11:00:46,823 - octoprint.plugins.announcements - INFO - Loaded channel _important from https://octoprint.org/feeds/important.xml in 0.65s
2020-01-24 11:00:46,849 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-01-24 11:00:47,118 - octoprint.server.util.flask - INFO - Passively logging in user Woun from 192.168.54.28
2020-01-24 11:00:47,417 - octoprint.plugins.announcements - INFO - Loaded channel _important from https://octoprint.org/feeds/important.xml in 0.64s
2020-01-24 11:00:47,526 - tornado.access - WARNING - 404 GET /cached.gif?_=1579860046818 (192.168.54.28) 479.70ms
2020-01-24 11:00:47,531 - octoprint.plugins.pluginmanager - INFO - Loaded plugin notices data from https://plugins.octoprint.org/notices.json
2020-01-24 11:00:47,891 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-01-24 11:00:47,988 - octoprint.util.pip - INFO - Using "/home/pi/Octo/venv/bin/python -m pip" as command to invoke pip
2020-01-24 11:00:47,991 - octoprint.util.pip - INFO - pip installs to /home/pi/Octo/venv/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-01-24 11:00:47,994 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-01-24 11:00:48,086 - tornado.access - WARNING - 404 GET /intermediary.gif?_=1579860047748 (192.168.54.28) 69.37ms
2020-01-24 11:00:48,230 - octoprint.plugins.announcements - INFO - Loaded channel _releases from https://octoprint.org/feeds/releases.xml in 0.41s
2020-01-24 11:00:48,691 - octoprint.server.util.flask - INFO - Passively logging in user Woun from 192.168.54.28
2020-01-24 11:00:48,971 - octoprint.plugins.announcements - INFO - Loaded channel _releases from https://octoprint.org/feeds/releases.xml in 0.74s
2020-01-24 11:00:49,053 - tornado.access - WARNING - 404 GET /cached.gif?_=1579860048500 (192.168.54.28) 518.21ms
2020-01-24 11:00:49,389 - octoprint.plugins.announcements - INFO - Loaded channel _blog from https://octoprint.org/feeds/octoblog.xml in 0.33s
2020-01-24 11:00:50,233 - octoprint.util.pip - INFO - Using "/home/pi/Octo/venv/bin/python -m pip" as command to invoke pip
2020-01-24 11:00:50,404 - octoprint.plugins.announcements - INFO - Loaded channel _plugins from https://plugins.octoprint.org/feed.xml in 0.2s
2020-01-24 11:00:50,407 - octoprint.plugins.announcements - INFO - Loaded channel _plugins from https://plugins.octoprint.org/feed.xml in 0.29s
2020-01-24 11:00:50,906 - octoprint.plugins.announcements - INFO - Loaded channel _octopi from https://octoprint.org/feeds/octopi.xml in 0.22s
2020-01-24 11:00:50,910 - octoprint.plugins.announcements - INFO - Loaded channel _octopi from https://octoprint.org/feeds/octopi.xml in 0.38s
2020-01-24 11:00:51,235 - octoprint.server.util.flask - INFO - Passively logging in user Woun from 192.168.54.28
2020-01-24 11:00:54,357 - octoprint.util.pip - INFO - pip installs to /home/pi/Octo/venv/lib/python2.7/site-packages/ (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-01-24 11:00:54,358 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-01-24 11:00:54,736 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2020-01-24 11:00:55,115 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'query_string': 'l10n=de', 'path': '/', 'base_url': 'http://192.168.54.125:5000/'}
2020-01-24 11:01:12,487 - octoprint.server.preemptive_cache - INFO - ... done in 17.37s
2020-01-24 11:01:12,526 - octoprint.server.util.flask - INFO - Passively logging in user Woun from 192.168.54.28
2020-01-24 11:01:12,541 - octoprint.server.views - INFO - Found path / in cache (key: ui:_default:http://192.168.54.125:5000/:de), signaling as cached
2020-01-24 11:01:14,140 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.54.28
2020-01-24 11:01:14,204 - octoprint.server.util.flask - INFO - Passively logging in user Woun from 192.168.54.28
2020-01-24 11:01:16,071 - octoprint.server.util.sockjs - INFO - User Woun logged in on the socket from client 192.168.54.28
2020-01-24 11:01:25,055 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port"
2020-01-24 11:01:25,489 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Error: Connection error, see Terminal tab"
2020-01-24 11:01:25,492 - octoprint.util.comm - ERROR - Unexpected error while connecting to serial port: AUTO IspError: ''Failed to enter programming mode'' @ comm.py:_openSerial:2661 (hook malyan_connection_fix)
Traceback (most recent call last):
File "/home/pi/Octo/venv/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2661, in _openSerial
serial_obj = factory(self, self._port, self._baudrate, settings().getFloat(["serial", "timeout", "connection"]))
File "/home/pi/Octo/venv/local/lib/python2.7/site-packages/octoprint_malyan_connection_fix/__init__.py", line 34, in serial_factory
port = comm_instance._detect_port()
File "/home/pi/Octo/venv/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 2604, in _detect_port
programmer.connect(p)
File "/home/pi/Octo/venv/local/lib/python2.7/site-packages/octoprint/util/avr_isp/stk500v2.py", line 37, in connect
raise ispBase.IspError("Failed to enter programming mode")
IspError: 'Failed to enter programming mode'