Replies: 2 comments 6 replies
-
Hey @tirankas |
Beta Was this translation helpful? Give feedback.
1 reply
-
When that error occurs (and before any reboot or any other action), can you run that script manually with execution tracing turned on to see exactly what is triggering it?
That would help in diagnosing the problem. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Recently we are experiencing failures during the mender update process.
This happens on a device basis, few devices are failing to update while other works fine.
What we do?
Standard mender update process, either server based or directly on device: mender -install
What we see:
After the rootfs artifact has been installed, the ArtifactInstall_Leave_80_bl-update scripts says: "ERR: bootloader update failed"
Some error comes out from the nv_update_engine tool.
Anyone experienced this issue before?
We have done this same process hundreds of times already, no issue till a week ago, then started seeing 20% failures, same SW.
Full logs output:
INFO[0000] Loaded configuration file: /var/lib/mender/mender.conf
INFO[0000] Loaded configuration file: /etc/mender/mender.conf
INFO[0000] Mender running on partition: /dev/mmcblk0p1
INFO[0000] Start updating from local image file: [image-prod-jetson-xavier-nx-emmc.mender]
Installing Artifact of size 1039970304...
INFO[0000] No public key was provided for authenticating the artifact
INFO[0000] 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
INFO[0000] Opening device "/dev/mmcblk0p11" for writing
INFO[0000] Native sector size of block device /dev/mmcblk0p11 is 512 bytes. Mender will write in chunks of 1048576 bytes
.............................................................. - 100 %
INFO[0020] All bytes were successfully written to the new partition
INFO[0020] The optimized block-device writer wrote a total of 995 frames, where 995 frames did need to be rewritten (i.e., skipped)
INFO[0021] Wrote 1043202048/1043202048 bytes to the inactive partition
INFO[0021] Enabling partition with new image installed to be a boot candidate: 11
INFO[0021] Executing script: ArtifactInstall_Leave_80_bl-update
INFO[0024] Collected output (stderr) while running script /var/lib/mender/scripts/ArtifactInstall_Leave_80_bl-update
ERR: bootloader update failed
---------- end of script output
ERRO[0024] ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_80_bl-update': 1 : exit status 1
Rolling back Artifact...
INFO[0024] Rolling back to the inactive partition (11).
ERRO[0024] statescript: error executing 'ArtifactInstall_Leave_80_bl-update': 1 : exit status 1
Thanks
Beta Was this translation helpful? Give feedback.
All reactions