Migration from 2025.12 to 2026.5

92 views
Skip to first unread message

vincent....@gmail.com

unread,
Jun 9, 2026, 11:39:10 AMJun 9
to swupdate
Hello all,

I'm in the process of upgrading SWupdate into our product. 
It seems something changed regarding Hawkbit process, specially step after successful upgrade when device tells status back to Hawkbit.

I have following error message:

[ERROR] : SWUPDATE failed [0] ERROR server_hawkbit.c : server_hawkbit_error : 205 : No suitable .swu image found
[ERROR] : SWUPDATE failed [0] ERROR server_hawkbit.c : server_install_update : 1568 : Error processing update chunk named 'mydistrib', version mydistrib-v1.2.3, part os
[TRACE] : SWUPDATE running :  [channel_post_method] : POST to http://myhawkbiturl:9001/default/controller/v1/mydevice/deploymentBase/8160/feedback: \
{ "id": 8160, "time": "20260609T111550", "status": { "result": { "progress": { "cnt" : 0, "of" : 1 }, "finished": "failure" }, "execution": "closed", \
"details" : [ "ERROR channel_curl.c : channel_get_file : 1511 : Cannot compute checksum.","ERROR server_hawkbit.c : server_process_update_artifact : 1364 : \
Checksum does not match: Should be '2ee61ec8b817ad010c535d5d0600c9dfefa7a120', but actually is ''. ","No suitable .swu image found" ] } } \

I didn't dig for a long time but if you have trivial answer, i'm interested :)

Best regards,
Vincent



Stefano Babic

unread,
Jun 9, 2026, 12:59:13 PMJun 9
to vincent....@gmail.com, swupdate
Hi Vincent,

On 6/9/26 17:39, vincent....@gmail.com wrote:
> Hello all,
>
> I'm in the process of upgrading SWupdate into our product.
> It seems something changed regarding Hawkbit process,

New is full support for delta update, that means both the SWU and the
.zck can be uploaded as software modules to the Hawkbit server (in any
order), and SWUpdate is able to filter and find the URL for the zck.

> specially step
> after successful upgrade when device tells status back to Hawkbit.

After upgrading I am unaware something was changed.

>
> I have following error message:
>
> [ERROR] : SWUPDATE failed [0] ERROR server_hawkbit.c :
> server_hawkbit_error : 205 : No suitable .swu image found
> [ERROR] : SWUPDATE failed [0] ERROR server_hawkbit.c :

Is the update package a ".swu" file ? Sure it is a cpio, but I had to
distinguish between different files in case Hawkbit (for delta) propose
a SWU (the main) and a "zck" file. So I introduced artifact rules, and
if the filename does not belongs to rules, it is rejected.

Until 2026.05, a file could have any kind of name, but well, yes, the
default was always a .swu extension.

I see above "No suitable .swu image found" - like rules run, neither SWU
nor ZCK file found.

> server_install_update : 1568 : Error processing update chunk named
> 'mydistrib',

It looks like a file without .swu....

