We have happily enjoyed hosted mender in yocto warrior for some time now with 2.3 client but we need to update to something newer…
Yocto Dunfell and mender-client 2.6.1 it is.
One thing we noticed straight away is that even after full-image installs (either from local file or mender cloud, didn’t make a difference) the artifact hash is not stored and any consecutive attempt for a delta update fails as is not overwritten with below typical message:
level=error msg="Artifact dependency \"rootfs_image_checksum\" not satisfied by currently installed artifact (c931182714b75c4d87c0efbb5a07e0c0ff22c1e8b7b5690e1b1653b6ca1dba92 != <nil>)."
journalctl -fu mende*
Oct 26 12:25:22 xxx systemd[1]: Started Mender Connect service.
Oct 26 12:25:28 xxx mender-connect[8582]: time="2021-10-26T12:25:28Z" level=info msg="Loaded configuration file: /etc/mender/mender-connect.conf"
Oct 26 12:25:28 xxx mender-connect[8582]: time="2021-10-26T12:25:28Z" level=warning msg="No server URL(s) specified in mender configuration."
Oct 26 12:25:28 xxx mender-connect[8582]: time="2021-10-26T12:25:28Z" level=warning msg="ShellArguments is empty, defaulting to [--login]"
Oct 26 12:25:28 xxx mender-connect[8582]: time="2021-10-26T12:25:28Z" level=warning msg="Server entry 1 has no associated server URL."
Oct 26 12:25:28 xxx mender-connect[8582]: time="2021-10-26T12:25:28Z" level=warning msg="The server certificate cannot be loaded: no file provided"
The format of rootfs_image_checksum has changed to rootfs-image.checksum in order to be more compatible with software versioning, which uses . for namespacing. This could be a reason, although artifacts are supposed to stay compatible nevertheless.
Let’s find out more:
What does mender show-provides on the device say?
How did you create the rootfs-image artifact?
How did you create the mender-binary-delta artifact?
Apologies… last week’s test possibly missed the first full-image install needed for populating rootfs-image.checksum . Seems to work as expected now. Thank you!
Regarding the mender-connect messages from my first post… is this something irrelevant I would need to chase up as they are still present?