Hi,
I’m new to Mender, so I might ask some basic questions. For exploring Mender, I converted a raw image into Mender client. Then copied the image file into another SD card and added a new directory and file in home/pi/ as a marker. Then converted this image file and used the (.mender) file i-e: Artifact to update the client. Uploaded the Artifact in releases tab, then created deployment. My deployment fails by giving this error:
> 2020-07-10 09:35:26 +0000 UTC error: transient error: Reboot to new update failed. Expected “upgrade_available” flag to be true but it was false
I searched for this issue but couldn’t find it. Your help is appreciated.
My deployment log:
2020-07-10 09:28:22 +0000 UTC info: Running Mender client version: 2.3.0b1
2020-07-10 09:28:24 +0000 UTC info: State transition: update-fetch [Download_Enter] → update-store [Download_Enter]
2020-07-10 09:28:24 +0000 UTC info: No public key was provided for authenticating the artifact
2020-07-10 09:28:24 +0000 UTC info: Opening device “/dev/mmcblk0p3” for writing
2020-07-10 09:28:24 +0000 UTC info: Native sector size of block device /dev/mmcblk0p3 is 512 bytes. Mender will write in chunks of 1048576 bytes
2020-07-10 09:35:13 +0000 UTC info: All bytes were successfully written to the new partition
2020-07-10 09:35:13 +0000 UTC info: The optimized block-device writer wrote a total of 1924 frames, where 0 frames did need to be rewritten (i.e., skipped)
2020-07-10 09:35:13 +0000 UTC info: Wrote 2017259520/2017259520 bytes to the inactive partition
2020-07-10 09:35:15 +0000 UTC info: State transition: update-store [Download_Enter] → update-after-store [Download_Leave]
2020-07-10 09:35:15 +0000 UTC info: State transition: update-after-store [Download_Leave] → update-install [ArtifactInstall]
2020-07-10 09:35:15 +0000 UTC info: Enabling partition with new image installed to be a boot candidate: 3
2020-07-10 09:35:15 +0000 UTC info: State transition: update-install [ArtifactInstall] → reboot [ArtifactReboot_Enter]
2020-07-10 09:35:15 +0000 UTC info: Rebooting device(s)
2020-07-10 09:35:15 +0000 UTC info: Mender rebooting from active partition: /dev/mmcblk0p2
2020-07-10 09:35:26 +0000 UTC info: Running Mender client version: 2.3.0b1
2020-07-10 09:35:26 +0000 UTC info: State transition: init [none] → after-reboot [ArtifactReboot_Leave]
2020-07-10 09:35:26 +0000 UTC error: transient error: Reboot to new update failed. Expected “upgrade_available” flag to be true but it was false
2020-07-10 09:35:26 +0000 UTC info: State transition: after-reboot [ArtifactReboot_Leave] → rollback [ArtifactRollback]
2020-07-10 09:35:26 +0000 UTC info: Performing rollback
2020-07-10 09:35:26 +0000 UTC info: State transition: rollback [ArtifactRollback] → rollback-reboot [ArtifactRollbackReboot_Enter]
2020-07-10 09:35:27 +0000 UTC info: Rebooting device(s) after rollback
2020-07-10 09:35:27 +0000 UTC info: Mender rebooting from inactive partition: /dev/mmcblk0p2
2020-07-10 09:35:40 +0000 UTC info: Running Mender client version: 2.3.0b1
2020-07-10 09:35:40 +0000 UTC info: Mender shut down in state: rollback-reboot
2020-07-10 09:35:40 +0000 UTC info: State transition: init [none] → verify-rollback-reboot [ArtifactRollbackReboot_Leave]
2020-07-10 09:35:40 +0000 UTC info: State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] → after-rollback-reboot [ArtifactRollbackReboot_Leave]
2020-07-10 09:35:40 +0000 UTC info: State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] → update-error [ArtifactFailure]
2020-07-10 09:35:40 +0000 UTC info: State transition: update-error [ArtifactFailure] → cleanup [Error]
2020-07-10 09:35:40 +0000 UTC info: State transition: cleanup [Error] → update-status-report [none]