OctoPi Broken after trying to install Docker

I was trying to get the YouTube Live plugin to work and now my OctoPi server is not running.

I've tried issuing a reboot command and a restart command for the server. Neither has worked. I was attempting to install docker using this guide: https://github.com/jneilliii/OctoPrint-YouTubeLive/blob/d91f96aa7bbcff21ca04987a3b03d79d917c9e24/docker_instructions.md

OctoPrint version : 1.3.12
OctoPi version : 0.16.0

So I tried to restart in safe mode using: octoprint config set --bool server.startOnceInSafeMode true
I got the following response:
-bash: octoprint: command not found
Does this mean that isntalling docker broke my octoprint? It was working perfectly fine prior to me trying to follow those instructions.

Issuing: more ~/.octoprint/logs/octoprint.log
2019-11-16 13:01:23,883 - backoff - INFO - Backing off capture_mjpeg(...) for 0.6s (URLError: <urlopen error [Errno 111] Connection refused>)
2019-11-16 13:01:23,888 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2019-11-16 13:01:23,888 - octoprint.server - INFO - OctoPrint 1.3.12
2019-11-16 13:01:23,893 - octoprint.plugin.core - INFO - 26 plugin(s) registered with the system:

  • All plugins listed
    2019-11-16 13:01:23,897 - octoprint.server.heartbeat - INFO - Server heartbeat <3
    2019-11-16 13:01:23,934 - octoprint.environment - INFO - Detected environment is Python 2.7.13 under Linux (linux2). Details:
    | hardware:
    | cores: 4
    | freq: 1200.0
    | ram: 918188032
    | os:
    | id: linux
    | platform: linux2
    | plugins:
    | pi_support:
    | model: Raspberry Pi 3 Model B Rev 1.2
    | octopi_version: 0.16.0
    | python:
    | pip: 19.0.1
    | version: 2.7.13
    | virtualenv: /home/pi/oprint
    2019-11-16 13:01:23,934 - octoprint.server - INFO - ------------------------------------------------------------------------------
    2019-11-16 13:01:24,249 - backoff - INFO - Backing off wait_for_janus(...) for 0.4s (error: [Errno 111] Connection refused)
    2019-11-16 13:01:24,485 - backoff - INFO - Backing off capture_mjpeg(...) for 0.7s (URLError: <urlopen error [Errno 111] Connection refused>)
    2019-11-16 13:01:25,251 - backoff - INFO - Backing off capture_mjpeg(...) for 1.6s (URLError: <urlopen error [Errno 111] Connection refused>)
    2019-11-16 13:01:25,671 - backoff - INFO - Backing off wait_for_janus(...) for 1.1s (error: [Errno 111] Connection refused)
    2019-11-16 13:01:26,850 - backoff - INFO - Backing off capture_mjpeg(...) for 0.7s (URLError: <urlopen error [Errno 111] Connection refused>)
    2019-11-16 13:01:27,587 - backoff - INFO - Backing off capture_mjpeg(...) for 1.9s (URLError: <urlopen error [Errno 111] Connection refused>)
    2019-11-16 13:01:28,054 - werkzeug - INFO - * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
    2019-11-16 13:01:28,138 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
    2019-11-16 13:01:31,389 - werkzeug - INFO - 127.0.0.1 - - [16/Nov/2019 13:01:31] "GET /?action=snapshot HTTP/1.1" 200 -
    2019-11-16 13:01:32,629 - werkzeug - INFO - 127.0.0.1 - - [16/Nov/2019 13:01:32] "GET /?action=snapshot HTTP/1.1" 200 -
    2019-11-16 13:01:34,823 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
    2019-11-16 13:01:36,450 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational"
    2019-11-16 13:01:36,522 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
    2019-11-16 13:01:37,740 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin bugfix-2.0.x (Github)"
    2019-11-16 13:01:37,890 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting

Any suggestions welcome :slight_smile:

I've ended up creating a new MicroSD card and reinstalled the latest version of OctoPrint. It works now, not sure why it all went wrong. Streaming to YouTube also works pretty well!

2 Likes