Octoprint has stopped working. Site unreachable


#1

Hi
My octoprint has stopped working. Site unreachable. Log file shows errors on startup.
Not sure what has upset it or when it stopped working.
Might have happened when I tried to install genealogy software gramps, which failed to install.
Perhaps that failed install upset something?
Startup Log file follows:

2018-05-14 22:00:00,265 - octoprint.startup - INFO - ******************************************************************************
2018-05-14 22:00:00,265 - octoprint.startup - INFO - Starting OctoPrint 1.3.6
2018-05-14 22:00:00,265 - octoprint.startup - INFO - ******************************************************************************
2018-05-14 22:00:00,305 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
2018-05-14 22:00:00,307 - octoprint.startup - INFO - Blacklist processing done
2018-05-14 22:00:00,326 - octoprint.plugin.core - INFO - Loading plugins from /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins, /home/knoppix/.octoprint/plugins and installed plugin packages...
2018-05-14 22:00:01,067 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-05-14 22:00:01,558 - octoprint.plugin.core - ERROR - Something went wrong while retrieving package info data for module octoprint_filament
Traceback (most recent call last):
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugin/core.py", line 663, in _find_plugins_from_entry_points
    module_pkginfo = InstalledEntryPoint(entry_point)
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugin/core.py", line 1494, in __init__
    pkginfo.Installed.__init__(self, package, metadata_version=metadata_version)
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pkginfo-1.2.1-py2.7.egg/pkginfo/installed.py", line 15, in __init__
    __import__(package)
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filament/__init__.py", line 13, in <module>
    import RPi.GPIO as GPIO
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/RPi/GPIO/__init__.py", line 23, in <module>
    from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
2018-05-14 22:00:01,600 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2018-05-14 22:00:01,609 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 13 hook handlers
2018-05-14 22:00:01,621 - octoprint.server - INFO - Intermediary server started
2018-05-14 22:00:01,621 - octoprint.plugin.core - INFO - Loading plugins from /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins, /home/knoppix/.octoprint/plugins and installed plugin packages...
2018-05-14 22:00:01,622 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-05-14 22:00:01,884 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 16 mixin implementations, 13 hook handlers
2018-05-14 22:00:01,900 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/knoppix/.octoprint/uploads...
2018-05-14 22:00:01,901 - octoprint.filemanager.storage - INFO - ... file metadata for /home/knoppix/.octoprint/uploads initialized successfully.
2018-05-14 22:00:02,017 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2018-05-14 22:00:03,021 - octoprint.util.pip - INFO - Using "/home/knoppix/octoprint/venv/bin/python -m pip" as command to invoke pip
2018-05-14 22:00:04,015 - octoprint.util.pip - INFO - Version of pip is 9.0.2
2018-05-14 22:00:04,019 - octoprint.plugins.filament - INFO - Running RPi.GPIO version '0.6.3'...
2018-05-14 22:00:04,019 - octoprint.plugin.core - ERROR - Exception while initializing plugin filament, disabling it
Traceback (most recent call last):
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugin/core.py", line 1202, in initialize_implementation
    implementation.initialize()
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filament/__init__.py", line 27, in initialize
    GPIO.setmode(GPIO.BCM)
