First, my apologies if this has been answered elsewhere. I did some searching and I haven’t found anyone running HassOS reporting this. It seems to be those who are running VMs, etc.
Initially I had installed the 32-bit HassOS rpi image on a raspberry pi 3 model B. A while back, around 0.112 and HassOS 4.13 (I believe), I made a full snapshot of my system and restored it to a new install of HA/HassOS of the same versions to a raspberry pi 3 model B+.
Now it’s about 4 months later and while investigating something else I noticed the following entries in the supervisor log on a routine basis. I assume this has been happening since the move to the new raspberry pi.
20-11-04 17:10:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-11-04 17:10:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-11-04 17:10:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/hassio repository
20-11-04 17:10:39 ERROR (MainThread) [supervisor.store.git] Can't update https://github.com/home-assistant/hassio-addons repo: Cmd('git') failed due to: exit code(1)
cmdline: git reset --hard origin/master
stderr: 'error: update_ref failed for ref 'HEAD': cannot lock ref 'HEAD': unable to resolve reference 'refs/heads/master': reference broken'.
20-11-04 17:10:39 ERROR (MainThread) [supervisor.store.git] Can't update https://github.com/hassio-addons/repository repo: Cmd('git') failed due to: exit code(1)
cmdline: git reset --hard origin/master
stderr: 'error: update_ref failed for ref 'HEAD': cannot lock ref 'HEAD': unable to resolve reference 'refs/heads/master': reference broken'.
20-11-04 17:10:40 INFO (MainThread) [supervisor.store] Loading add-ons from store: 69 all - 0 new - 0 remove
Does anyone have any suggestions on how I can proceed with debugging this? I’m relatively new to the container concept and the overlay filesystem so I haven’t had any luck via ssh trying to reset the local git repo clone by hand.
The official add-ons do appear in HA but I’m concerned they are not updating.
Thank you and take care,
gannas
edit - current “system health” data for version info
System Health
arch | armv7l |
---|---|
chassis | embedded |
dev | false |
docker | true |
docker_version | 19.03.11 |
hassio | true |
host_os | HassOS 4.15 |
installation_type | Home Assistant OS |
os_name | Linux |
os_version | 4.19.127-v7 |
python_version | 3.8.6 |
supervisor | 2020.11.0 |
timezone | America/Chicago |
version | 0.117.3 |
virtualenv | false |
Lovelace
dashboards | 2 |
---|---|
mode | auto-gen |
resources | 1 |