Hass.io won't update to 0.52.1 - error 404

I’m trying to update hassio on my rpi3. From the command line it fails with:

core-ssh:~# hassio homeassistant update
Error on homeassistant/update:

And in the supervisor log:

> 17-08-30 19:37:06 INFO (SyncWorker_19) [hassio.dock.interface] Update docker 0.51.2 with homeassistant/raspberrypi3-homeassistant:0.52.1
> 17-08-30 19:37:06 INFO (SyncWorker_19) [hassio.dock.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.52.1.
> 17-08-30 19:37:08 ERROR (SyncWorker_19) [hassio.dock.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.52.1 -> 404 Client Error: Not Found ("No such image: homeassistant/raspberrypi3-homeassistant:0.52.1").

What’s going on? Is github having issues right now or is this a local problem? I’ve used the updater before without issue.

I can’t be the only one getting this.

When i had the same issue a while back it was due to running low on disk space.

So How did free space?

I seem to have lots of free space:
core-ssh:/# df -h
Filesystem Size Used Available Use% Mounted on
none 6.3G 1.8G 4.2G 30% /
tmpfs 240.7M 340.0K 240.3M 0% /dev
tmpfs 240.7M 0 240.7M 0% /sys/fs/cgroup
/dev/mmcblk0p6 6.3G 1.8G 4.2G 30% /data
/dev/mmcblk0p6 6.3G 1.8G 4.2G 30% /config
/dev/mmcblk0p6 6.3G 1.8G 4.2G 30% /ssl
/dev/mmcblk0p6 6.3G 1.8G 4.2G 30% /addons
/dev/mmcblk0p6 6.3G 1.8G 4.2G 30% /backup
/dev/mmcblk0p6 6.3G 1.8G 4.2G 30% /share
/dev/mmcblk0p6 6.3G 1.8G 4.2G 30% /etc/resolv.conf
/dev/mmcblk0p6 6.3G 1.8G 4.2G 30% /etc/hostname
/dev/mmcblk0p6 6.3G 1.8G 4.2G 30% /etc/hosts
shm 64.0M 0 64.0M 0% /dev/shm
tmpfs 240.7M 340.0K 240.3M 0% /proc/latency_stats
tmpfs 240.7M 340.0K 240.3M 0% /proc/timer_list
tmpfs 240.7M 340.0K 240.3M 0% /proc/timer_stats
tmpfs 240.7M 340.0K 240.3M 0% /proc/sched_debug
tmpfs 240.7M 0 240.7M 0% /sys/firmware
core-ssh:/#

Is that the output from docker?

I can’t see the “normal” Linux dirs.

You need to check the hosts (rpi, Ubuntu etc) diskspace.

I just ended up reinstalling hassio to fix this. I was not low on disk space at all (over 11gb free).

I believe it was caused when I interrupted the update process the first time since it was taking an unusually long time to complete. Perhaps the download had not finished or was corrupted or something. I would be nice to know where the updater stores temporary files so I could delete them if it happens again.

2 Likes

I have same issue now, have you any clue what to cancel?

I’ve got a similar problem while updating to 0.76.
Log said, that there is not enough memory. Silly, cause I run my RPi3 Hassbian OS (with Hass.io on the same machine) on USB drive…
Solution was expanding my swap partition.
If you can SSH, try:
sudo nano /etc/dphys-swapfile
Then raise the value from 100 to something higher (I did 512).
After that run
sudo systemctl restart dphys-swapfile

greetz Bob

1 Like

THANK YOU, THANK YOU, THANK YOU!

How do i ssh into the docker ?
I have tried “ssh [email protected] -p 22222”, but this give me “Permission denied (publickey)”
I am able to ssh to the HA witn this cmd “ssh [email protected]

Did you follow the instructions to add your private key to hass.io? It’s not the same as port 22.

Thanks… i did try to copy the authorized_keys with my public key to the root of the SD card… But did not work… Ill try bit more… Thanks

make sure you copy and paste the code in the middle of the screen to your authorized_keys file… It is not just renaming the public key to authorized keys:

image

Thanks ill try it :slight_smile:

This helped! Thanks!

1 Like

I am running hass.io using the all-in-one installer on docker. I cannot get dphys-swapfile to work as it doesn’t exist and all searches lead to me zsh in the console saying command not found. Help!

This was the main reason for me installing hass.io on top of hassbian. hass.io itself is simpel to run, but when you want to change “real” system config, its hard to manage…

What is your main OS?

I’m using the hassio found on https://www.home-assistant.io/getting-started/