Hi Josef,
apologies for the late reply, I did not have time to look into this until now.
this is the log of update:
journalctl -u mender-updated.service -f
Mai 18 16:09:23 nomadic9020 mender-update[915]: record_id=53 severity=info time="2026-May-18 14:09:23.037859" name="Global" msg="Retrying status update after 1800 seconds"
Mai 18 16:39:23 nomadic9020 mender-update[915]: record_id=54 severity=info time="2026-May-18 14:39:23.038026" name="Global" msg="Sending status update to server"
Mai 18 16:39:24 nomadic9020 mender-update[915]: record_id=55 severity=error time="2026-May-18 14:39:24.106314" name="Global" msg="Could not send deployment status: Bad response error: Got unexpected response 400 from logs API: parsing time "2026-05-12T16:42:53.043781Z00Z": extra text: "00Z""
Mai 18 16:39:24 nomadic9020 mender-update[915]: record_id=56 severity=info time="2026-May-18 14:39:24.106602" name="Global" msg="Retrying status update after 1800 seconds"
Mai 18 17:09:24 nomadic9020 mender-update[915]: record_id=57 severity=info time="2026-May-18 15:09:24.106804" name="Global" msg="Sending status update to server"
Mai 18 17:09:25 nomadic9020 mender-update[915]: record_id=58 severity=error time="2026-May-18 15:09:25.255668" name="Global" msg="Could not send deployment status: Bad response error: Got unexpected response 400 from logs API: parsing time "2026-05-12T16:42:53.043781Z00Z": extra text: "00Z""
Mai 18 17:09:25 nomadic9020 mender-update[915]: record_id=59 severity=info time="2026-May-18 15:09:25.255917" name="Global" msg="Retrying status update after 1800 seconds"
Mai 18 17:39:25 nomadic9020 mender-update[915]: record_id=60 severity=info time="2026-May-18 15:39:25.256075" name="Global" msg="Sending status update to server"
Mai 18 17:39:26 nomadic9020 mender-update[915]: record_id=61 severity=error time="2026-May-18 15:39:26.365290" name="Global" msg="Could not send deployment status: Bad response error: Got unexpected response 400 from logs API: parsing time "2026-05-12T16:42:53.043781Z00Z": extra text: "00Z""
Mai 18 17:39:26 nomadic9020 mender-update[915]: record_id=62 severity=info time="2026-May-18 15:39:26.365637" name="Global" msg="Retrying status update after 1800 seconds"
and of authd
l" msg="Termination signal received, shutting down gracefully"
Mai 15 18:12:37 nomadic9020 systemd[1]: mender-authd.service: Deactivated successfully.
Mai 15 18:12:37 nomadic9020 systemd[1]: Stopped Mender authentication service.
-- Boot 420ed8b3d3a84cedb5b933f9c46af976 --
Mai 18 14:37:05 nomadic9020 mender-auth[4541]: using interface /sys/class/net/enP8p1s0
Mai 18 14:37:05 nomadic9020 mender-auth[914]: record_id=8 severity=info time="2026-May-18 14:37:05.186142" name="Global" msg="Signing with: /var/lib/mender/mender-agent.pem"
Mai 18 14:37:05 nomadic9020 mender-auth[914]: record_id=9 severity=info time="2026-May-18 14:37:05.844573" name="Global" msg="Successfully received new authorization data"
status of the services
```
● mender-updated.service - Mender OTA update service
Loaded: loaded (/lib/systemd/system/mender-updated.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/mender-updated.service.d
└─timezone.conf
Active: active (running) since Thu 1970-01-01 01:00:37 CET; 56 years 4 months ago
Main PID: 915 (mender-update)
Tasks: 2 (limit: 8810)
Memory: 8.4M
CPU: 406ms
CGroup: /system.slice/mender-updated.service
└─915 /usr/bin/mender-update daemon
Mai 18 16:09:23 nomadic9020 mender-update[915]: record_id=53 severity=info time="2026-May-18 14:09:23.037859" name="Gl>
Mai 18 16:39:23 nomadic9020 mender-update[915]: record_id=54 severity=info time="2026-May-18 14:39:23.038026" name="Gl>
Mai 18 16:39:24 nomadic9020 mender-update[915]: record_id=55 severity=error time="2026-May-18 14:39:24.106314" name="G>
Mai 18 16:39:24 nomadic9020 mender-update[915]: record_id=56 severity=info time="2026-May-18 14:39:24.106602" name="Gl>
Mai 18 17:09:24 nomadic9020 mender-update[915]: record_id=57 severity=info time="2026-May-18 15:09:24.106804" name="Gl>
Mai 18 17:09:25 nomadic9020 mender-update[915]: record_id=58 severity=error time="2026-May-18 15:09:25.255668" name="G>
Mai 18 17:09:25 nomadic9020 mender-update[915]: record_id=59 severity=info time="2026-May-18 15:09:25.255917" name="Gl>
Mai 18 17:39:25 nomadic9020 mender-update[915]: record_id=60 severity=info time="2026-May-18 15:39:25.256075" name="Gl>
Mai 18 17:39:26 nomadic9020 mender-update[915]: record_id=61 severity=error time="2026-May-18 15:39:26.365290" name="G>
Mai 18 17:39:26
● mender-authd.service - Mender authentication service
Loaded: loaded (/lib/systemd/system/mender-authd.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 1970-01-01 01:00:39 CET; 56 years 4 months ago
Main PID: 914 (mender-auth)
Tasks: 2 (limit: 8810)
Memory: 8.7M
CPU: 767ms
CGroup: /system.slice/mender-authd.service
└─914 /usr/bin/mender-auth daemon
Jan 01 01:00:37 nomadic9020 mender-auth[914]: record_id=3 severity=info time="1970-Jan-01 01:00:37.683425" name="Globa>
Jan 01 01:00:39 nomadic9020 systemd[1]: Started Mender authentication service.
Jan 01 01:00:41 nomadic9020 mender-auth[2280]: using interface /sys/class/net/enP8p1s0
Jan 01 01:00:41 nomadic9020 mender-auth[914]: record_id=4 severity=info time="1970-Jan-01 01:00:41.963673" name="Globa>
Jan 01 01:00:47 nomadic9020 mender-auth[914]: record_id=5 severity=error time="1970-Jan-01 01:00:47.243602" name="http>
Jan 01 01:00:47 nomadic9020 mender-auth[914]: record_id=6 severity=info time="1970-Jan-01 01:00:47.245240" name="Globa>
Jan 01 01:00:47 nomadic9020 mender-auth[914]: record_id=7 severity=error time="1970-Jan-01 01:00:47.245358" name="Glob>
Mai 18 14:37:05 nomadic9020 mender-auth[4541]: using interface /sys/class/net/enP8p1s0
Mai 18 14:37:05 nomadic9020 mender-auth[914]: record_id=8 severity=info time="2026-May-18 14:37:05.186142" name="Globa>
Mai 18 14:37:05 nomadic9020 mender-auth[91
sudo ls -lh /data/mender
ls: cannot access '/data/mender': No such file or directory
checking a deployment log, maybe it is related to time being in 1970 on service launch, although the logs do not look like it:
{"timestamp":"1970-01-01T00:00:41.865489Z","level":"info","message":"Running mender-update 5.1.0"}
{"timestamp":"1970-01-01T00:00:41.868909Z","level":"info","message":"The update client daemon is now ready to handle incoming deployments"}
{"timestamp":"1970-01-01T00:00:41.869071Z","level":"info","message":"Sending status update to server"}
{"timestamp":"1970-01-01T00:00:47.246727Z","level":"error","message":"Failed to set new authentication data on HTTP request"}
{"timestamp":"1970-01-01T00:00:47.246925Z","level":"error","message":"Request to push status data failed: Cannot submit API request"}
{"timestamp":"1970-01-01T00:00:47.246983Z","level":"error","message":"Could not send deployment status: Unauthorized error: Cannot submit API request"}
{"timestamp":"1970-01-01T00:00:47.247022Z","level":"info","message":"Retrying status update after 60 seconds"}
{"timestamp":"2026-05-18T12:37:05.106650Z","level":"info","message":"Sending status update to server"}
{"timestamp":"2026-05-18T12:37:08.360317Z","level":"error","message":"Could not send deployment status: Bad response error: Got unexpected response 400 from logs API: parsing time \"2026-05-12T16:42:53.043781Z00Z\": extra text: \"00Z\""}
{"timestamp":"2026-05-18T12:37:08.360562Z","level":"info","message":"Retrying status update after 60 seconds"}
{"timestamp":"2026-05-18T12:38:08.360754Z","level":"info","message":"Sending status update to server"}
{"timestamp":"2026-05-18T12:38:09.495374Z","level":"error","message":"Could not send deployment status: Bad response error: Got unexpected response 400 from logs API: parsing time \"2026-05-12T16:42:53.043781Z00Z\": extra text: \"00Z\""}
{"timestamp":"2026-05-18T12:38:09.495666Z","level":"info","message":"Retrying status update after 60 seconds"}
{"timestamp":"2026-05-18T12:39:09.495908Z","level":"info","message":"Sending status update to server"}
{"timestamp":"2026-05-18T12:39:10.605006Z","level":"error","message":"Could not send deployment status: Bad response error: Got unexpected response 400 from logs API: parsing time \"2026-05-12T16:42:53.043781Z00Z\": extra text: \"00Z\""}
{"timestamp":"2026-05-18T12:39:10.605291Z","level":"info","message":"Retrying status update after 120 seconds"}
{"timestamp":"2026-05-18T12:41:10.605468Z","level":"info","message":"Sending status update to server"}
{"timestamp":"2026-05-18T12:41:11.600372Z","level":"error","message":"Could not send deployment status: Bad response error: Got unexpected response 400 from logs API: parsing time \"2026-05-12T16:42:53.043781Z00Z\": extra text: \"00Z\""}
{"timestamp":"2026-05-18T12:41:11.600648Z","level":"info","message":"Retrying status update after 120 seconds"}
{"timestamp":"2026-05-18T12:43:11.600843Z","level":"info","message":"Sending status update to server"}
I did some digging with claude and found that potentially during shutdown the files contain a lot of empty zeroes
tr -d '\0' < /var/lib/mender/deployments.0000.67f88509-35fa-4c24-8cf5-a533fb5b91e8.log | cmp -s - ... && echo SAME || echo HAS-NULLS
HAS-NULLS
deleting these files with this script
#!/bin/bash
shopt -s nullglob
for f in /var/lib/mender/deployments.*.log; do
if ! tr -d '\0' < "$f" | cmp -s - "$f"; then
rm -f "$f" && echo "Removed corrupt deployment log: $f" | systemd-cat -t mender-clean
fi
done
exit 0
leads to
ai 18 18:04:21 nomadic9020 systemd[1]: Stopped Mender OTA update service.
Mai 18 18:04:21 nomadic9020 systemd[1]: Started Mender OTA update service.
Mai 18 18:04:21 nomadic9020 mender-update[275540]: record_id=1 severity=error time="2026-May-18 16:04:21.054560" name="Global" msg="State loop detected. Forcefully aborting update."
Mai 18 18:04:21 nomadic9020 mender-update[275540]: record_id=2 severity=info time="2026-May-18 16:04:21.055048" name="Global" msg="Running mender-update 5.1.0"
Mai 18 18:04:21 nomadic9020 mender-update[275540]: record_id=3 severity=info time="2026-May-18 16:04:21.056020" name="Global" msg="The update client daemon is now ready to handle incoming deployments"
Mai 18 18:04:21 nomadic9020 mender-update[275540]: record_id=4 severity=info time="2026-May-18 16:04:21.056109" name="Global" msg="Sending status update to server"
Mai 18 18:04:22 nomadic9020 mender-update[275540]: record_id=5 severity=info time="2026-May-18 16:04:22.016751" name="Global" msg="Deployment with ID 67f88509-35fa-4c24-8cf5-a533fb5b91e8 finished with status: Failure"
Mai 18 18:04:22 nomadic9020 mender-update[275540]: record_id=6 severity=info time="2026-May-18 16:04:22.708925" name="Global" msg="Inventory data submitted successfully"
Mai 18 18:04:23 nomadic9020 mender-update[275540]: record_id=7 severity=info time="2026-May-18 16:04:23.192862" name="Global" msg="No update available"
Mai 18 18:04:23 nomadic9020 mender-update[275540]: record_id=8 severity=info time="2026-May-18 16:04:23.486221" name="Global" msg="Inventory data unchanged, not submitting"
and the device accepting updates again.
As quickfix, claude suggested adding this script to the systemd service definiton with ExecPreStart to ensure a clean start. I have not tried doing that but it seems plausible to me that this would work.
I hope this info helps and I am happy test more things report more specific things if you need to help fix it.
Best,
Sandesh