Unable to Update (404 Client Error)

I’ve been unable to update to the latest version. The log says it’s a 404 error but from research it seems that it’s really a case of there not being enough space to the downloaded image to be expanded before updating. When I encountered this before I really had run out of space due to too many snapshots. I cleared out some and was able to update. Now, however, every way I check I have tons of free space but still get this error (via cli update or gui update). If anybody could provide any clarity on this issue and how to resolve it short of a full fresh install that would be greatly appreciated.

Log with error:

19-04-29 02:09:12 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
19-04-29 02:09:41 INFO (MainThread) [hassio.api.security] /homeassistant/update access from core_ssh
19-04-29 02:09:41 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.92.1
19-04-29 02:09:41 INFO (SyncWorker_1) [hassio.docker.interface] Update image homeassistant/raspberrypi3-homeassistant:0.91.4 to homeassistant/raspberrypi3-homeassistant:0.92.1
19-04-29 02:09:41 INFO (SyncWorker_1) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.92.1.
19-04-29 02:14:31 ERROR (SyncWorker_1) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.92.1 -> 404 Client Error: Not Found ("no such image: homeassistant/raspberrypi3-homeassistant:0.92.1: No such image: homeassistant/raspberrypi3-homeassistant:0.92.1").
19-04-29 02:14:31 WARNING (MainThread) [hassio.homeassistant] Update Home Assistant image fails
19-04-29 02:15:12 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
19-04-29 02:30:53 INFO (MainThread) [hassio.api.security] /supervisor/stats access from core_ssh
19-04-29 02:31:23 INFO (MainThread) [hassio.api.security] /hassos/info access from core_ssh
19-04-29 02:42:05 INFO (SyncWorker_3) [hassio.docker.interface] Restart homeassistant/raspberrypi3-homeassistant
19-04-29 02:43:00 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh

Results of du -hd1 / (it’s an 8GB sd card)

418.5K  /dev
0       /sys
8.0K    /run
71.2M   /usr
16.0K   /media
1.1M    /bin
148.0K  /sbin
4.0K    /home
4.0K    /mnt
4.0K    /opt
0       /proc
2.0M    /etc
72.0K   /var
8.0K    /root
4.0K    /srv
4.0K    /tmp
2.6M    /lib
56.0K   /data
4.0K    /addons
4.0K    /ssl
4.0K    /share
637.8M  /backup
78.1M   /config
793.5M  /

Following this - Im getting the same error. Trying to upgrade from 0.89.1 to 0.92.1

Same for me.

I had the same problem with updating from 0.91.4 to 0.92.1. (raspberry. 3b+),
but my VM back up system had no issue with upgrading.
Then i notice the VM had still HassOS 2.10, and the raspberry had HassOS 2.11
So I SSH to my raspberry and give command line # hassio hassos update --version=2.10
this fixed the issue for me.
Hope it is helpfull for you

I tried this but the issue persists. Thanks for the try though!

What does df -h show?

df -h shows the below which is drastically different from du -h. When I tried to understand the differences between them (and much of it was over my head) what I surmised was that df was essentially showing how much the partitions fill up the disk space (so 100% is normal) and du shows the actual files filling up the the partitions. Since as far as I can find, all of the directories listed in these results as 6.4GB only have a few hundred KB or MB of files in them.

Filesystem                Size      Used Available Use% Mounted on
overlay                   6.6G      6.4G         0 100% /
tmpfs                    64.0M         0     64.0M   0% /dev
tmpfs                   463.1M         0    463.1M   0% /sys/fs/cgroup
/dev/root                90.1M     90.1M         0 100% /dev/init
/dev/mmcblk0p8            6.6G      6.4G         0 100% /config
/dev/mmcblk0p8            6.6G      6.4G         0 100% /ssl
/dev/mmcblk0p8            6.6G      6.4G         0 100% /addons
/dev/mmcblk0p8            6.6G      6.4G         0 100% /backup
/dev/mmcblk0p8            6.6G      6.4G         0 100% /share
/dev/mmcblk0p8            6.6G      6.4G         0 100% /data
/dev/mmcblk0p8            6.6G      6.4G         0 100% /etc/resolv.conf
/dev/mmcblk0p8            6.6G      6.4G         0 100% /etc/hostname
/dev/mmcblk0p8            6.6G      6.4G         0 100% /etc/hosts
shm                      64.0M         0     64.0M   0% /dev/shm
tmpfs                    64.0M         0     64.0M   0% /proc/keys
tmpfs                    64.0M         0     64.0M   0% /proc/latency_stats
tmpfs                    64.0M         0     64.0M   0% /proc/timer_list
tmpfs                    64.0M         0     64.0M   0% /proc/sched_debug
tmpfs                   463.1M         0    463.1M   0% /sys/firmware

Any resolution to this? i’m getting the same error trying to update to .95.4

Unfortunately not. I ended up having to do a re-install. Now I use the Google Drive Backup Add-on to keep weekly snapshots off the disk so when this happens I can re-image my sd card and restore to my latest snapshot. This also happened to me a couple days ago with .95.4 and I had to do just that. Here’s the add-on I use https://github.com/sabeechen/hassio-google-drive-backup

1 Like