Can't upgrade 0.76.0 to 0.77.2 (solved)

Hi there,

My raspi won’t upgrade to 0.77.2. When I hit to Update button, circle is spinning for 30 seconds and stopped. HA still working after all.

System: Resin OS 2.3.0+rev1

I’m getting following error in log:

18-09-02 21:53:14 ERROR (SyncWorker_10) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.77.2 -> 404 Client Error: Not Found ("no such image: homeassistant/raspberrypi3-homeassistant:0.77.2: No such image: homeassistant/raspberrypi3-homeassistant:0.77.2").

any advice?

I’m getting the same error. Trying since last couple of hours. Everytime I am getting no such image error. However I checked at https://hub.docker.com/r/homeassistant/raspberrypi3-homeassistant/tags/ and I’m able to see the 0.77.2 listed there.

Here is the supervisor log:

18-09-02 22:03:44 INFO (MainThread) [hassio.homeassistant] Update HomeAssistant to version 0.77.2
18-09-02 22:03:44 INFO (SyncWorker_7) [hassio.docker.interface] Update docker 0.74.2 with homeassistant/raspberrypi3-homeassistant:0.77.2
18-09-02 22:03:44 INFO (SyncWorker_7) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.77.2.
18-09-02 22:03:48 INFO (MainThread) [hassio.api.security] /supervisor/logs access from a0d7b954_ide
18-09-02 22:03:59 ERROR (SyncWorker_7) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.77.2 -> 404 Client Error: Not Found ("no such image: homeassistant/raspberrypi3-homeassistant:0.77.2: No such image: homeassistant/raspberrypi3-homeassistant:0.77.2").
18-09-02 22:04:09 INFO (MainThread) [hassio.api.security] /supervisor/logs access from a0d7b954_ide
18-09-02 22:04:45 INFO (MainThread) [hassio.api.security] /homeassistant/update access from a0d7b954_ide
18-09-02 22:04:45 INFO (MainThread) [hassio.homeassistant] Update HomeAssistant to version 0.77.2
18-09-02 22:04:45 INFO (SyncWorker_13) [hassio.docker.interface] Update docker 0.74.2 with homeassistant/raspberrypi3-homeassistant:0.77.2
18-09-02 22:04:45 INFO (SyncWorker_13) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.77.2.
18-09-02 22:05:16 ERROR (SyncWorker_13) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.77.2 -> 404 Client Error: Not Found ("no such image: homeassistant/raspberrypi3-homeassistant:0.77.2: No such image: homeassistant/raspberrypi3-homeassistant:0.77.2").
18-09-02 22:10:01 INFO (MainThread) [hassio.api.security] /supervisor/logs access from a0d7b954_ide

I found the problem. My SD card out of space. But I don’t know how to clean my SD card?

Filesystem                Size      Used Available Use% Mounted on
none                     28.2G     26.0G    775.3M  97% /
tmpfs                   486.1M         0    486.1M   0% /dev
tmpfs                   486.1M         0    486.1M   0% /sys/fs/cgroup
/dev/mmcblk0p2          294.1M    225.8M     48.7M  82% /dev/init
/dev/mmcblk0p6           28.2G     26.0G    775.3M  97% /addons
/dev/mmcblk0p6           28.2G     26.0G    775.3M  97% /backup
/dev/mmcblk0p6           28.2G     26.0G    775.3M  97% /share
/dev/mmcblk0p6           28.2G     26.0G    775.3M  97% /data
/dev/mmcblk0p6           28.2G     26.0G    775.3M  97% /config
/dev/mmcblk0p6           28.2G     26.0G    775.3M  97% /ssl
/dev/mmcblk0p6           28.2G     26.0G    775.3M  97% /etc/resolv.conf
/dev/mmcblk0p6           28.2G     26.0G    775.3M  97% /etc/hostname
/dev/mmcblk0p6           28.2G     26.0G    775.3M  97% /etc/hosts
shm                      64.0M         0     64.0M   0% /dev/shm
tmpfs                   486.1M         0    486.1M   0% /proc/timer_list
tmpfs                   486.1M         0    486.1M   0% /proc/timer_stats
tmpfs                   486.1M         0    486.1M   0% /proc/sched_debug
tmpfs                   486.1M         0    486.1M   0% /sys/firmware

