HA OS won't update beyond 7.6

Hi!

I’m running Home Assistant OS on a Raspberry PI 4 (recommended setup). While I keep my HA always up2date, I missed some updates on the HA OS and recently wanted to eventually perform them. However, without any failure notice, the Raspberry reboots after the update process and still comes up with version 7.6.

I tried updating through the web UI as well as using the CLI and also tried going to a lower version (specifically 8.0) than the most recent 8.5. Same result every time.

It seems the logs that I can see through the CLI only go back until the last reboot - at least I cannot see the update process in the logs at all, only what is printed from the CLI when doing the update API call (see below).

I already looked into various logs but could not find anything suspicious. Can someone recommend any further steps to update the HA OS?

Please find additional debug information I collected so far below.

Thanks in advance!
Toby

General info from the CLI:

$ ha info
arch: armv7
channel: stable
docker: 20.10.9
features:
- reboot
- shutdown
- services
- network
- hostname
- timedate
- os_agent
- haos
- resolved
hassos: "7.6"
homeassistant: 2022.9.1
hostname: homeassistant
logging: info
machine: raspberrypi4
operating_system: Home Assistant OS 7.6
state: running
supervisor: 2022.08.6
supported: true
supported_arch:
- armv7
- armhf
timezone: Europe/Berlin

OS info:

$ ha os info
board: rpi4
boot: A
data_disk: /dev/mmcblk0p8
update_available: true
version: "7.6"
version_latest: "8.5"

Last update process with debug log-level:

$ ha os update --version 8.0 --log-level debug --no-progress
DEBU[0000] Adding homedir to searchpath                  homedir=/root
INFO[0000] No configfile found                          
DEBU[0000] Debug flags                                   apiToken=33478d66db5e29c284792e210e8bf75c2be863b235175304f26b669cf277332790a9ab537903bc87a420c9abb1cc8c25b1e51ad196b626ed cfgFile= endpoint=supervisor logLevel=debug noProgress=true rawJSON=false
DEBU[0000] os update                                     args="[]"
DEBU[0000] [GenerateURI]                                 base=supervisor command=update section=os
DEBU[0000] [GenerateURI] Result                          uri="http://supervisor/os/update" url="http://supervisor/os/update" url(string)="http://supervisor/os/update"
DEBU[0000] Request body                                  body="map[version:8.0]"
DEBU[0049] Response                                      body="{\"result\": \"ok\", \"data\": {}}" fields.time=49.49212214s headers="map[Content-Length:[28] Content-Type:[application/json; charset=utf-8] Date:[Tue, 13 Sep 2022 18:15:54 GMT] Server:[Python/3.10 aiohttp/3.8.1]]" received-at="2022-09-13 20:15:54.327719579 +0200 CEST m=+49.505356905" request="&{POST http://supervisor/os/update HTTP/1.1 1 1 map[Accept:[application/json] Authorization:[Bearer 33478d66db5e29c284792e210e8bf75c2be863b235175304f26b669cf277332790a9ab537903bc87a420c9abb1cc8c25b1e51ad196b626ed] Content-Type:[application/json] User-Agent:[go-resty/2.7.0 (https://github.com/go-resty/resty)]] 0x1d00cd8 0x3063b4 17 [] false supervisor map[] map[] <nil> map[]   <nil> <nil> <nil> 0x1c1a0f0}" status="200 OK" statuscode=200
Command completed successfully.

Recent supervisor logs from the CLI:

$ ha supervisor logs
22-09-13 20:19:34 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
22-09-13 20:19:34 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
22-09-13 20:19:34 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-09-13 20:19:34 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-09-13 20:19:34 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-09-13 20:19:34 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP
22-09-13 20:19:34 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-09-13 20:19:34 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-09-13 20:19:34 INFO (MainThread) [__main__] Running Supervisor
22-09-13 20:19:34 INFO (MainThread) [supervisor.os.manager] Rauc: A - marked slot kernel.0 as good
22-09-13 20:19:34 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
22-09-13 20:19:34 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 0 add-ons
22-09-13 20:19:34 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 1 add-ons
22-09-13 20:19:36 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on homeassistant/armv7-addon-ssh with version 9.6.1
22-09-13 20:19:41 INFO (MainThread) [supervisor.core] Start Home Assistant Core
22-09-13 20:19:41 INFO (SyncWorker_5) [supervisor.docker.interface] Starting homeassistant
22-09-13 20:19:42 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-09-13 20:19:54 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.STARTUP
22-09-13 20:19:54 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-09-13 20:19:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository
22-09-13 20:19:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
22-09-13 20:19:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
22-09-13 20:19:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
22-09-13 20:19:57 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-09-13 20:19:58 INFO (MainThread) [supervisor.store] Loading add-ons from store: 67 all - 0 new - 0 remove
22-09-13 20:19:58 INFO (MainThread) [supervisor.store] Loading add-ons from store: 67 all - 0 new - 0 remove
22-09-13 20:20:13 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
22-09-13 20:20:13 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 2 add-ons
22-09-13 20:20:15 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on homeassistant/armv7-addon-configurator with version 5.4.1
22-09-13 20:20:17 INFO (SyncWorker_7) [supervisor.docker.addon] Starting Docker add-on sabeechen/hassio-google-drive-backup-armv7 with version 0.108.3
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/8b64595b/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/3f0b77d6/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/89af98b9/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/eea5b386/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/e3c96e01/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/73a953ae/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/6570c9b0/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/537e15da/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/07aef2a9/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/3f3c88cb/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/9f72adcf/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/41b6f51d/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/4153af44/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/ae462788/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/42cfc210/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:20 INFO (MainThread) [supervisor.api.middleware.security] /backups/b298e666/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/167d6c71/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/0a74f9cb/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/fc781f42/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/f6eb1ae8/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/8894a44d/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/b2fc5e6e/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/5dc4c9f9/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/4df43954/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/7cce4867/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/77e34a0c/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/82d618d7/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/ab55f7d6/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/73faa4a6/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/1c69c0a5/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/22bf17f8/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/f414425e/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/e3c1aa27/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/80b2b7f9/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/d43be8b4/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:21 INFO (MainThread) [supervisor.api.middleware.security] /backups/9d34d8e5/info access from cebe7a76_hassio_google_drive_backup
22-09-13 20:20:22 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
22-09-13 20:20:22 INFO (MainThread) [supervisor.core] Supervisor is up and running
22-09-13 20:20:22 INFO (MainThread) [supervisor.host.info] Updating local host information
22-09-13 20:20:22 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-09-13 20:20:22 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-09-13 20:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
22-09-13 20:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-09-13 20:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-09-13 20:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.IPV4_CONNECTION_PROBLEM/ContextType.SYSTEM
22-09-13 20:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
22-09-13 20:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-09-13 20:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-09-13 20:20:22 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-09-13 20:20:22 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-09-13 20:20:23 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-09-13 20:20:23 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-09-13 20:20:23 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-09-13 20:20:23 INFO (MainThread) [supervisor.host.services] Updating service information
22-09-13 20:20:23 INFO (MainThread) [supervisor.host.network] Updating local network information
22-09-13 20:20:24 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-09-13 20:20:24 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-09-13 20:32:47 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_ssh
22-09-13 20:32:47 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_ssh
22-09-13 20:32:47 INFO (MainThread) [supervisor.api.middleware.security] /host/info access from core_ssh
22-09-13 20:32:47 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from core_ssh
22-09-13 20:36:16 INFO (MainThread) [supervisor.api.middleware.security] /os/info access from core_ssh
22-09-13 20:39:16 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from core_ssh

You might be better off downloading a backup to a USB stick, then blow everything away and install the latest version from scratch before finally doing a restore. You could do it on a separate microSD to keep the original as a backup in case it goes pear-shaped.

Hi Michael,

Do you mean a classical HA backup, flash the SD with the newest HA OS and then import the backup again? Or is there a way how I can export the HA installation (e.g. copy the full directory) directly from the SD?

Thanks
Toby

Yeah I was thinking an HA backup. The ‘normal’ way would be to download it to a USB stick, but I use the Google Drive Backup addon. A few times I’ve moved machines by just installing a fresh version of HAOS, then the backup addon, and restore from the latest backup version.

Great, I also have Google Cloud backup running. I like the idea of doing that on a fresh SD card so I can come back to my old installation if there are problems. Thanks for your suggestion!