Closed muntoris closed 1 year ago
I wonder, if there is a way to manual update the HA OS.
Can you post the Supervisor logs after pressing the upgrade button?
Can you post the Supervisor logs after pressing the upgrade button?
22-06-27 20:32:04 ERROR (MainThread) [supervisor.os.manager] Home Assistant Operating System update failed with: Installation error: Failed updating slot boot.0: failed to run slot hook: Child process exited with code 1
here we go .. supervisor log after an upgrade try:
22-06-27 14:49:56 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-audio with version 2022.05.0
22-06-27 14:49:56 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
22-06-27 14:49:58 INFO (SyncWorker_0) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/aarch64-hassio-audio with version 2022.05.0 - 172.30.32.4
22-06-27 14:49:58 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0
22-06-27 14:49:58 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-multicast with version 2022.02.0
22-06-27 14:49:58 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
22-06-27 14:49:59 INFO (SyncWorker_1) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/aarch64-hassio-multicast with version 2022.02.0 - Host
22-06-27 14:49:59 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-06-27 14:50:00 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 1 Home Assistant secrets
22-06-27 14:50:00 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2022.6.7
22-06-27 14:50:01 INFO (MainThread) [supervisor.os.manager] Detect Home Assistant Operating System 7.6 / BootSlot A
22-06-27 14:50:02 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/3a26b21d repository
22-06-27 14:50:02 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
22-06-27 14:50:02 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
22-06-27 14:50:02 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/75a80a57 repository
22-06-27 14:50:04 INFO (MainThread) [supervisor.store] Loading add-ons from store: 64 all - 64 new - 0 remove
22-06-27 14:50:04 INFO (MainThread) [supervisor.addons] Found 9 installed add-ons
22-06-27 14:50:04 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-samba with version 10.0.0
22-06-27 14:50:04 INFO (SyncWorker_3) [supervisor.docker.interface] Attaching to bropat/eufy-security-ws with version 0.9.2
22-06-27 14:50:04 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-letsencrypt with version 4.12.5
22-06-27 14:50:04 INFO (SyncWorker_5) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/node-red/aarch64 with version 12.0.2
22-06-27 14:50:04 INFO (SyncWorker_4) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-ssh with version 9.4.0
22-06-27 14:50:04 INFO (SyncWorker_6) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/influxdb/aarch64 with version 4.5.0
22-06-27 14:50:04 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to aler9/rtsp-simple-server with version v0.17.6
22-06-27 14:50:04 INFO (SyncWorker_7) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/grafana/aarch64 with version 7.6.0
22-06-27 14:50:04 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-configurator with version 5.3.3
22-06-27 14:50:04 INFO (MainThread) [supervisor.backups.manager] Found 97 backup files
22-06-27 14:50:04 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
22-06-27 14:50:04 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
22-06-27 14:50:04 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
22-06-27 14:50:04 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-06-27 14:50:04 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-06-27 14:50:04 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-27 14:50:04 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP
22-06-27 14:50:04 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-06-27 14:50:04 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-27 14:50:04 INFO (MainThread) [__main__] Running Supervisor
22-06-27 14:50:04 INFO (MainThread) [supervisor.os.manager] Rauc: A - marked slot kernel.0 as good
22-06-27 14:50:04 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
22-06-27 14:50:04 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 0 add-ons
22-06-27 14:50:04 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 3 add-ons
22-06-27 14:50:04 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
22-06-27 14:50:04 WARNING (SyncWorker_0) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
22-06-27 14:50:06 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-samba with version 10.0.0
22-06-27 14:50:07 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
22-06-27 14:50:08 INFO (SyncWorker_5) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/influxdb/aarch64 with version 4.5.0
22-06-27 14:50:08 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_samba
22-06-27 14:50:09 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/grafana/aarch64 with version 7.6.0
22-06-27 14:50:14 INFO (MainThread) [supervisor.core] Start Home Assistant Core
22-06-27 14:50:15 INFO (SyncWorker_3) [supervisor.docker.interface] Starting homeassistant
22-06-27 14:50:15 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-06-27 14:50:15 INFO (MainThread) [supervisor.api.middleware.security] /dns/info access from a0d7b954_influxdb
22-06-27 14:50:31 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.STARTUP
22-06-27 14:50:31 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-27 14:50:32 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-06-27 14:50:32 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
22-06-27 14:50:32 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
22-06-27 14:50:32 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/fuatakgun/eufy_security_addon repository
22-06-27 14:50:32 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/fuatakgun/rtsp_simple_server repository
22-06-27 14:50:33 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-06-27 14:50:35 INFO (MainThread) [supervisor.store] Loading add-ons from store: 64 all - 0 new - 0 remove
22-06-27 14:50:35 INFO (MainThread) [supervisor.store] Loading add-ons from store: 64 all - 0 new - 0 remove
22-06-27 14:50:37 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
22-06-27 14:51:43 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
22-06-27 14:51:43 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 4 add-ons
22-06-27 14:51:45 INFO (SyncWorker_6) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-configurator with version 5.3.3
22-06-27 14:51:47 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on bropat/eufy-security-ws with version 0.9.2
22-06-27 14:51:49 INFO (SyncWorker_6) [supervisor.docker.addon] Starting Docker add-on aler9/rtsp-simple-server with version v0.17.6
22-06-27 14:51:51 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/node-red/aarch64 with version 12.0.2
22-06-27 14:51:56 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
22-06-27 14:51:56 INFO (MainThread) [supervisor.core] Supervisor is up and running
22-06-27 14:51:56 INFO (MainThread) [supervisor.host.info] Updating local host information
22-06-27 14:51:56 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-06-27 14:51:56 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-06-27 14:51:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
22-06-27 14:51:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-06-27 14:51:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-06-27 14:51:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-06-27 14:51:56 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
22-06-27 14:51:57 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-06-27 14:51:57 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
22-06-27 14:51:57 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-06-27 14:51:57 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-06-27 14:51:57 INFO (MainThread) [supervisor.host.services] Updating service information
22-06-27 14:51:57 INFO (MainThread) [supervisor.host.network] Updating local network information
22-06-27 14:51:58 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-06-27 14:51:58 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-06-27 14:51:59 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-06-27 14:51:59 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-06-27 14:51:59 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-06-27 14:52:39 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
22-06-27 14:52:39 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
22-06-27 14:52:39 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
22-06-27 14:52:39 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
22-06-27 14:52:39 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
22-06-27 14:52:39 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
22-06-27 14:52:39 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
22-06-27 14:52:39 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
22-06-27 14:52:39 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
also the host log:
I have the feeling, that when I click on the "upgrade" button, just nothing happens in the backend. The system reboots and thats it. I also do not have the option to create an backup before upgrading. Is this normal? For every other upgrade/update I have that option.
Nobody a suggestion or solution? I really do not want to setup the complete system from scratch ...
here we go .. supervisor log after an upgrade try:
That log is from after the reboot I assume correct? Can you try capture one just before it starts rebooting? I understand might not work, but the log after reboot only contains the startup sequence of Supervisor, no logs of why the update failed, unfortunately.
The system reboots and thats it. I also do not have the option to create an backup before upgrading. Is this normal? For every other upgrade/update I have that option.
That is normal yes, as we don't have a backup of the OS itself (it is mostly stateless anyways).
Do you have SSH access to the underlying OS?
Not so easy to grab the logs BEFORE reboot. I did now an update to version 8.0 (for trying) and the last lines before the reboot:
22-07-16 19:53:54 INFO (MainThread) [supervisor.api.middleware.security] /os/update access from core_ssh 22-07-16 19:53:54 INFO (MainThread) [supervisor.os.manager] Fetch OTA update from https://github.com/home-assistant/operating-system/releases/download/8.0/haos_rpi4-64-8.0.raucb 22-07-16 19:54:03 INFO (MainThread) [supervisor.os.manager] Completed download of OTA update file /data/tmp/hassos-8.0.raucb
Are the log files somewhere stored or after the reboot overwritten?
I have the same issue
Here is the logs
22-07-18 16:40:00 INFO (MainThread) [supervisor.os.manager] Completed download of OTA update file /data/tmp/hassos-8.2.raucb
22-07-18 16:40:24 ERROR (MainThread) [supervisor.os.manager] Home Assistant Operating System update failed with: Installation error: Failed updating slot boot.0: failed to run slot hook: Child process exited with code 1
Tried to reboot host / supervisor - no changes. Tried ha supervisor repair command - also didn't help.
Are the log files somewhere stored or after the reboot overwritten?
The frontend only shows logs since the last boot (and a maximum of 100 lines for most log types).
However, underneath more logs are stored, but currently SSH access is required to access them.
If someone has SSH access to the underlying OS, please try to get the following with the following commands:
journalctl -u rauc.service
journalctl CONTAINER_NAME=hassio_supervisor --since yesterday
I'm having the same issue, and have been since before 7.6. I'm on rpi3-64 as well and the only solution I've found to update is to wipe and reflash the SD card, which totally overwrites my current setup. Hoping to find a solution that doesn't involve upgrading hardware.
@agners sorry for the delay here, took me a couple days to get around to getting the SSH set up. I also made the mistake[?] of trying the update from the SSH CLI before I tested it front end again. The interesting news is that the update did actually work from CLI, so apparently it's not a hardware thing. I'm now on 8.2, which had failed from the front end.
I went ahead and pulled the two command responses you asked for. Command 1 is below, but command 2 was is too long to paste. Not sure if there's a better way around that. They were pulled after the CLI update went through, so they may or may not be helpful for troubleshooting. Unfortunately, I've ruled myself out of front-end update testing until another update drops, so let me know if I can help in the meantime.
Command 1:
May 10 14:37:43 homeassistant rauc[358]: rauc mark: marked slot kernel.0 as good
-- Boot 0ecab851763248ac8ac018c4fe53fcf4 --
May 16 11:47:53 homeassistant systemd[1]: Starting Rauc Update Service...
May 16 11:47:54 homeassistant rauc[339]: Using central status file /mnt/data/rauc.db
May 16 11:47:54 homeassistant systemd[1]: Started Rauc Update Service.
May 16 11:50:38 homeassistant rauc[339]: rauc mark: marked slot kernel.0 as good
-- Boot d5c2ba78ef3f47c18162f856dcea78d6 --
May 16 20:29:55 homeassistant rauc[334]: rauc mark: marked slot kernel.0 as good
May 23 22:18:29 homeassistant rauc[334]: rauc mark: marked slot kernel.0 as good
-- Boot 0ecab851763248ac8ac018c4fe53fcf4 --
Jun 08 01:43:48 homeassistant rauc[339]: Using deprecated 'Install' D-Bus Method (replaced by 'InstallBundle')
Jun 08 01:43:48 homeassistant rauc[339]: input bundle: /mnt/data/supervisor/tmp/hassos-8.1.raucb
Jun 08 01:43:48 homeassistant rauc[339]: Active slot bootname: A
Jun 08 01:43:48 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: started
Jun 08 01:43:48 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Checking and mounting bundle...
Jun 08 01:43:48 homeassistant rauc[339]: Reading bundle: /mnt/data/supervisor/tmp/hassos-8.1.raucb
Jun 08 01:43:48 homeassistant rauc[339]: Detected CRL but CRL checking is disabled!
Jun 08 01:43:48 homeassistant rauc[339]: Verifying bundle signature...
Jun 08 01:43:52 homeassistant rauc[339]: Verified detached signature by 'O = HassOS, CN = HassOS GitHub-1'
Jun 08 01:43:52 homeassistant rauc[339]: Mounting bundle '/mnt/data/supervisor/tmp/hassos-8.1.raucb' to '/run/rauc/bundle'
Jun 08 01:43:52 homeassistant rauc[339]: Configured loop device '/dev/loop0' for 117989376 bytes
Jun 08 01:43:52 homeassistant rauc[339]: Running bundle hook install-check
Jun 08 01:43:52 homeassistant rauc[339]: Marking target slot kernel.1 as non-bootable...
Jun 08 01:43:52 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slots...
Jun 08 01:43:52 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Checking slot boot.0
Jun 08 01:43:53 homeassistant rauc[339]: Slot needs to be updated with /run/rauc/bundle/boot.vfat
Jun 08 01:43:53 homeassistant rauc[339]: Updating /dev/disk/by-partlabel/hassos-boot with /run/rauc/bundle/boot.vfat
Jun 08 01:43:53 homeassistant rauc[339]: Running custom slot install hook for boot.0
Jun 08 01:43:53 homeassistant rauc[339]: Running slot hook slot-install for boot.0
Jun 08 01:43:53 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot boot.0
Jun 08 01:44:25 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot boot.0 status
Jun 08 01:44:25 homeassistant rauc[339]: Checking image type for slot type: raw
Jun 08 01:44:25 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot boot.0 done
Jun 08 01:44:25 homeassistant rauc[339]: Image detected as type: *.img
Jun 08 01:44:25 homeassistant rauc[339]: Slot needs to be updated with /run/rauc/bundle/kernel.img
Jun 08 01:44:25 homeassistant rauc[339]: Updating /dev/disk/by-partlabel/hassos-kernel1 with /run/rauc/bundle/kernel.img
Jun 08 01:44:25 homeassistant rauc[339]: opening slot device /dev/disk/by-partlabel/hassos-kernel1
Jun 08 01:44:25 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Checking slot kernel.1
Jun 08 01:44:25 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot kernel.1
Jun 08 01:44:25 homeassistant rauc[339]: writing data to device /dev/disk/by-partlabel/hassos-kernel1
Jun 08 01:44:30 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot kernel.1 status
Jun 08 01:44:30 homeassistant rauc[339]: Checking image type for slot type: raw
Jun 08 01:44:30 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot kernel.1 done
Jun 08 01:44:30 homeassistant rauc[339]: Image detected as type: *.img
Jun 08 01:44:30 homeassistant rauc[339]: Slot needs to be updated with /run/rauc/bundle/rootfs.img
Jun 08 01:44:30 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Checking slot rootfs.1
Jun 08 01:44:30 homeassistant rauc[339]: Updating /dev/disk/by-partlabel/hassos-system1 with /run/rauc/bundle/rootfs.img
Jun 08 01:44:30 homeassistant rauc[339]: opening slot device /dev/disk/by-partlabel/hassos-system1
Jun 08 01:44:30 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot rootfs.1
Jun 08 01:44:30 homeassistant rauc[339]: writing data to device /dev/disk/by-partlabel/hassos-system1
Jun 08 01:45:03 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot rootfs.1 status
Jun 08 01:45:03 homeassistant rauc[339]: Marking target slot kernel.1 as bootable...
Jun 08 01:45:03 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot rootfs.1 done
Jun 08 01:45:04 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: All slots updated
Jun 08 01:45:04 homeassistant rauc[339]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: finished
Jun 08 01:45:04 homeassistant rauc[339]: installing `/mnt/data/supervisor/tmp/hassos-8.1.raucb` succeeded
Jun 08 01:45:52 homeassistant rauc[339]: stopping service
Jun 08 01:45:52 homeassistant systemd[1]: Stopping Rauc Update Service...
Jun 08 01:45:52 homeassistant systemd[1]: rauc.service: Deactivated successfully.
Jun 08 01:45:52 homeassistant systemd[1]: Stopped Rauc Update Service.
-- Boot 4cc6e3bd4bde4b47a5f72f2e1d540f92 --
Jun 08 01:45:59 homeassistant systemd[1]: Starting Rauc Update Service...
Jun 08 01:46:00 homeassistant rauc[339]: Using central status file /mnt/data/rauc.db
Jun 08 01:46:00 homeassistant systemd[1]: Started Rauc Update Service.
-- Boot 4ab07c0ad8ab485a9a9f29b0b9f56426 --
Jun 08 09:36:51 homeassistant rauc[335]: rauc mark: marked slot kernel.0 as good
Jun 08 23:15:59 homeassistant rauc[335]: Using deprecated 'Install' D-Bus Method (replaced by 'InstallBundle')
Jun 08 23:15:59 homeassistant rauc[335]: input bundle: /mnt/data/supervisor/tmp/hassos-8.1.raucb
Jun 08 23:15:59 homeassistant rauc[335]: Active slot bootname: A
Jun 08 23:15:59 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: started
Jun 08 23:15:59 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Checking and mounting bundle...
Jun 08 23:15:59 homeassistant rauc[335]: Reading bundle: /mnt/data/supervisor/tmp/hassos-8.1.raucb
Jun 08 23:15:59 homeassistant rauc[335]: Detected CRL but CRL checking is disabled!
Jun 08 23:15:59 homeassistant rauc[335]: Verifying bundle signature...
Jun 08 23:16:03 homeassistant rauc[335]: Verified detached signature by 'O = HassOS, CN = HassOS GitHub-1'
Jun 08 23:16:03 homeassistant rauc[335]: Mounting bundle '/mnt/data/supervisor/tmp/hassos-8.1.raucb' to '/run/rauc/bundle'
Jun 08 23:16:03 homeassistant rauc[335]: Configured loop device '/dev/loop0' for 117989376 bytes
Jun 08 23:16:03 homeassistant rauc[335]: Running bundle hook install-check
Jun 08 23:16:04 homeassistant rauc[335]: Marking target slot kernel.1 as non-bootable...
Jun 08 23:16:04 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slots...
Jun 08 23:16:04 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Checking slot boot.0
Jun 08 23:16:04 homeassistant rauc[335]: Slot needs to be updated with /run/rauc/bundle/boot.vfat
Jun 08 23:16:04 homeassistant rauc[335]: Updating /dev/disk/by-partlabel/hassos-boot with /run/rauc/bundle/boot.vfat
Jun 08 23:16:04 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot boot.0
Jun 08 23:16:04 homeassistant rauc[335]: Running custom slot install hook for boot.0
Jun 08 23:16:04 homeassistant rauc[335]: Running slot hook slot-install for boot.0
Jun 08 23:16:39 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot boot.0 status
Jun 08 23:16:39 homeassistant rauc[335]: Checking image type for slot type: raw
Jun 08 23:16:39 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot boot.0 done
Jun 08 23:16:39 homeassistant rauc[335]: Image detected as type: *.img
Jun 08 23:16:39 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Checking slot kernel.1
Jun 08 23:16:39 homeassistant rauc[335]: Slot needs to be updated with /run/rauc/bundle/kernel.img
Jun 08 23:16:39 homeassistant rauc[335]: Updating /dev/disk/by-partlabel/hassos-kernel1 with /run/rauc/bundle/kernel.img
Jun 08 23:16:39 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot kernel.1
Jun 08 23:16:39 homeassistant rauc[335]: opening slot device /dev/disk/by-partlabel/hassos-kernel1
Jun 08 23:16:39 homeassistant rauc[335]: writing data to device /dev/disk/by-partlabel/hassos-kernel1
Jun 08 23:16:42 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot kernel.1 status
Jun 08 23:16:42 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot kernel.1 done
Jun 08 23:16:42 homeassistant rauc[335]: Checking image type for slot type: raw
Jun 08 23:16:42 homeassistant rauc[335]: Image detected as type: *.img
Jun 08 23:16:42 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Checking slot rootfs.1
Jun 08 23:16:42 homeassistant rauc[335]: Slot needs to be updated with /run/rauc/bundle/rootfs.img
Jun 08 23:16:42 homeassistant rauc[335]: Updating /dev/disk/by-partlabel/hassos-system1 with /run/rauc/bundle/rootfs.img
Jun 08 23:16:42 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot rootfs.1
Jun 08 23:16:42 homeassistant rauc[335]: opening slot device /dev/disk/by-partlabel/hassos-system1
Jun 08 23:16:42 homeassistant rauc[335]: writing data to device /dev/disk/by-partlabel/hassos-system1
Jun 08 23:17:11 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot rootfs.1 status
Jun 08 23:17:11 homeassistant rauc[335]: Marking target slot kernel.1 as bootable...
Jun 08 23:17:11 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: Updating slot rootfs.1 done
Jun 08 23:17:12 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: All slots updated
Jun 08 23:17:12 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.1.raucb: finished
Jun 08 23:17:12 homeassistant rauc[335]: installing `/mnt/data/supervisor/tmp/hassos-8.1.raucb` succeeded
Jun 08 23:18:00 homeassistant systemd[1]: Stopping Rauc Update Service...
Jun 08 23:18:00 homeassistant rauc[335]: stopping service
Jun 08 23:18:01 homeassistant systemd[1]: rauc.service: Deactivated successfully.
Jun 08 23:18:01 homeassistant systemd[1]: Stopped Rauc Update Service.
-- Boot 4cc6e3bd4bde4b47a5f72f2e1d540f92 --
Jun 08 23:21:54 homeassistant rauc[339]: rauc mark: marked slot kernel.0 as good
-- Boot 50b64dd97fc84f6da50795f49eccac80 --
Jun 14 11:54:16 homeassistant systemd[1]: Starting Rauc Update Service...
Jun 14 11:54:19 homeassistant rauc[334]: Using central status file /mnt/data/rauc.db
Jun 14 11:54:19 homeassistant systemd[1]: Started Rauc Update Service.
Jun 14 11:57:00 homeassistant rauc[334]: rauc mark: marked slot kernel.0 as good
Jul 06 10:04:24 homeassistant rauc[334]: rauc mark: marked slot kernel.0 as good
Jul 07 10:20:58 homeassistant rauc[334]: rauc mark: marked slot kernel.0 as good
-- Boot d621c9f3b74a4cd99837779a5142aeb0 --
Jul 14 15:02:03 homeassistant systemd[1]: Starting Rauc Update Service...
Jul 14 15:02:04 homeassistant rauc[331]: Using central status file /mnt/data/rauc.db
Jul 14 15:02:04 homeassistant systemd[1]: Started Rauc Update Service.
Jul 14 15:04:58 homeassistant rauc[331]: rauc mark: marked slot kernel.0 as good
-- Boot e98abda81ecd4863a879d4e34dd04890 --
Jul 20 11:35:13 homeassistant systemd[1]: Starting Rauc Update Service...
Jul 20 11:35:14 homeassistant rauc[337]: Using central status file /mnt/data/rauc.db
Jul 20 11:35:14 homeassistant systemd[1]: Started Rauc Update Service.
Jul 22 04:11:15 homeassistant rauc[337]: rauc mark: marked slot kernel.0 as good
-- Boot 0ef4cdcf9e3245a1b5ae33d535fb750c --
Jul 22 04:43:29 homeassistant systemd[1]: Starting Rauc Update Service...
Jul 22 04:43:30 homeassistant rauc[335]: Using central status file /mnt/data/rauc.db
Jul 22 04:43:30 homeassistant systemd[1]: Started Rauc Update Service.
Jul 22 06:42:34 homeassistant rauc[2909]: Warning: Bad CRC, using default environment
Jul 22 06:42:34 homeassistant rauc[335]: rauc mark: marked slot kernel.0 as good
Jul 22 20:00:26 homeassistant rauc[335]: Using deprecated 'Install' D-Bus Method (replaced by 'InstallBundle')
Jul 22 20:00:26 homeassistant rauc[335]: input bundle: /mnt/data/supervisor/tmp/hassos-8.2.raucb
Jul 22 20:00:26 homeassistant rauc[335]: Active slot bootname: A
Jul 22 20:00:26 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: started
Jul 22 20:00:26 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Checking and mounting bundle...
Jul 22 20:00:26 homeassistant rauc[335]: Reading bundle: /mnt/data/supervisor/tmp/hassos-8.2.raucb
Jul 22 20:00:26 homeassistant rauc[335]: Detected CRL but CRL checking is disabled!
Jul 22 20:00:26 homeassistant rauc[335]: Verifying bundle signature...
Jul 22 20:00:30 homeassistant rauc[335]: Verified detached signature by 'O = HassOS, CN = HassOS GitHub-1'
Jul 22 20:00:30 homeassistant rauc[335]: Mounting bundle '/mnt/data/supervisor/tmp/hassos-8.2.raucb' to '/run/rauc/bundle'
Jul 22 20:00:30 homeassistant rauc[335]: Configured loop device '/dev/loop0' for 119005184 bytes
Jul 22 20:00:30 homeassistant rauc[335]: Running bundle hook install-check
Jul 22 20:00:30 homeassistant rauc[335]: Marking target slot kernel.1 as non-bootable...
Jul 22 20:00:30 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Updating slots...
Jul 22 20:00:30 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Checking slot boot.0
Jul 22 20:00:30 homeassistant rauc[335]: Slot needs to be updated with /run/rauc/bundle/boot.vfat
Jul 22 20:00:30 homeassistant rauc[335]: Updating /dev/disk/by-partlabel/hassos-boot with /run/rauc/bundle/boot.vfat
Jul 22 20:00:30 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Updating slot boot.0
Jul 22 20:00:30 homeassistant rauc[335]: Running custom slot install hook for boot.0
Jul 22 20:00:30 homeassistant rauc[335]: Running slot hook slot-install for boot.0
Jul 22 20:01:04 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Updating slot boot.0 status
Jul 22 20:01:04 homeassistant rauc[335]: Checking image type for slot type: raw
Jul 22 20:01:04 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Updating slot boot.0 done
Jul 22 20:01:04 homeassistant rauc[335]: Image detected as type: *.img
Jul 22 20:01:04 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Checking slot kernel.1
Jul 22 20:01:04 homeassistant rauc[335]: Slot needs to be updated with /run/rauc/bundle/kernel.img
Jul 22 20:01:04 homeassistant rauc[335]: Updating /dev/disk/by-partlabel/hassos-kernel1 with /run/rauc/bundle/kernel.img
Jul 22 20:01:04 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Updating slot kernel.1
Jul 22 20:01:04 homeassistant rauc[335]: opening slot device /dev/disk/by-partlabel/hassos-kernel1
Jul 22 20:01:04 homeassistant rauc[335]: writing data to device /dev/disk/by-partlabel/hassos-kernel1
Jul 22 20:01:06 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Updating slot kernel.1 status
Jul 22 20:01:06 homeassistant rauc[335]: Checking image type for slot type: raw
Jul 22 20:01:06 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Updating slot kernel.1 done
Jul 22 20:01:06 homeassistant rauc[335]: Image detected as type: *.img
Jul 22 20:01:06 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Checking slot rootfs.1
Jul 22 20:01:06 homeassistant rauc[335]: Slot needs to be updated with /run/rauc/bundle/rootfs.img
Jul 22 20:01:06 homeassistant rauc[335]: Updating /dev/disk/by-partlabel/hassos-system1 with /run/rauc/bundle/rootfs.img
Jul 22 20:01:06 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Updating slot rootfs.1
Jul 22 20:01:06 homeassistant rauc[335]: opening slot device /dev/disk/by-partlabel/hassos-system1
Jul 22 20:01:06 homeassistant rauc[335]: writing data to device /dev/disk/by-partlabel/hassos-system1
Jul 22 20:01:27 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Updating slot rootfs.1 status
Jul 22 20:01:27 homeassistant rauc[335]: Marking target slot kernel.1 as bootable...
Jul 22 20:01:27 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: Updating slot rootfs.1 done
Jul 22 20:01:27 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: All slots updated
Jul 22 20:01:27 homeassistant rauc[335]: installing /mnt/data/supervisor/tmp/hassos-8.2.raucb: finished
Jul 22 20:01:27 homeassistant rauc[335]: installing `/mnt/data/supervisor/tmp/hassos-8.2.raucb` succeeded
Jul 22 20:02:39 homeassistant systemd[1]: Stopping Rauc Update Service...
Jul 22 20:02:39 homeassistant rauc[335]: stopping service
Jul 22 20:02:39 homeassistant systemd[1]: rauc.service: Deactivated successfully.
Jul 22 20:02:39 homeassistant systemd[1]: Stopped Rauc Update Service.
-- Boot c8cbd20124af4717a1ed1f8e4c2e65e5 --
Jul 22 20:02:46 homeassistant systemd[1]: Starting Rauc Update Service...
Jul 22 20:02:47 homeassistant rauc[360]: Using central status file /mnt/data/rauc.db
Jul 22 20:02:47 homeassistant rauc[360]: Using central status file /mnt/data/rauc.db
Jul 22 20:02:47 homeassistant systemd[1]: Started Rauc Update Service.
Jul 22 20:06:09 homeassistant rauc[360]: rauc mark: marked slot kernel.1 as good
@czrogers13 At least on your last reboot, it seems the system rebooted into the new OS. Are you sure that updating failed?
Can you paste output of ha os info
before and after the update?
I have the same issue, and while running the aforementioned commands, it seems like I don't have systemd
installed. How can I run those commands on my raspberry pi?
~ journalctl -u rauc.service
zsh: command not found: journalctl
~ apt-get install systemd
zsh: command not found: apt-get
same issue here - trying to upgrade from 7.6 to 8.4.
Here is my log
Aug 30 15:47:34 homeassistant rauc[376]: Using deprecated 'Install' D-Bus Method (replaced by 'InstallBundle')
Aug 30 15:47:34 homeassistant rauc[376]: Active slot bootname: A
Aug 30 15:47:34 homeassistant rauc[376]: input bundle: /mnt/data/supervisor/tmp/hassos-8.5.raucb
Aug 30 15:47:34 homeassistant rauc[376]: installing /mnt/data/supervisor/tmp/hassos-8.5.raucb: started
Aug 30 15:47:34 homeassistant rauc[376]: installing /mnt/data/supervisor/tmp/hassos-8.5.raucb: Checking and mounting bundle...
Aug 30 15:47:34 homeassistant rauc[376]: Reading bundle: /mnt/data/supervisor/tmp/hassos-8.5.raucb
Aug 30 15:47:34 homeassistant rauc[376]: Detected CRL but CRL checking is disabled!
Aug 30 15:47:34 homeassistant rauc[376]: Verifying bundle signature...
Aug 30 15:47:35 homeassistant rauc[376]: Verified detached signature by 'O = HassOS, CN = HassOS GitHub-1'
Aug 30 15:47:35 homeassistant rauc[376]: Mounting bundle '/mnt/data/supervisor/tmp/hassos-8.5.raucb' to '/run/rauc/bundle'
Aug 30 15:47:35 homeassistant rauc[376]: Configured loop device '/dev/loop9' for 121425920 bytes
Aug 30 15:47:35 homeassistant rauc[376]: Running bundle hook install-check
Aug 30 15:47:35 homeassistant rauc[376]: Marking target slot kernel.1 as non-bootable...
Aug 30 15:47:35 homeassistant rauc[376]: installing /mnt/data/supervisor/tmp/hassos-8.5.raucb: Updating slots...
Aug 30 15:47:35 homeassistant rauc[376]: installing /mnt/data/supervisor/tmp/hassos-8.5.raucb: Checking slot boot.0
Aug 30 15:47:35 homeassistant rauc[376]: Slot needs to be updated with /run/rauc/bundle/boot.vfat
Aug 30 15:47:35 homeassistant rauc[376]: Updating /dev/disk/by-partlabel/hassos-boot with /run/rauc/bundle/boot.vfat
Aug 30 15:47:35 homeassistant rauc[376]: installing /mnt/data/supervisor/tmp/hassos-8.5.raucb: Updating slot boot.0
Aug 30 15:47:35 homeassistant rauc[376]: Running custom slot install hook for boot.0
Aug 30 15:47:35 homeassistant rauc[376]: Running slot hook slot-install for boot.0
Aug 30 15:47:36 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:36 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:36 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:36 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:37 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:37 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:38 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:38 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:39 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:39 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:39 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:39 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:40 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:47 homeassistant rauc[200951]: cp: write error: No space left on device
Aug 30 15:47:54 homeassistant rauc[376]: Installation error: Failed updating slot boot.0: failed to run slot hook: Child process exited with code 1
Aug 30 15:47:54 homeassistant rauc[376]: installing /mnt/data/supervisor/tmp/hassos-8.5.raucb: Installation error: Failed updating slot boot.0: failed to run slot hook: Child process exited with code 1
Aug 30 15:47:54 homeassistant rauc[376]: installing /mnt/data/supervisor/tmp/hassos-8.5.raucb: finished
Aug 30 15:47:54 homeassistant rauc[376]: installing `/mnt/data/supervisor/tmp/hassos-8.5.raucb` failed: 1
# df -h /mnt/data/supervisor/tmp/
Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p8 58.7G 9.7G 46.7G 17% /mnt/data
@agners Any ideas on how i can help you to investigate more?
did someone found a solution / workaround?
did someone found a solution / workaround?
I've just decided to do full backup, install latest version of ha from scratch and restore backup on top of the latest version. Everything went smoothly for me.
Same here - reinstall.
It seems the boot partition run full, I wonder why that is. If someone observes it again, and has shell access, can you check df -h
and check the contents of /mnt/boot
?
There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant OS version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Describe the issue you are experiencing
Upgrade from HAOS 7.6 to any 8.x version is not possible.
What operating system image do you use?
rpi3-64 (Raspberry Pi 3 64-bit OS)
What version of Home Assistant Operating System is installed?
7.6
Did you upgrade the Operating System.
No
Steps to reproduce the issue
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System Health information
No response
Additional information
No response