> version mydistrib-v1.2.3, part os
> [TRACE] : SWUPDATE running :  [channel_post_method] : POST to http://
> myhawkbiturl:9001/default/controller/v1/mydevice/deploymentBase/8160/
> feedback: \
> { "id": 8160, "time": "20260609T111550", "status": { "result":
> { "progress": { "cnt" : 0, "of" : 1 }, "finished": "failure" },
> "execution": "closed", \
> "details" : [ "ERROR channel_curl.c : channel_get_file : 1511 : Cannot
> compute checksum.","ERROR server_hawkbit.c :
> server_process_update_artifact : 1364 : \
> Checksum does not match: Should be
> '2ee61ec8b817ad010c535d5d0600c9dfefa7a120', but actually is ''. ","No
> suitable .swu image found" ] } } \
>
> I didn't dig for a long time but if you have trivial answer, i'm
> interested :)
>

Support for delta is what I did, and I guess for the release I was the
only one pushing patches for Hawkbit.

Best regards,
Stefano

> Best regards,
> Vincent
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to swupdate+u...@googlegroups.com
> <mailto:swupdate+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> swupdate/90d77782-4062-4164-b18c-22f5e1fc1fabn%40googlegroups.com
> <https://groups.google.com/d/msgid/swupdate/90d77782-4062-4164-
> b18c-22f5e1fc1fabn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
_______________________________________________________________________
Nabla Software Engineering GmbH
Hirschstr. 111A | 86156 Augsburg | Tel: +49 821 45592596
Geschäftsführer : Stefano Babic | HRB 40522 Augsburg
E-Mail: sba...@nabladev.com

vincent....@gmail.com

unread,
Jun 10, 2026, 3:58:12 AMJun 10
to swupdate
> Is the update package a ".swu" file ?

I'm not sure what you call "update package". 

I have Hawkbit distribution name that matches yocto DISTRO_NAME (without swu extension),
with software module with same name (DISTRO_NAME) that contains the SWU file (image-somestuff.swu).

That "new" rule might by the guilty part indeed :) 

Thanks for your quick answer,
Vincent 

Tim Kambič

unread,
Jun 12, 2026, 3:52:08 AM (13 days ago) Jun 12
to swupdate
Hi
We are also facing similar issues.
From our logs:
 [read_lines_notify] : ════ Starting post installation process ════                                                                                                                                                      
 ...                                   
 [__run_cmd] : /data/swu/scripts/swupdate-pre-post-update.sh postinst 2026.0610.092612 prod command returned 0                                                                                                            
 SWUPDATE successful !                                                                                                                                                                                                    

 ERROR channel_curl.c : channel_get_file : 1511 : Cannot compute checksum.                                                                                                                                                
 No suitable .swu image found    
`
Could it be that behaviour of function `swupdate_HASH_final which is responsible for the log of `ERROR("Cannot compute checksum.");` changed in between releases. 

sreda, 10. junij 2026 ob 09:58:12 UTC+2 je oseba vincent....@gmail.com napisala:

vincent....@gmail.com

unread,
Jun 12, 2026, 9:47:28 AM (13 days ago) Jun 12
to swupdate
I run hawkbit on plain HTTP but I have CONFIG_SURICATTA_SSL=y, I'm wondering if error log could emerge from this setup (with empty channel_data.sha1hash), not sure what's happening yet 

Tim Kambič

unread,
Jun 15, 2026, 8:42:55 AM (10 days ago) Jun 15
to swupdate
Looks like it is linked to this https://groups.google.com/g/swupdate/c/337uTZ2tpMk.
petek, 12. junij 2026 ob 15:47:28 UTC+2 je oseba vincent....@gmail.com napisala:

ayoub...@googlemail.com

unread,
Jun 17, 2026, 3:12:24 PM (8 days ago) Jun 17
to swupdate
Hi Stefano,

I'm hitting the same error: 

Jun 17 18:59:17 raspberrypi5-47-0d-30 swupdate.sh[620]: [ERROR] : SWUPDATE failed [0] ERROR server_hawkbit.c : server_hawkbit_error : 204 : No suitable .swu image found

ayoub...@googlemail.com

unread,
Jun 18, 2026, 5:06:05 AM (7 days ago) Jun 18
to swupdate
Hi,

with the commit 9b4671d3 "fix(openssl): correctly handle failure of EVP_DigestFinal" all hawkBit deployments using SSL=y will fail !

=> 2026.05 has then a broken hawkbit support !!

ERROR channel_curl.c : channel_get_file : Cannot compute checksum.
ERROR server_hawkbit.c : Checksum does not match: Should be '<sha1>', but actually is ''.
ERROR server_hawkbit.c : No suitable .swu image found

Fix: change the check in channel_get_file() from != 1 to < 0 to match convention

Patch will follows

best regards

Stefano Babic

unread,
Jun 18, 2026, 9:46:09 AM (7 days ago) Jun 18
to ayoub...@googlemail.com, swupdate, MOESSBAUER, Felix
On 6/18/26 11:06, 'ayoub...@googlemail.com' via swupdate wrote:
> Hi,
>
> with the commit 9b4671d3 "fix(openssl): correctly handle failure of
> EVP_DigestFinal" all hawkBit deployments using SSL=y will fail !
>
> => 2026.05 has then a broken hawkbit support !!

Well, I won a 2026.05.1....

>
> ERROR channel_curl.c : channel_get_file : Cannot compute checksum.
> ERROR server_hawkbit.c : Checksum does not match: Should be '<sha1>',
> but actually is ''.
> ERROR server_hawkbit.c : No suitable .swu image found
>
> Fix: change the check in channel_get_file() from != 1 to < 0 to match
> convention
>

Patch as taken alone is correct, but it changes the logic.

> Patch will follows

Thanks !

Stefano


>
> best regards
>
>
>
> On Wednesday, June 17, 2026 at 9:12:24 PM UTC+2 ayoub...@googlemail.com
> wrote:
>
> Hi Stefano,
>
> I'm hitting the same error:
>
> Jun 17 18:59:17 raspberrypi5-47-0d-30 swupdate.sh[620]: [ERROR] :
> SWUPDATE failed [0] ERROR server_hawkbit.c : server_hawkbit_error :
> 204 : No suitable .swu image found
>
> On Monday, June 15, 2026 at 2:42:55 PM UTC+2 Tim Kambič wrote:
>
> Looks like it is linked to this https://groups.google.com/g/
> swupdate/c/337uTZ2tpMk <https://groups.google.com/g/swupdate/
> c/337uTZ2tpMk>.
> groups.google.com/d/msgid/ <https://
> groups.google.com/d/msgid/>
> > swupdate/90d77782-4062-4164-
> b18c-22f5e1fc1fabn%40googlegroups.com
> <http://40googlegroups.com>
> > <https://groups.google.com/d/msgid/
> swupdate/90d77782-4062-4164- <https://
> groups.google.com/d/msgid/
> swupdate/90d77782-4062-4164->
> > b18c-22f5e1fc1fabn%40googlegroups.com?
> utm_medium=email&utm_source=footer
> <http://40googlegroups.com?
> utm_medium=email&utm_source=footer>>.
>
> --
> _______________________________________________________________________
> Nabla Software Engineering GmbH
> Hirschstr. 111A | 86156 Augsburg | Tel: +49 821
> 45592596 <tel:+49%20821%2045592596>
> Geschäftsführer : Stefano Babic | HRB 40522
> Augsburg
> E-Mail: sba...@nabladev.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to swupdate+u...@googlegroups.com
> <mailto:swupdate+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> swupdate/d125c4d6-c7ad-49ae-bd8e-0013a2781f96n%40googlegroups.com
> <https://groups.google.com/d/msgid/swupdate/d125c4d6-c7ad-49ae-
> bd8e-0013a2781f96n%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages