I am trying to update the os like I would normally and I get this error:
time="2020-03-09T05:04:03Z" level=info msg="Loaded configuration file: /var/lib/mender/mender.conf" module=config
time="2020-03-09T05:04:03Z" level=info msg="Loaded configuration file: /etc/mender/mender.conf" module=config
time="2020-03-09T05:04:03Z" level=info msg="Mender running on partition: /dev/mmcblk0p3" module=main
time="2020-03-09T05:04:03Z" level=info msg="Start updating from local image file: [/data/eddy/firmware/1583730243_459785.mender]" module=standalone
Installing Artifact of size 176727040...
time="2020-03-09T05:04:03Z" level=info msg="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" module=modules
time="2020-03-09T05:04:03Z" level=info msg="installer: authenticated digital signature of artifact" module=installer
time="2020-03-09T05:04:03Z" level=error msg="Reading headers failed: installer: failed to read Artifact: type_info provides values not yet supported" module=standalone
time="2020-03-09T05:04:03Z" level=error msg="installer: failed to read Artifact: type_info provides values not yet supported" module=main
I am thinking this is because mender version was updated to 2.2.x? If so does that mean I have to stay on 2.1.2 version?
Thanks
kacf
March 9, 2020, 7:16am
2
The solution to this is supposed to be in the changelog for the new version, but some internal issues have prevented us from updating our docs site. But the solution is easy: If targeting a device that has mender client 2.1 or earlier, with a mender-artifact tool 3.3 or newer, use the --no-checksum-provide
flag when creating the artifact. In Yocto you can add this argument to the MENDER_ARTIFACT_EXTRA_ARGS
variable.
When all clients are upgraded you can remove the argument again.
May 17 16:43:56 hub systemd[1]: Started Mender OTA update service.
May 17 16:43:56 hub mender[5600]: level=info msg="Loaded configuration file: /etc/mender/mender.conf" module=config
May 17 16:43:56 hub mender[5600]: time="2020-05-17T16:43:56+05:30" level=info msg="Loaded configuration file: /etc/mender/mender.conf" module=config
May 17 16:43:56 hub mender[5600]: level=info msg="Mender running on partition: /dev/mmcblk0p2" module=main
May 17 16:43:56 hub mender[5600]: time="2020-05-17T16:43:56+05:30" level=info msg="Mender running on partition: /dev/mmcblk0p2" module=main
May 17 16:43:56 hub mender[5600]: level=info msg="State transition: init [none] -> init [none]" module=mender
May 17 16:43:56 hub mender[5600]: time="2020-05-17T16:43:56+05:30" level=info msg="State transition: init [none] -> init [none]" module=mender
May 17 16:43:56 hub mender[5600]: level=info msg="State transition: init [none] -> idle [Idle]" module=mender
May 17 16:43:56 hub mender[5600]: time="2020-05-17T16:43:56+05:30" level=info msg="State transition: init [none] -> idle [Idle]" module=mender
May 17 16:43:56 hub mender[5600]: level=info msg="authorization data present and valid" module=mender
May 17 16:43:56 hub mender[5600]: time="2020-05-17T16:43:56+05:30" level=info msg="authorization data present and valid" module=mender
May 17 16:43:56 hub mender[5600]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender
May 17 16:43:56 hub mender[5600]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender
May 17 16:43:56 hub mender[5600]: time="2020-05-17T16:43:56+05:30" level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender
May 17 16:43:56 hub mender[5600]: time="2020-05-17T16:43:56+05:30" level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender
May 17 16:43:59 hub mender[5600]: level=info msg="State transition: inventory-update [Sync] -> check-wait [Idle]" module=mender
May 17 16:43:59 hub mender[5600]: time="2020-05-17T16:43:59+05:30" level=info msg="State transition: inventory-update [Sync] -> check-wait [Idle]" module=mender
May 17 16:43:59 hub mender[5600]: time="2020-05-17T16:43:59+05:30" level=info msg="State transition: check-wait [Idle] -> update-check [Sync]" module=mender
May 17 16:43:59 hub mender[5600]: level=info msg="State transition: check-wait [Idle] -> update-check [Sync]" module=mender
May 17 16:44:00 hub mender[5600]: level=info msg="Correct request for getting image from: https://s3.amazonaws.com/hosted-mender-artifacts/5d4ac0a251f4e700011855c6/e96cf939-4534-4e9e-b2f0
May 17 16:44:00 hub mender[5600]: level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender
May 17 16:44:00 hub mender[5600]: time="2020-05-17T16:44:00+05:30" level=info msg="Correct request for getting image from: https://s3.amazonaws.com/hosted-mender-artifacts/5d4ac0a251f4e70
May 17 16:44:00 hub mender[5600]: time="2020-05-17T16:44:00+05:30" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender
May 17 16:44:00 hub mender[5600]: level=info msg="Running Mender version 2.1.1" module=deployment_logger
May 17 16:44:00 hub mender[5600]: time="2020-05-17T16:44:00+05:30" level=info msg="Running Mender version 2.1.1" module=deployment_logger
May 17 16:44:04 hub mender[5600]: level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender
May 17 16:44:04 hub mender[5600]: time="2020-05-17T16:44:04+05:30" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender
May 17 16:44:04 hub mender[5600]: level=info msg="no public key was provided for authenticating the artifact" module=installer
May 17 16:44:04 hub mender[5600]: time="2020-05-17T16:44:04+05:30" level=info msg="no public key was provided for authenticating the artifact" module=installer
May 17 16:44:04 hub mender[5600]: level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: type_info provides values not yet supported" module=state
May 17 16:44:04 hub mender[5600]: time="2020-05-17T16:44:04+05:30" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: type_info provides values not yet
May 17 16:44:04 hub mender[5600]: level=info msg="State transition: update-store [Download_Enter] -> fetch-install-retry-wait [Download_Enter]" module=mender
May 17 16:44:04 hub mender[5600]: time="2020-05-17T16:44:04+05:30" level=info msg="State transition: update-store [Download_Enter] -> fetch-install-retry-wait [Download_Enter]" module=men
May 17 16:45:05 hub mender[5600]: level=info msg="State transition: fetch-install-retry-wait [Download_Enter] -> update-fetch [Download_Enter]" module=mender
May 17 16:45:05 hub mender[5600]: time="2020-05-17T16:45:05+05:30" level=info msg="State transition: fetch-install-retry-wait [Download_Enter] -> update-fetch [Download_Enter]" module=men
May 17 16:45:08 hub mender[5600]: level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender
May 17 16:45:08 hub mender[5600]: time="2020-05-17T16:45:08+05:30" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender
May 17 16:45:08 hub mender[5600]: level=info msg="no public key was provided for authenticating the artifact" module=installer
The mender client version on deployment pi: 2.1.1
Mender artifact version used: 3.2
The deployment artifact used: 3.3.0b1
The deployments stuck at 69%
kacf
May 18, 2020, 6:36am
4
Are you using Yocto? Are you sure MENDER_ARTIFACT_EXTRA_ARGS
contains --no-checksum-provide
?
Also, why are you using a beta, when the final has been released a long time ago?