I'm taking over and continuing some work that a former colleague had started a few years ago. I have a simple swu file that works fine when run with swupdate -i, but does not work properly when using surricatta and hawkbit. I'm not sure where to look, but found this group, and hope that someone here can point me in the right direction.
FIrst of all I should let you know that I'm trying to get an older version of swupdate (v2021.11.0) to work with an older hawkbit (0.3.0)
The first error I get is this one:
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0]
ERROR
/home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/corelib/channel_curl.c
: channel_get_file : 1197 : Cannot open SWUpdate IPC stream: No such
file or directory
And it's followed later by these two:
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0]
ERROR
/home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c
: server_hawkbit_error : 196 : No suitable .swu image found
Dec 11
14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0] ERROR
/home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c
: server_install_update : 1429 : Error processing update chunk named
'Test Hello', version 1.0, part bApp
I've tried running "swupdate-ipc hawkbit" but the response is not too helpful "
swupdate-ipc gethawkbit
Sending: '' returned -1
Error: suricatta did respond with NACK.
Thanks in advance for any suggestions
Geoff
The whole log (journalctl -u swupdate):
Dec 11 14:13:36 bot08365 swupdate[26949]: [INFO ] : SWUPDATE running : [channel_get_file] : Total download size is 1 kB.
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0] ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/corelib/channel_curl.c : channel_get_file : 1197 : Cannot open SWUpdate IPC stream: No such file or directory
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running : [process_notification_thread] : Update log to server from thread
Dec 11 14:13:40 bot08365 swupdate[26949]: [DEBUG] : SWUPDATE running : [channel_set_options] : cURL's low download speed timeout is disabled, this is most probably not what you want. Adapted it to 300s instead.
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running : [channel_post_method] : POSTed/PATCHed to
http://172.17.34.22:7802/default/controller/v1/bot08365/deploymentBase/19/feedback: { "id": 19, "time": "20251211T141340", "status": { "result": { "progress": { "cnt" : 0, "of" : 0 }, "finished": "none" }, "execution": "proceeding", "details" : [ ] } }
Dec 11 14:13:40 bot08365 swupdate[26949]: * Trying 172.17.34.22...
Dec 11 14:13:40 bot08365 swupdate[26949]: * TCP_NODELAY set
Dec 11 14:13:40 bot08365 swupdate[26949]: * Connected to 172.17.34.22 (172.17.34.22) port 7802 (#0)
Dec 11 14:13:40 bot08365 swupdate[26949]: > POST /default/controller/v1/bot08365/deploymentBase/19/feedback HTTP/1.1
Dec 11 14:13:40 bot08365 swupdate[26949]: Host:
172.17.34.22:7802Dec 11 14:13:40 bot08365 swupdate[26949]: User-Agent: libcurl-agent/1.0
Dec 11 14:13:40 bot08365 swupdate[26949]: Content-Type: application/json
Dec 11 14:13:40 bot08365 swupdate[26949]: Accept: application/json
Dec 11 14:13:40 bot08365 swupdate[26949]: charsets: utf-8
Dec 11 14:13:40 bot08365 swupdate[26949]: Authorization: GatewayToken eae3e48c0457f22f1d3fe2552e646167
Dec 11 14:13:40 bot08365 swupdate[26949]: Content-Length: 170
Dec 11 14:13:40 bot08365 swupdate[26949]: [1B blob data]
Dec 11 14:13:40 bot08365 swupdate[26949]: * upload completely sent off: 170 out of 170 bytes
Dec 11 14:13:40 bot08365 swupdate[26949]: < HTTP/1.1 200
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-Content-Type-Options: nosniff
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-XSS-Protection: 1; mode=block
Dec 11 14:13:40 bot08365 swupdate[26949]: < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Dec 11 14:13:40 bot08365 swupdate[26949]: < Pragma: no-cache
Dec 11 14:13:40 bot08365 swupdate[26949]: < Expires: 0
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-Frame-Options: DENY
Dec 11 14:13:40 bot08365 swupdate[26949]: < Content-Length: 0
Dec 11 14:13:40 bot08365 swupdate[26949]: < Date: Thu, 11 Dec 2025 14:13:40 GMT
Dec 11 14:13:40 bot08365 swupdate[26949]: <
Dec 11 14:13:40 bot08365 swupdate[26949]: * Connection #0 to host 172.17.34.22 left intact
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running : [channel_log_effective_url] : Channel's effective URL resolved to
http://172.17.34.22:7802/default/controller/v1/bot08365/deploymentBase/19/feedbackDec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running : [channel_log_reply] : Channel operation returned HTTP status code 200.
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running : [parse_reply] : Got channel reply:
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0] ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c : server_hawkbit_error : 196 : No suitable .swu image found
Dec 11 14:13:40 bot08365 swupdate[26949]: [ERROR] : SWUPDATE failed [0] ERROR /home/symbotic/build/build_C0/tmp-glibc/work/var_som_imx8qxp-wrs-linux/swupdate/2021.04-r0/git/suricatta/server_hawkbit.c : server_install_update : 1429 : Error processing update chunk named 'Test Hello', version 1.0, part bApp
Dec 11 14:13:40 bot08365 swupdate[26949]: * Found bundle for host
172.17.34.22: 0xaaaac7b40350 [can pipeline]
Dec 11 14:13:40 bot08365 swupdate[26949]: [DEBUG] : SWUPDATE running : [channel_set_options] : cURL's low download speed timeout is disabled, this is most probably not what you want. Adapted it to 300s instead.
Dec 11 14:13:40 bot08365 swupdate[26949]: * Re-using existing connection! (#23) with host 172.17.34.22
Dec 11 14:13:40 bot08365 swupdate[26949]: * Connected to 172.17.34.22 (172.17.34.22) port 7802 (#23)
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running : [channel_post_method] : POSTed/PATCHed to
http://172.17.34.22:7802/default/controller/v1/bot08365/deploymentBase/19/feedback: { "id": 19, "time": "20251211T141340", "status": { "result": { "progress": { "cnt" : 0, "of" : 1 }, "finished": "failure" }, "execution": "closed", "details" : [ "No suitable .swu image found" ] } }
Dec 11 14:13:40 bot08365 swupdate[26949]: > POST /default/controller/v1/bot08365/deploymentBase/19/feedback HTTP/1.1
Dec 11 14:13:40 bot08365 swupdate[26949]: Host:
172.17.34.22:7802Dec 11 14:13:40 bot08365 swupdate[26949]: User-Agent: libcurl-agent/1.0
Dec 11 14:13:40 bot08365 swupdate[26949]: Content-Type: application/json
Dec 11 14:13:40 bot08365 swupdate[26949]: Accept: application/json
Dec 11 14:13:40 bot08365 swupdate[26949]: charsets: utf-8
Dec 11 14:13:40 bot08365 swupdate[26949]: Authorization: GatewayToken eae3e48c0457f22f1d3fe2552e646167
Dec 11 14:13:40 bot08365 swupdate[26949]: Content-Length: 198
Dec 11 14:13:40 bot08365 swupdate[26949]: [1B blob data]
Dec 11 14:13:40 bot08365 swupdate[26949]: * upload completely sent off: 198 out of 198 bytes
Dec 11 14:13:40 bot08365 swupdate[26949]: < HTTP/1.1 200
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-Content-Type-Options: nosniff
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-XSS-Protection: 1; mode=block
Dec 11 14:13:40 bot08365 swupdate[26949]: < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Dec 11 14:13:40 bot08365 swupdate[26949]: < Pragma: no-cache
Dec 11 14:13:40 bot08365 swupdate[26949]: < Expires: 0
Dec 11 14:13:40 bot08365 swupdate[26949]: < X-Frame-Options: DENY
Dec 11 14:13:40 bot08365 swupdate[26949]: < Content-Length: 0
Dec 11 14:13:40 bot08365 swupdate[26949]: < Date: Thu, 11 Dec 2025 14:13:40 GMT
Dec 11 14:13:40 bot08365 swupdate[26949]: <
Dec 11 14:13:40 bot08365 swupdate[26949]: * Connection #23 to host 172.17.34.22 left intact
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running : [channel_log_effective_url] : Channel's effective URL resolved to
http://172.17.34.22:7802/default/controller/v1/bot08365/deploymentBase/19/feedbackDec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running : [channel_log_reply] : Channel operation returned HTTP status code 200.
Dec 11 14:13:40 bot08365 swupdate[26949]: [TRACE] : SWUPDATE running : [parse_reply] : Got channel reply:
Dec 11 14:13:40 bot08365 swupdate[26949]: [DEBUG] : SWUPDATE running : [suricatta_wait] : Sleeping