Hi there,
I’m running into an issue with updating one of my devices. The logs show that the device isn’t being properly rebooted for whatever reason? Can I get some help? The board is a raspberry pi 3b+. Mender client version is 2.3.1. Below is the update logs.
2022-08-03 01:50:53 +0000 UTC info: Running Mender client version: 2.3.1
2022-08-03 01:50:54 +0000 UTC info: State transition: update-fetch [Download_Enter] → update-store [Download_Enter]
2022-08-03 01:50:54 +0000 UTC info: No public key was provided for authenticating the artifact
2022-08-03 01:50:54 +0000 UTC info: Update Module path “/usr/share/mender/modules/v3” could not be opened (open /usr/share/mender/modules/v3: no such file or directory). Update modules will not be available
2022-08-03 01:50:54 +0000 UTC info: Opening device “/dev/mmcblk0p2” for writing
2022-08-03 01:50:54 +0000 UTC info: Native sector size of block device /dev/mmcblk0p2 is 512 bytes. Mender will write in chunks of 1048576 bytes
2022-08-03 01:55:26 +0000 UTC info: All bytes were successfully written to the new partition
2022-08-03 01:55:26 +0000 UTC info: The optimized block-device writer wrote a total of 897 frames, where 55 frames did need to be rewritten (i.e., skipped)
2022-08-03 01:55:27 +0000 UTC info: Wrote 939524096/939524096 bytes to the inactive partition
2022-08-03 01:55:27 +0000 UTC info: State transition: update-store [Download_Enter] → update-after-store [Download_Leave]
2022-08-03 01:55:27 +0000 UTC info: State transition: update-after-store [Download_Leave] → update-install [ArtifactInstall]
2022-08-03 01:55:27 +0000 UTC info: Enabling partition with new image installed to be a boot candidate: 2
2022-08-03 01:55:27 +0000 UTC info: Probing the Bootloader environment for which separator to use
2022-08-03 01:55:27 +0000 UTC info: Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator:
2022-08-03 01:55:27 +0000 UTC info: Writing map[bootcount:0 mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:1] to the U-Boot environment, using separator: =
2022-08-03 01:55:27 +0000 UTC info: State transition: update-install [ArtifactInstall] → reboot [ArtifactReboot_Enter]
2022-08-03 01:55:27 +0000 UTC info: Rebooting device(s)
2022-08-03 01:55:27 +0000 UTC info: Mender rebooting from active partition: /dev/mmcblk0p3
2022-08-03 02:06:57 +0000 UTC error: Error rebooting device: System did not reboot, even though ‘reboot’ call succeeded.
2022-08-03 02:06:57 +0000 UTC info: State transition: reboot [ArtifactReboot_Enter] → rollback [ArtifactRollback]
2022-08-03 02:06:57 +0000 UTC info: Performing rollback
2022-08-03 02:06:58 +0000 UTC info: Rolling back to the active partition: (3).
2022-08-03 02:06:58 +0000 UTC info: Probing the Bootloader environment for which separator to use
2022-08-03 02:06:58 +0000 UTC info: Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator:
2022-08-03 02:06:58 +0000 UTC info: Writing map[mender_boot_part:3 mender_boot_part_hex:3 upgrade_available:0] to the U-Boot environment, using separator: =
2022-08-03 02:06:58 +0000 UTC info: State transition: rollback [ArtifactRollback] → rollback-reboot [ArtifactRollbackReboot_Enter]
2022-08-03 02:06:58 +0000 UTC info: Rebooting device(s) after rollback
2022-08-03 02:06:58 +0000 UTC info: Mender rebooting from inactive partition: /dev/mmcblk0p3
2022-08-03 02:18:28 +0000 UTC error: Error rebooting device: System did not reboot, even though ‘reboot’ call succeeded.
2022-08-03 02:18:28 +0000 UTC info: State transition: rollback-reboot [ArtifactRollbackReboot_Enter] → verify-rollback-reboot [ArtifactRollbackReboot_Leave]
2022-08-03 02:18:28 +0000 UTC info: State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] → after-rollback-reboot [ArtifactRollbackReboot_Leave]
2022-08-03 02:18:28 +0000 UTC info: State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] → update-error [ArtifactFailure]
2022-08-03 02:18:28 +0000 UTC info: State transition: update-error [ArtifactFailure] → cleanup [Error]
2022-08-03 02:18:28 +0000 UTC info: State transition: cleanup [Error] → update-status-report [none]
Thank you!
Best,
Yutong