What is the problem?
Fresh image of OctoPrint on Raspberry Pi 3B. After allowing pi to start for 5-10 minutes and opening browser to IP address (10.0.0.2) in chrome I get the error " This site can’t be reached".
When I ssh in to the pi: ssh pi@10.0.0.2 it gives me the prompt "pi@localhost", i.e.
Access OctoPrint from a web browser on your network by navigating to any of:
http://localhost.local
http://10.0.0.2
http://[2601:247:4003:3e80:c3e3:7f78:3bdc:4fa4]
https is also available, with a self-signed certificate.
This image comes without a desktop environment installed because it's not
required for running OctoPrint. If you want a desktop environment you can
install it via
sudo /home/pi/scripts/install-desktop
OctoPrint version : 1.3.12
OctoPi version : 0.17.0
pi@localhost:~ hostname localhost pi@localhost:~
I assume I can't access octoprint from a browser as it is hosting it to localhost.
What did you already try to solve it?
Tried to change hostname via raspi-config:
pi@localhost:~ raspi-config
Script must be run as root. Try 'sudo raspi-config'
pi@localhost:~ sudo raspi-config
[sudo] password for pi:
Sorry, user pi is not allowed to execute '/usr/bin/raspi-config' as root on localhost.
Have you tried running in safe mode and if so did it solve the issue?
Reproduced exactly when running in safe mode, issue persists.
Complete Logs
2020-09-27 12:10:39,728 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2020-09-27 12:10:39,731 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2020-09-27 12:10:40,063 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2020-09-27 12:11:05,147 - octoprint.plugin - ERROR - Error while calling plugin discovery
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/init.py", line 219, in call_plugin
result = getattr(plugin, method)(*args, **kwargs)
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery/init.py", line 143, in on_startup
self.zeroconf_register("_http._tcp", self.get_instance_name(), txt_record=self._create_http_txt_record_dict())
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery/init.py", line 201, in zeroconf_register
self._sd_refs[key] = pybonjour.DNSServiceRegister(**params)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pybonjour.py", line 1132, in DNSServiceRegister
None)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pybonjour.py", line 286, in _errcheck
raise cls(result)
BonjourError: (-65537, 'unknown')
2020-09-27 12:11:05,293 - octoprint.plugins.pi_support - ERROR - Got an error while trying to fetch the current throttle state via "/usr/bin/vcgencmd get_throttled"
Traceback (most recent call last):
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support/init.py", line 263, in _check_throttled_state
state = get_vcgencmd_throttled_state(command)
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support/init.py", line 140, in get_vcgencmd_throttled_state
raise ValueError("cannot parse "{}" output: {}".format(command, output))
ValueError: cannot parse "/usr/bin/vcgencmd get_throttled" output: VCHI initialization failed
2020-09-27 12:11:05,324 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2020-09-27 12:11:06,079 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-09-27 12:11:20,180 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-09-27 12:11:21,742 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-09-27 12:11:21,754 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-09-27 12:11:21,763 - octoprint.util.pip - INFO - ==> pip ok -> yes
Additional information about your setup
OctoPrint version : 1.3.12
OctoPi version : 0.17.0
Headless option only. Ubuntu PC available for troubleshooting.