RuntimeError: Module not imported correctly!
2018-05-14 22:00:04,021 - octoprint.plugin.core - INFO - Initialized 15 plugin implementation(s)
2018-05-14 22:00:04,029 - octoprint.plugin.core - INFO - 16 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/announcements
|  Core Wizard (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/corewizard
|  Cost Estimation (2.1.0) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_costestimation
|  CuraEngine (<= 15.04) (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/cura
|  Discovery (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/discovery
|  Emergency Stop Button (0.1.2) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_estop
|  Filament Manager (0.5.3) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filamentmanager
| !Filament Sensor (1.0.1) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filament
|  FileManager (0.1.2) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filemanager
|  Filetypes Plugin (0.1.0) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filetypes
|  Firmware Updater (1.0.0) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_firmwareupdater
|  Plugin Manager (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/pluginmanager
|  Slicer (1.4.0) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_slicer
|  Software Update (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/softwareupdate
|  STL Viewer (0.4.1) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_stlviewer
|  Virtual Printer (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/virtual_printer
2018-05-14 22:00:04,765 - octoprint.environment - ERROR - Error detecting pip version
Traceback (most recent call last):
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/environment.py", line 86, in _detect_python
    import pip
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pip/__init__.py", line 45, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pip/vcs/mercurial.py", line 9, in <module>
    from pip.download import path_to_url
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pip/download.py", line 40, in <module>
    from pip._vendor import requests, six
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py", line 98, in <module>
    from . import packages
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages.py", line 12, in <module>
    sys.modules['pip._vendor.requests.packages.' + mod] = sys.modules["pip._vendor." + mod]
KeyError: 'pip._vendor.urllib3.contrib'
2018-05-14 22:00:04,772 - octoprint.environment - INFO - Detected environment is Python 2.7.14+ under Linux (linux2). Details:
|  hardware:
|    cores: 2
|    freq: 1199.0
|    ram: 1839607808
|  os:
|    id: linux
|    platform: linux2
|  python:
|    pip: unknown
|    version: 2.7.14+
|    virtualenv: /home/knoppix/octoprint/venv
2018-05-14 22:00:04,775 - octoprint.server - INFO - Reset webasset folder /home/knoppix/.octoprint/generated/webassets...
2018-05-14 22:00:04,776 - octoprint.server - INFO - Reset webasset folder /home/knoppix/.octoprint/generated/.webassets-cache...
2018-05-14 22:00:04,941 - octoprint.server - INFO - Shutting down intermediary server...
2018-05-14 22:00:05,150 - octoprint.server - INFO - Intermediary server shut down
2018-05-14 22:00:05,151 - octoprint.events - INFO - Processing startup event, this is our first event
2018-05-14 22:00:05,151 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup event
2018-05-14 22:00:05,158 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2018-05-14 22:00:05,164 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2018-05-14 22:00:05,169 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2018-05-14 22:00:05,297 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2018-05-14 22:00:05,340 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on Microknoppix for SSDP
2018-05-14 22:00:05,346 - octoprint.server - INFO - Listening on http://0.0.0.0:5000
2018-05-14 22:00:05,421 - octoprint.plugins.filetypes - INFO - Filetypes. (settings: stl=True, gcode=True, gco=True, g=True)
2018-05-14 22:00:05,571 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2018-05-14 22:00:05,571 - octoprint.plugins.stlviewer - INFO - STL Viewer loaded!
2018-05-14 22:00:05,763 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid

#2

Please note: I have tried re-installing the main components, i.e. python etc.
Pybonjour is installed.


#3

Not really sure. It looks like the filament plugin isn't too happy.

I take it that there are two modes for GPIO (for counting which pin is which): BCM and BOARD.

Googling that part of the error give us this. Trying to divine some wisdom from that, I think I would try to find out what version of RPi.GPIO* is loaded.

/home/knoppix/octoprint/venv/local/lib/python2.7/dist-packages/RPi.GPIO*

I might have the path slightly wrong but I'm not too far off.


#4

first of all... "knoppix"? Is this even installed on a raspberry pi? From memory, aren't you running this off of a live usb bootable thing on your laptop?


#5

Hi PythonAteMyPerl
Knoppix hard drive install on LapTop
Michael


#6

Hi OutsourcedGuru
The folder path is actually:
/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/RPi.GPIO-0.6.3.dist-info
Hope that helps
Michael B


#7

I highly doubt that anything relying on RPi.GPIO (including RPi.GPIO itself) will run on anything but an RPi. Try running in safe mode, if that works get rid of that plugin.


#8

Hi Gina
Safe mode?
Michael B


#9

Yes, safe mode


#10

Hi Gina
I worked it out. Same result though. New log below.

2018-05-15 20:28:10,511 - octoprint.startup - INFO - ******************************************************************************
2018-05-15 20:28:10,511 - octoprint.startup - INFO - Starting OctoPrint 1.3.6
2018-05-15 20:28:10,511 - octoprint.startup - INFO - Starting in SAFE MODE. Third party plugins will be disabled!
2018-05-15 20:28:10,512 - octoprint.startup - INFO - ******************************************************************************
2018-05-15 20:28:10,550 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online
2018-05-15 20:28:12,112 - octoprint.startup - INFO - Blacklist processing done
2018-05-15 20:28:12,128 - octoprint.plugin.core - INFO - Loading plugins from /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins, /home/knoppix/.octoprint/plugins and installed plugin packages...
2018-05-15 20:28:13,004 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-05-15 20:28:13,571 - octoprint.plugin.core - ERROR - Something went wrong while retrieving package info data for module octoprint_filament
Traceback (most recent call last):
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugin/core.py", line 663, in _find_plugins_from_entry_points
    module_pkginfo = InstalledEntryPoint(entry_point)
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugin/core.py", line 1494, in __init__
    pkginfo.Installed.__init__(self, package, metadata_version=metadata_version)
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pkginfo-1.2.1-py2.7.egg/pkginfo/installed.py", line 15, in __init__
    __import__(package)
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filament/__init__.py", line 13, in <module>
    import RPi.GPIO as GPIO
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/RPi/GPIO/__init__.py", line 23, in <module>
    from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
2018-05-15 20:28:13,618 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available
2018-05-15 20:28:13,625 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 7 mixin implementations, 4 hook handlers
2018-05-15 20:28:13,637 - octoprint.server - INFO - Intermediary server started
2018-05-15 20:28:13,638 - octoprint.plugin.core - INFO - Loading plugins from /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins, /home/knoppix/.octoprint/plugins and installed plugin packages...
2018-05-15 20:28:13,639 - octoprint.plugin.core - WARNING - Plugin "OctoPi Support Plugin" did not pass check
2018-05-15 20:28:13,908 - octoprint.plugin.core - INFO - Found 16 plugin(s) providing 7 mixin implementations, 4 hook handlers
2018-05-15 20:28:13,925 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/knoppix/.octoprint/uploads...
2018-05-15 20:28:13,926 - octoprint.filemanager.storage - INFO - ... file metadata for /home/knoppix/.octoprint/uploads initialized successfully.
2018-05-15 20:28:14,001 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2018-05-15 20:28:15,047 - octoprint.util.pip - INFO - Using "/home/knoppix/octoprint/venv/bin/python -m pip" as command to invoke pip
2018-05-15 20:28:16,019 - octoprint.util.pip - INFO - Version of pip is 9.0.2
2018-05-15 20:28:16,021 - octoprint.plugin.core - INFO - Initialized 7 plugin implementation(s)
2018-05-15 20:28:16,025 - octoprint.plugin.core - INFO - 16 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/announcements
|  Core Wizard (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/corewizard
| !Cost Estimation (2.1.0) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_costestimation
|  CuraEngine (<= 15.04) (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/cura
|  Discovery (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/discovery
| !Emergency Stop Button (0.1.2) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_estop
| !Filament Manager (0.5.3) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filamentmanager
| !Filament Sensor (1.0.1) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filament
| !FileManager (0.1.2) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filemanager
| !Filetypes Plugin (0.1.0) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_filetypes
| !Firmware Updater (1.0.0) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_firmwareupdater
|  Plugin Manager (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/pluginmanager
| !Slicer (1.4.0) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_slicer
|  Software Update (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/softwareupdate
| !STL Viewer (0.4.1) = /home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/octoprint_stlviewer
|  Virtual Printer (bundled) = /home/knoppix/octoprint/venv/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/plugins/virtual_printer
2018-05-15 20:28:16,765 - octoprint.environment - ERROR - Error detecting pip version
Traceback (most recent call last):
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/OctoPrint-1.3.6-py2.7.egg/octoprint/environment.py", line 86, in _detect_python
    import pip
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pip/__init__.py", line 45, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pip/vcs/mercurial.py", line 9, in <module>
    from pip.download import path_to_url
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pip/download.py", line 40, in <module>
    from pip._vendor import requests, six
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py", line 98, in <module>
    from . import packages
  File "/home/knoppix/octoprint/venv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages.py", line 12, in <module>
    sys.modules['pip._vendor.requests.packages.' + mod] = sys.modules["pip._vendor." + mod]
KeyError: 'pip._vendor.urllib3.contrib'
2018-05-15 20:28:16,772 - octoprint.environment - INFO - Detected environment is Python 2.7.14+ under Linux (linux2). Details:
|  hardware:
|    cores: 2
|    freq: 1199.0
|    ram: 1839607808
|  os:
|    id: linux
|    platform: linux2
|  python:
|    pip: unknown
|    version: 2.7.14+
|    virtualenv: /home/knoppix/octoprint/venv
2018-05-15 20:28:16,775 - octoprint.server - INFO - Reset webasset folder /home/knoppix/.octoprint/generated/webassets...
2018-05-15 20:28:16,776 - octoprint.server - INFO - Reset webasset folder /home/knoppix/.octoprint/generated/.webassets-cache...
2018-05-15 20:28:16,853 - octoprint.server - INFO - Shutting down intermediary server...
2018-05-15 20:28:17,142 - octoprint.server - INFO - Intermediary server shut down
2018-05-15 20:28:17,143 - octoprint.events - INFO - Processing startup event, this is our first event
2018-05-15 20:28:17,143 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup event
2018-05-15 20:28:17,148 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2018-05-15 20:28:17,158 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2018-05-15 20:28:17,234 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on Microknoppix for SSDP
2018-05-15 20:28:17,237 - octoprint.server - INFO - Listening on http://0.0.0.0:5000
2018-05-15 20:28:17,243 - octoprint.server - INFO - Server started successfully in safe mode as requested from config, removing flag
2018-05-15 20:28:18,988 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from https://plugins.octoprint.org/plugins.json
2018-05-15 20:28:19,099 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2018-05-15 20:28:19,117 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from https://plugins.octoprint.org/plugins.json
2018-05-15 20:28:19,222 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2018-05-15 20:28:19,598 - octoprint.util.pip - INFO - Using "/home/knoppix/octoprint/venv/bin/python -m pip" as command to invoke pip
2018-05-15 20:28:23,077 - octoprint.util.pip - INFO - pip installs to /home/knoppix/octoprint/venv/lib/python2.7/site-packages/, --user flag needed => no, virtual env => yes
2018-05-15 20:28:23,119 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk

#11

I had not realized there was a safe mode.
Even in safe mode I still cant reach octoprint.
Can I remove the problematic plugin without the interface?


#12

Based on your log, your server is running just fine and no plugin is interfering with that, so uninstalling anything won't solve your issue. That exception there looks like something is off with the pip version installed on your system, but that shouldn't prevent your server from starting and based on that log it also doesn't. Please provide the following:

  • the output of ifconfig on your Knoppix install
  • the output of netstat -tulpen on your Knoppix install
  • the URL at which you are trying to reach OctoPrint in your browser
  • a screenshot of what your browser displays you when you try to reach that URL
  • a screenshot of what your browser displays you when you try to reach http://<ip of your laptop>:5000 (please replace <ip of your laptop> with the IP of the laptop that your knoppix/OctoPrint install is running on)
  • information on how you've set this up in the first place, e.g. is there a reverse proxy in front of OctoPrint or not

#13

Hi Gina

Back in March I had an odd problem with the pip version. Somehow that resolved itself.
I never found out how.

I've logged the output of ifconfig. It is below:

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 20:6a:8a:64:f3:1a  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1366  bytes 390084 (380.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1366  bytes 390084 (380.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.11  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::a11:96ff:fec4:f944  prefixlen 64  scopeid 0x20<link>
        ether 08:11:96:c4:f9:44  txqueuelen 1000  (Ethernet)
        RX packets 78804  bytes 59839071 (57.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 28151  bytes 4119540 (3.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I've logged the output of netstat -tulpen. It is below:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          12112      -                   
tcp        0      0 0.0.0.0:5000            0.0.0.0:*               LISTEN      1000       50925      7987/python         
tcp6       0      0 ::1:631                 :::*                    LISTEN      0          12111      -                   
udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          9711       -                   
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1000       50927      7987/python         

The URL I'm using hasn't changed since march, its http://0.0.0.0:5000
I'll just give it another try now.

Its now working again! I don't get it. It wasn't working just a short while ago, now its working.

Does this sort of thing happen often? or is it just my weird knoppix setup?

Michael B.


#14

0.0.0.0 isn't a real IP but means "listening on all available network interfaces". I'm surprised that this worked in the past - some linux distributions seem to translate it to 127.0.0.1 or something like this, so "this machine", but it's definitely not an IP you should be using when trying to connect to OctoPrint. The URL you should be using - based on your ifconfig output - is http://192.168.0.11:5000 since your laptop's wlan is bound to 192.168.0.11. If your laptop doesn't have a fixed IP address, this address will in all likelihood occasionally change though, which would also explain connection issues.


#15

Hi Gina
Where do I set the ip address for Octoprint?
Note: I've tried uninstalling octoprint_filament.
The plugin manager says it cant uninstall it.
It says its not installed, even though it still appears to be.
Michael B
P.S IP Address http://192.168.0.11:5000 appears to work. I'll use this in future.


#16

Hi All
I have to go and feed my ferrets. I'll catch up with any replies tomorrow.
Your help has been much appreciated.
Thank you.
Michael B.


#17

This thread was amazing! It had highs...it had lows and in the end the ferrets got fed!


#18

Hi pingywon
It not over yet. I still have an errant plugin that needs to be uninstalled.
A problem, as the uninstaller says it isn't installed.
I suspect I need to clean that up manually. Not sure how to do that yet.
And in the end the Ferrets will get fed.
Michael B.


#19

I for one welcome our new ferret overlords.


#20

Hi All
This is of course way off topic. I have three Ferrets, 2 Hobs and a Jill.
Their names are (and are registered with our local Vet) as follows:
Ragnar, König der Frettchen und Polecats.
Pikachu, Prinz der Hutch, Ritter des Reiches.
Clover, Prinzessin der Hütte.
Clover is named after the clover plant. A lucky Clover has 4 leaves.
Clover the Ferret is unlucky however and only has 3 feet.
Michael B.
P.S Anyone know how to manually uninstall plugin Octoprint_Filament?