You could delete your DB file to clear up space. It just means you lose your history data. That’s something that doesn’t bother me as I don’t see a need for knowing what sensors have done over the last month or so anyway, but everyone has their own uses for things in HA…

I doubt that it’s due to space. In my system, I’ve around 10G space available. Also the error, I’m getting is 404 which means that the system is unable to find the update file at the specified URL.

Filesystem                Size      Used Available Use% Mounted on
overlay                  13.5G      2.7G     10.1G  21% /
tmpfs                    64.0M         0     64.0M   0% /dev
tmpfs                   463.1M         0    463.1M   0% /sys/fs/cgroup
/dev/root                80.4M     80.4M         0 100% /dev/init
/dev/mmcblk0p8           13.5G      2.7G     10.1G  21% /backup
/dev/mmcblk0p8           13.5G      2.7G     10.1G  21% /share
/dev/mmcblk0p8           13.5G      2.7G     10.1G  21% /data
/dev/mmcblk0p8           13.5G      2.7G     10.1G  21% /config
/dev/mmcblk0p8           13.5G      2.7G     10.1G  21% /ssl
/dev/mmcblk0p8           13.5G      2.7G     10.1G  21% /addons
/dev/mmcblk0p8           13.5G      2.7G     10.1G  21% /etc/resolv.conf
/dev/mmcblk0p8           13.5G      2.7G     10.1G  21% /etc/hostname
/dev/mmcblk0p8           13.5G      2.7G     10.1G  21% /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

I was replying to @kayhanbelek regarding the space issue. Not sure about your issue, sorry.

@kayhanbelek, I was able to upgrade by installing intermediate version via SSH using the following command.

hassio ha update -o version=0.77.0

If you do not have SSH enabled, install Cloud9 IDE addon and then use the inbuilt zsh terminal (Alt + T) to issue commands.

Just wanted to post an update. I again used the SSH method to update to 0.77.2 which failed again with 404. So, I tried with 0.77.1 via SSH and it worked!!!

Here is the log

18-09-03 08:17:38 INFO (MainThread) [hassio.homeassistant] Update HomeAssistant to version 0.77.1
18-09-03 08:17:38 INFO (SyncWorker_6) [hassio.docker.interface] Update docker 0.77.0 with homeassistant/raspberrypi3-homeassistant:0.77.1
18-09-03 08:17:38 INFO (SyncWorker_6) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.77.1.
18-09-03 08:31:56 INFO (SyncWorker_6) [hassio.docker.interface] Tag image homeassistant/raspberrypi3-homeassistant with version 0.77.1 as latest
18-09-03 08:31:56 INFO (SyncWorker_6) [hassio.docker.interface] Stop homeassistant/raspberrypi3-homeassistant docker application
18-09-03 08:32:21 INFO (SyncWorker_6) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-09-03 08:32:21 INFO (SyncWorker_6) [hassio.docker.interface] Cleanup docker images: ['homeassistant/raspberrypi3-homeassistant:0.77.0']
18-09-03 08:33:01 INFO (SyncWorker_11) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.77.1
18-09-03 08:34:22 INFO (MainThread) [hassio.homeassistant] Detect a running HomeAssistant instance
18-09-03 08:34:22 INFO (MainThread) [hassio.homeassistant] Successfull run HomeAssistant 0.77.1

Looking at the log, it says that 0.77.1 is the latest which seems to be impossible as my HASSIO panel shows me that 0.77.2 is available for update. Any devs can look at this?

I’ve succesfully update to 0.77.2. But my SD card almost full. I can’t find which files are eating SD card space. I tried too many linux command, like du -hs /*

Still confused…

problem solved. The SD card was full because of the _TMP files created by the unifi controller. The controller has been moved to another server and the Unifi Add-on has been removed from the system.