Update not working - reporting incorrect artifact name and reboot required

james-onsolution
Wed, 21 Oct 2020 06:06:03 +0000
General Discussions

I have a very strange issue. I have a fleet of Raspberry Pi 3B+'s running a Yocto build. I’ve recently tried making a new build based on Zeus, and I’ve got that build working, but the updates are very unreliable and I’m seeing some strange behaviour.

The update will technically success according to the GUI, however some of the time it isn’t actually doing the update correctly. It’s reporting that the artifact version has updated, but when I SSH into the device I can see that it’s still running the old version.

When I run ‘mender -show-artifact’ it gives the name of the new artifact. However, nothing else has changed. The kernel, app, files, etc are all untouched.

Most of the time if I force the device to reboot, it will then boot into the correct, new, version.

I have no idea really where to start investigating, so any pointers would be very much appreciated. Please let me know if you need any more information and I’ll see what I can provide

The original build was Thud, with Mender client 2.1.0 running. I seemed to be able to do the update from thud to zeus without any issues, it’s just an issue when I then try to do a further update from zeus to zeus.

Current build:

kernel: “Linux version 4.19.93 (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP Mon Aug 31 22:29:52 UTC 2020”

mender_client_version: “2.3.0”

os: “Poky (Yocto Project Reference Distro) 3.0.4 (zeus)”

Thanks in advance,
James

10 posts - 2 participants