I’m currently running a debian system with rootfs created with mender-convert, including mender-client version 3.2.0. When running a full filesystem update, it fails every time with the following error.
2022-02-09 04:44:21 +0000 UTC error: transient error: The deployment was aborted from the server
After searching a bit, this seems a known issue with the version, and fixed in v3.2.1. I updated the artifact in my update to include the new version, but that seems to not solve the issue. My next step would be to update the version on my system, but I cannot find anywhere how to do this. It seems the client is not installed through APT, and on the mender hub dashboard I see no option to update. What is the recommended method for this?
Full log of my update attempt. It seems to be using the updated version when it fails, so maybe there is another issue here?
2022-02-09 04:25:43 +0000 UTC info: Running Mender client version: 3.2.0
2022-02-09 04:25:44 +0000 UTC warning: RetryPollIntervalSeconds is not defined
2022-02-09 04:25:44 +0000 UTC info: State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]
2022-02-09 04:25:45 +0000 UTC info: No public key was provided for authenticating the artifact
2022-02-09 04:25:45 +0000 UTC info: Opening device "/dev/sda3" for writing
2022-02-09 04:25:45 +0000 UTC info: Native sector size of block device /dev/sda3 is 512 bytes. Mender will write in chunks of 1048576 bytes
2022-02-09 04:43:45 +0000 UTC info: All bytes were successfully written to the new partition
2022-02-09 04:43:45 +0000 UTC info: The optimized block-device writer wrote a total of 17188 frames, where 0 frames did need to be rewritten (i.e., skipped)
2022-02-09 04:43:46 +0000 UTC info: Wrote 18022582272/18022582272 bytes to the inactive partition
2022-02-09 04:43:47 +0000 UTC info: State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]
2022-02-09 04:43:47 +0000 UTC info: State transition: update-after-store [Download_Leave] -> mender-update-control-refresh-maps [none]
2022-02-09 04:43:47 +0000 UTC info: Validating the Update Info: ...
2022-02-09 04:43:47 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] -> mender-update-control [none]
2022-02-09 04:43:47 +0000 UTC info: State transition: mender-update-control [none] -> update-install [ArtifactInstall]
2022-02-09 04:43:47 +0000 UTC info: Enabling partition with new image installed to be a boot candidate: 3
2022-02-09 04:43:48 +0000 UTC info: State transition: update-install [ArtifactInstall] -> mender-update-control-refresh-maps [none]
2022-02-09 04:43:48 +0000 UTC info: Validating the Update Info: ...
2022-02-09 04:43:48 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] -> mender-update-control [none]
2022-02-09 04:43:48 +0000 UTC info: State transition: mender-update-control [none] -> reboot [ArtifactReboot_Enter]
2022-02-09 04:43:49 +0000 UTC info: Rebooting device(s)
2022-02-09 04:43:49 +0000 UTC info: Mender rebooting from active partition: /dev/sda2
2022-02-09 04:43:49 +0000 UTC error: error forwarding from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF
2022-02-09 04:43:49 +0000 UTC info: Daemon terminated with SIGTERM
2022-02-09 04:43:49 +0000 UTC warning: error while sending close message: write tcp [::1]:42595->[::1]:58404: use of closed network connection
2022-02-09 04:44:20 +0000 UTC info: Running Mender client version: 3.2.1
2022-02-09 04:44:20 +0000 UTC info: State transition: init [none] -> after-reboot [ArtifactReboot_Leave]
2022-02-09 04:44:20 +0000 UTC info: State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]
2022-02-09 04:44:20 +0000 UTC info: State transition: after-reboot [ArtifactReboot_Leave] -> mender-update-control-refresh-maps [none]
2022-02-09 04:44:20 +0000 UTC info: Device unauthorized; attempting reauthorization
2022-02-09 04:44:20 +0000 UTC info: Output (stderr) from command "/usr/share/mender/identity/mender-device-identity": using interface /sys/class/net/enp6s0
2022-02-09 04:44:21 +0000 UTC info: successfully received new authorization data from server https://hosted.mender.io
2022-02-09 04:44:21 +0000 UTC info: Local proxy started
2022-02-09 04:44:21 +0000 UTC info: Reauthorization successful
2022-02-09 04:44:21 +0000 UTC error: transient error: The deployment was aborted from the server
2022-02-09 04:44:21 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] -> rollback [ArtifactRollback]
2022-02-09 04:44:21 +0000 UTC info: Performing rollback
2022-02-09 04:44:22 +0000 UTC info: Rolling back to the inactive partition (2).
2022-02-09 04:44:22 +0000 UTC info: State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]
2022-02-09 04:44:22 +0000 UTC info: Rebooting device(s) after rollback
2022-02-09 04:44:22 +0000 UTC info: Mender rebooting from inactive partition: /dev/sda3
2022-02-09 04:44:22 +0000 UTC info: Daemon terminated with SIGTERM
2022-02-09 04:44:54 +0000 UTC info: Running Mender client version: 3.2.0
2022-02-09 04:44:54 +0000 UTC info: Mender shut down in state: rollback-reboot
2022-02-09 04:44:54 +0000 UTC info: State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]
2022-02-09 04:44:54 +0000 UTC info: State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]
2022-02-09 04:44:54 +0000 UTC info: State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]
2022-02-09 04:44:54 +0000 UTC info: State transition: update-error [ArtifactFailure] -> cleanup [Error]
2022-02-09 04:44:54 +0000 UTC info: State transition: cleanup [Error] -> update-status-report [none]
2022-02-09 04:44:54 +0000 UTC info: Device unauthorized; attempting reauthorization
2022-02-09 04:44:54 +0000 UTC info: Output (stderr) from command "/usr/share/mender/identity/mender-device-identity": using interface /sys/class/net/enp6s0
2022-02-09 04:44:55 +0000 UTC info: successfully received new authorization data from server https://hosted.mender.io
2022-02-09 04:44:55 +0000 UTC info: Local proxy started
2022-02-09 04:44:55 +0000 UTC info: Reauthorization successful