Also having this issue, is there anyway to revert to a snapshot without access to supervisor menu?
Running on RPi 3b
Also having this issue, is there anyway to revert to a snapshot without access to supervisor menu?
Running on RPi 3b
Me too!
I have had this a couple of times now, 1st time I tried rebooting (pulling power) but it would not come back so i did a full reinstall. 2nd time on that new install a reboot did fix it. Its just happened again so fingers crossed it will not be a rebuild this time
I was able to solve my problem; I learned that I did not install AppDaemon in the correct way, and this was causing my issues with not being able to connect to Supervisor anymore (I think I installed in in Home Assistant instead of in its own docker, which I think temporarily broke Python).
So I wound up going to the keyboard command line view, and removing the AppDaemon addon manually.
Once I manually uninstalled the add-on, I restarted Supervisor and viola; I was back in business.
This has happened to me numerous times too, on different SD cards with different packages set-ups, and pulling the plug never helps. Only resolve for me is clean install and restore a snapshot. Luckily with the googledrive package from @sabeechen this has become a lot less frustrating. I hope too someone can dive into the cause. Kudo’s for @sabeechen and his very handy package.
There is not a single issue causing this, you see this when the supervisor does not start properly, and that can happen for any number of reasons.
The best way in helping with finding out the various causes that result in this is to enable the share diagnostic toggle on the system tab if the supervisor.
Multiple causes that could lead up to this issue has already been solved because of the logs sendt by that feature.
So this morning I had this issue also. Couldn’t access supervisor or restart home assistant through the UI. Logs where the same and it all started last week when I was trying to update to the latest host, but it didn’t work so I left it.
Made a backup by copying the files to my PC and unplugged the RPi for 5 minutes and plugged it back in, everything worked and could update the host and latest HA without any trouble.
I have now enabled the share diagnostics. Hopefully it is fixed know.
I have this problem every 1-2 week (Pi4, original Hassio install). I don`t know how I’m getting rid of it (running some SSH commands after restart, because SSH stops working when this error appears), but this makes me really mad as I’m spending much time to regain access to the needed options instead of making some new configurations
but can’t access it right now. In my case it came out of the blue (not after an update).
My settings is on an Intel NUC with proxmox, on which I installed it the NUC image. Has been rock solid for long long time now, but now I can’t update, and can’t access supervisor/deconz/ecc TAB … but what can I do?
Check the logs for the container that runs the supervisor
docker logs hassio_supervisor
➜ ~ ha supervisor update
Processing… Done.
Post http://supervisor/supervisor/update: dial tcp 172.30.32.2:80: connect: connection refused
ha supervisor logs
Get http://supervisor/supervisor/logs: dial tcp 172.30.32.2:80: connect: connection refused
I don’t have docker, but can access HA menu
No
You need to use what I said on the host, not in a addon
EDIT: The community SSH addon have docker commands if you disabled protection mode for it
not here?
.168.1.12’s password:
| | | | /\ () | | | |
| |__| | ___ _ __ ___ ___ / \ ___ ___ _ | | __ _ _ __ | |
| __ |/ _ | ’ _ \ / _ \ / /\ \ / __/ __| / __| __/ _
| ’ | |
| | | | () | | | | | | / / ____ \ _ \ __ \ || (| | | | | |
|| ||_/|| || ||___| // __//|/__,|| ||__|
Our command line:
$ ha help
ha help
➜ ~ ha help
Can do it there as well, if you login so you get the #
prompt
right… ha supervisor logs
is not the same as docker logs hassio_supervisor
but I can’t access it because I can’t get past the SDUPERVISOR tab …
Ok, I did but its a super long log
File "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
File "/usr/src/supervisor/supervisor/core.py", line 148, in setup
if await self.sys_run_in_executor(self.sys_docker.check_denylist_images):
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/supervisor/supervisor/docker/__init__.py", line 239, in check_denylist_images
for image in self.images.list():
File "/usr/local/lib/python3.8/site-packages/docker/models/images.py", line 364, in list
return [self.get(r["Id"]) for r in resp]
File "/usr/local/lib/python3.8/site-packages/docker/models/images.py", line 364, in <listcomp>
return [self.get(r["Id"]) for r in resp]
File "/usr/local/lib/python3.8/site-packages/docker/models/images.py", line 316, in get
return self.prepare_model(self.client.api.inspect_image(name))
File "/usr/local/lib/python3.8/site-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/docker/api/image.py", line 245, in inspect_image
return self._result(
File "/usr/local/lib/python3.8/site-packages/docker/api/client.py", line 267, in _result
self._raise_for_status(response)
File "/usr/local/lib/python3.8/site-packages/docker/api/client.py", line 263, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/usr/local/lib/python3.8/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.APIError: 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2: invalid argument")
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing...
[20:04:49] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
20-08-23 20:04:52 INFO (MainThread) [__main__] Initialize Supervisor setup
20-08-23 20:04:53 INFO (MainThread) [supervisor.bootstrap] Initialize Supervisor Sentry
20-08-23 20:04:53 INFO (MainThread) [supervisor.bootstrap] Setup coresys for machine: qemux86-64
20-08-23 20:04:53 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attach to Supervisor homeassistant/amd64-hassio-supervisor with version 234
20-08-23 20:04:53 INFO (MainThread) [__main__] Setup Supervisor
20-08-23 20:04:53 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
20-08-23 20:04:54 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
20-08-23 20:04:54 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: de.pengutronix.rauc - /
20-08-23 20:04:54 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.NetworkManager - /org/freedesktop/NetworkManager/DnsManager
20-08-23 20:04:54 INFO (MainThread) [supervisor.host.info] Update local host information
20-08-23 20:04:54 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-08-23 20:04:54 INFO (MainThread) [supervisor.host.services] Update service information
20-08-23 20:04:54 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-08-23 20:04:54 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-08-23 20:04:54 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-08-23 20:04:54 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-08-23 20:04:54 INFO (MainThread) [supervisor.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
20-08-23 20:04:54 INFO (MainThread) [supervisor.host.services] Reload local service hassos-apparmor.service
20-08-23 20:04:54 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1
20-08-23 20:04:54 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-dns with version 9
20-08-23 20:04:54 INFO (MainThread) [supervisor.misc.forwarder] Start DNS port forwarding to 172.30.32.3
20-08-23 20:04:54 INFO (MainThread) [supervisor.plugins.dns] Restart CoreDNS plugin
20-08-23 20:04:54 INFO (SyncWorker_0) [supervisor.docker.interface] Restart homeassistant/amd64-hassio-dns
20-08-23 20:05:00 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
20-08-23 20:05:00 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-audio with version 17
20-08-23 20:05:00 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-cli with version 25
20-08-23 20:05:00 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-multicast with version 2
20-08-23 20:05:00 INFO (MainThread) [supervisor.plugins.multicast] Restart Multicast plugin
20-08-23 20:05:00 INFO (SyncWorker_0) [supervisor.docker.interface] Restart homeassistant/amd64-hassio-multicast
20-08-23 20:05:05 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-08-23 20:05:05 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/qemux86-64-homeassistant with version 0.113.3
20-08-23 20:05:05 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /
20-08-23 20:05:05 INFO (MainThread) [supervisor.hassos] Detect HassOS 4.11 / BootSlot A
20-08-23 20:05:05 ERROR (MainThread) [supervisor.utils.json] Can't read json from /data/addons/git/d9e1caa4/repository.json: [Errno 2] No such file or directory: '/data/addons/git/d9e1caa4/repository.json'
20-08-23 20:05:05 WARNING (MainThread) [supervisor.store.data] Can't read repository information from /data/addons/git/d9e1caa4/repository.json
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/6e66619d repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/15ef4d2f repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/core repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/cebe7a76 repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/567c2022 repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/d9e1caa4 repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/a0d7b954 repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/00185a40 repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/8cc98bc5 repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/2974f5cf repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/f1d59793 repository
20-08-23 20:05:05 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/fe41fc28 repository
20-08-23 20:05:06 ERROR (MainThread) [supervisor.utils.json] Can't read json from /data/addons/git/d9e1caa4/repository.json: [Errno 2] No such file or directory: '/data/addons/git/d9e1caa4/repository.json'
20-08-23 20:05:06 WARNING (MainThread) [supervisor.store.data] Can't read repository information from /data/addons/git/d9e1caa4/repository.json
20-08-23 20:05:06 INFO (MainThread) [supervisor.store] Load add-ons from store: 81 all - 81 new - 0 remove
20-08-23 20:05:06 INFO (MainThread) [supervisor.addons] Found 19 installed add-ons
20-08-23 20:05:06 INFO (SyncWorker_5) [supervisor.docker.interface] Attach to hassioaddons/appdaemon-amd64 with version 0.2.6
20-08-23 20:05:06 INFO (SyncWorker_3) [supervisor.docker.interface] Attach to hassioaddons/adguard-amd64 with version 2.5.0
20-08-23 20:05:06 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to hassioaddons/nginxproxymanager-amd64 with version 0.6.0
20-08-23 20:05:06 INFO (Sy
20-08-24 00:22:31 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/git/d9e1caa4/repository.json: [Errno 2] No such file or directory: ‘/data/addons/git/d9e1caa4/repository.json’
20-08-24 00:22:32 ERROR (MainThread) [supervisor.snapshots.snapshot] Can’t read snapshot tarfile /data/backup/d3678841.tar: unexpected end of data
20-08-24 00:22:32 ERROR (MainThread) [supervisor.snapshots.snapshot] Can’t read snapshot tarfile /data/backup/d4d6a9e4.tar: unexpected end of data
^C
20-08-24 00:21:55 ERROR (MainThread) [supervisor.snapshots.snapshot] Can’t read snapshot tarfile /data/backup/d3678841.tar: unexpected end of data
20-08-24 00:21:55 ERROR (MainThread) [supervisor.snapshots.snapshot] Can’t read snapshot tarfile /data/backup/d4d6a9e4.tar: unexpected end of data
20-08-24 00:21:55 ERROR (MainThread) [supervisor.snapshots.snapshot] Can’t read snapshot tarfile /data/backup/c4dbe1ff.tar: unexpected end of data
20-08-24 00:21:54 ERROR (MainThread) [supervisor.utils.json] Can’t read json from /data/addons/git/d9e1caa4/repository.json: [Errno 2] No such file or directory: ‘/data/addons/git/d9e1caa4/repository.json’
First, reboot the VM.
Then when it has started again, get the complete log output from it.
I did … and now does not connect (SSH), I waited noiw 10 minutes