Unable to update to 0.103.5

I’m not able to update to the latest home-assistant version using either the user interface nor the hassio updater. The call results in a bad request, but I cannot seem to find out why.

~ $ hassio homeassistant update --version=0.103.5 --log-level=debug --no-progress
DEBU[0000] Adding homedir to searchpath                  homedir=/root
INFO[0000] No configfile found                          
DEBU[0000] Debug flags                                   apiToken= REMOVED_API_TOKEN cfgFile= endpoint=hassio logLevel=debug noProgress=true rawJSON=false
DEBU[0000] homeassistant update                          args="[]"
DEBU[0000] [GenerateURI]                                 base=hassio command=update section=homeassistant
DEBU[0000] [GenerateURI] Result                          uri="http://hassio/homeassistant/update" url="http://hassio/homeassistant/update" url(string)="http://hassio/homeassistant/update"
DEBU[0000] Request body                                  body="map[version:0.103.5]"
DEBU[0024] Response                                      body="{\"result\": \"error\", \"message\": \"Unknown Error, see logs\"}" fields.time=24.372525672s headers="map[Content-Length:[57] Content-Type:[application/json; charset=utf-8] Date:[Tue, 31 Dec 2019 09:55:14 GMT] Server:[Python/3.7 aiohttp/3.6.1]]" recieved-at="2019-12-31 10:55:14.708156008 +0100 CET m=+24.383147224" request="&{POST http://hassio/homeassistant/update HTTP/1.1 1 1 map[Accept:[application/json] Authorization:[Bearer REMOVED_API_TOKEN] Content-Type:[application/json] User-Agent:[go-resty/2.1.0 (https://github.com/go-resty/resty)] X-Hassio-Key:[REMOVED_API_TOKEN]] {} 0x2d1c74 21 [] false hassio map[] map[] <nil> map[]   <nil> <nil> <nil> <nil>}" status="400 Bad Request" statuscode=400

I then saw this url; http://hassio, but that seems to resolve properly:

config $ ping hassio
PING hassio (172.30.32.2): 56 data bytes
64 bytes from 172.30.32.2: seq=0 ttl=64 time=0.373 ms
64 bytes from 172.30.32.2: seq=1 ttl=64 time=0.308 ms

The supervisor logs says:

19-12-31 10:03:53 INFO (MainThread) [hassio.api.security] /homeassistant/update access from core_ssh
19-12-31 10:03:53 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.103.5
19-12-31 10:03:53 INFO (SyncWorker_15) [hassio.docker.interface] Update image homeassistant/raspberrypi4-homeassistant:0.103.4 to homeassistant/raspberrypi4-homeassistant:0.103.5
19-12-31 10:03:53 INFO (SyncWorker_15) [hassio.docker.interface] Pull image homeassistant/raspberrypi4-homeassistant tag 0.103.5.
19-12-31 10:04:02 ERROR (SyncWorker_15) [hassio.docker.interface] Can't install homeassistant/raspberrypi4-homeassistant:0.103.5 -> 404 Client Error: Not Found ("no such image: homeassistant/raspberrypi4-homeassistant:0.103.5: No such image: homeassistant/raspberrypi4-homeassistant:0.103.5").
19-12-31 10:04:02 WARNING (MainThread) [hassio.homeassistant] Update Home Assistant image fails

I’ve found some topics stating that diskspace could be an issue, but it seems like there’s plenty.

config $ df -h
Filesystem                Size      Used Available Use% Mounted on
overlay                  28.0G      3.1G     23.4G  12% /
tmpfs                    64.0M         0     64.0M   0% /dev
tmpfs                     1.9G         0      1.9G   0% /sys/fs/cgroup
/dev/root                91.0M     91.0M         0 100% /dev/init
/dev/mmcblk0p8           28.0G      3.1G     23.4G  12% /data
/dev/mmcblk0p8           28.0G      3.1G     23.4G  12% /config
/dev/mmcblk0p8           28.0G      3.1G     23.4G  12% /ssl
/dev/mmcblk0p8           28.0G      3.1G     23.4G  12% /addons
/dev/mmcblk0p8           28.0G      3.1G     23.4G  12% /backup
/dev/mmcblk0p8           28.0G      3.1G     23.4G  12% /share
/dev/mmcblk0p8           28.0G      3.1G     23.4G  12% /etc/resolv.conf
/dev/mmcblk0p8           28.0G      3.1G     23.4G  12% /etc/hostname
/dev/mmcblk0p8           28.0G      3.1G     23.4G  12% /etc/hosts
shm                      64.0M         0     64.0M   0% /dev/shm
tmpfs                     1.9G         0      1.9G   0% /proc/asound
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                     1.9G         0      1.9G   0% /sys/firmware

Can anybody point me in the right direction on how to update home assistant?

I often get this kind of messages when trying to update. Usually, after the n-th time it works.

I’ve tried several times, no cigar unfortunately :confused:

I think it might have something to do with trusted networks/proxies. I’ve created an issue at Github: https://github.com/home-assistant/hassio-supervisor/issues/1411

Did a fresh install to 0.103.5, lets hope the next update just works :slight_smile:

1 Like

Updated to 0.104.0 without a problem :slight_smile:

After I have updated my container of the Home Assistant to 0.105.0 I don’t have hass.io (ye Supervisor now) tab at all. I see that everything boots up without errors after restart, but why the tab is missing in Lovelace?