Hello. I’m trying to update mender 2.6.1 to 4.0.4 with no success. Could I ask, please, if it can be done in theory? Thanks.
2025-01-03 09:31:16 +0000 UTC info: Running Mender client version: 2.6.1
2025-01-03 09:31:20 +0000 UTC info: State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]
2025-01-03 09:31:21 +0000 UTC info: No public key was provided for authenticating the artifact
2025-01-03 09:31:21 +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
2025-01-03 09:31:21 +0000 UTC info: Opening device "/dev/mmcblk0p2" for writing
2025-01-03 09:31:21 +0000 UTC info: Native sector size of block device /dev/mmcblk0p2 is 512 bytes. Mender will write in chunks of 1048576 bytes
2025-01-03 09:35:43 +0000 UTC info: All bytes were successfully written to the new partition
2025-01-03 09:35:43 +0000 UTC info: The optimized block-device writer wrote a total of 1745 frames, where 1177 frames did need to be rewritten (i.e., skipped)
2025-01-03 09:35:43 +0000 UTC info: Wrote 1828716544/1828716544 bytes to the inactive partition
2025-01-03 09:35:44 +0000 UTC info: State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]
2025-01-03 09:35:44 +0000 UTC info: State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]
2025-01-03 09:35:45 +0000 UTC info: Enabling partition with new image installed to be a boot candidate: 2
2025-01-03 09:35:46 +0000 UTC info: State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]
2025-01-03 09:35:46 +0000 UTC info: Rebooting device(s)
2025-01-03 09:35:46 +0000 UTC info: Mender rebooting from active partition: /dev/mmcblk0p3
2025-01-03 09:35:47 +0000 UTC info: Daemon terminated with SIGTERM
2025-01-03 09:38:29 +0000 UTC info: Running Mender client version: 2.6.1
2025-01-03 09:38:29 +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
2025-01-03 09:38:30 +0000 UTC info: State transition: init [none] -> after-reboot [ArtifactReboot_Leave]
2025-01-03 09:38:31 +0000 UTC error: transient error: Reboot to the new update failed. Expected "upgrade_available" flag to be true but it was false. Either the switch to the new partition was unsuccessful, or the bootloader rolled back
2025-01-03 09:38:31 +0000 UTC info: State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]
2025-01-03 09:38:31 +0000 UTC info: Performing rollback
2025-01-03 09:38:31 +0000 UTC info: No update available, so no rollback needed.
2025-01-03 09:38:31 +0000 UTC info: State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]
2025-01-03 09:38:32 +0000 UTC info: Rebooting device(s) after rollback
2025-01-03 09:38:32 +0000 UTC info: Mender rebooting from inactive partition: /dev/mmcblk0p3
2025-01-03 09:38:32 +0000 UTC info: Daemon terminated with SIGTERM
2025-01-03 09:41:01 +0000 UTC info: Running Mender client version: 2.6.1
2025-01-03 09:41:01 +0000 UTC info: Mender shut down in state: rollback-reboot
2025-01-03 09:41:01 +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
2025-01-03 09:41:01 +0000 UTC info: State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]
2025-01-03 09:41:01 +0000 UTC info: State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]
2025-01-03 09:41:02 +0000 UTC info: State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]
2025-01-03 09:41:03 +0000 UTC info: State transition: update-error [ArtifactFailure] -> cleanup [Error]
2025-01-03 09:41:03 +0000 UTC info: State transition: cleanup [Error] -> update-status-report [none]