rauc / meta-rauc

Yocto/Open Embedded meta layer for RAUC, the embedded Linux update framework
MIT License
161 stars 90 forks source link

error with update bundles : "Signature size exceeds bundle size" #235

Closed ddommerdich closed 2 years ago

ddommerdich commented 2 years ago

Hi, I' m using RAUC to update a device. When i tried to install a bundle on my client device I 've got the following error message

Signature size (7957085066972967886) exceeds bundle size

I first tried to print the information via the rauc -d info command but to no avail as it displayed the same message

I' ve then installed the RAUC tool on my computer and tried the same command and it worked perfectly

I checked in etc/rauc if the certificate was the same as the one in my layer and both were indeed the same

note :

Thank you in advance, I have already tested rauc with raspberry and i appreciate your tool

Bastian-Krause commented 2 years ago

"Signature size [..] exceeds bundle size" happens typically if the bundle is corrupt, or maybe not written completely, yet.

Can you elaborate on your scenario a bit more? rauc-hawkbit-updater writes the bundle to a file system on your SD card? And it triggers the installation?

ddommerdich commented 2 years ago

Thanks for the rapid reply. So, my bad, as you said the download wasn't complete, i used the command rauc-hawkbit-updater -d and the thing is i didn't saw the progress status, just the debug message saying he was trying to reload. So i falsely concluded that the download was completed. For anyone interested in monitoring progress of an update you can use this command journalctl --follow -u rauc-hawkbit-updater as explained in this page thanks again for the support