# Errors in 'ublue-update.service'

**URL:** <https://universal-blue.discourse.group/t/errors-in-ublue-update-service/5996>\
**Category:** Aurora\
**Created:** [December 30, 2024, 11:49am UTC](https://universal-blue.discourse.group/t/errors-in-ublue-update-service/5996 "2024-12-30T11:49:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sennic](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@Sennic](https://universal-blue.discourse.group/u/Sennic)\
**Post date:** [December 30, 2024, 11:49am UTC](https://universal-blue.discourse.group/t/errors-in-ublue-update-service/5996/1 "2024-12-30T11:49:09Z")

</div>

I checked the logs with `journalctl -u ublue-update.service` and noticed that for several days I have this error in my logs:

```auto
Dec 30 12:34:34 aurora systemd[1]: Starting ublue-update.service - Universal Blue Update Oneshot Service...
Dec 30 12:34:34 aurora ublue-update[136990]: Traceback (most recent call last):
Dec 30 12:34:34 aurora ublue-update[136990]: File "/usr/bin/ublue-update", line 8, in <module>
Dec 30 12:34:34 aurora ublue-update[136990]: sys.exit(main())
Dec 30 12:34:34 aurora ublue-update[136990]: ~~~~ ^^
Dec 30 12:34:34 aurora ublue-update[136990]: File "/usr/lib/python3.13/site-packages/ublue_update/cli.py", line 222, in main
Dec 30 12:34:34 aurora ublue-update[136990]: system_update_available: bool = system_update_check()
Dec 30 12:34:34 aurora ublue-update[136990]: ~~~~~~~~~~~~~~~~~~~ ^^
Dec 30 12:34:34 aurora ublue-update[136990]: File "/usr/lib/python3.13/site-packages/ublue_update/update_checks/system.py", line 46, in system_update_check
Dec 30 12:34:34 aurora ublue-update[136990]: latest_digest = skopeo_inspect(url)
Dec 30 12:34:34 aurora ublue-update[136990]: File "/usr/lib/python3.13/site-packages/ublue_update/update_checks/system.py", line 15, in skopeo_inspect
Dec 30 12:34:34 aurora ublue-update[136990]: digest = loads(inspect)["Digest"]
Dec 30 12:34:34 aurora ublue-update[136990]: ~~~~~ ^^^^^^^^^
Dec 30 12:34:34 aurora ublue-update[136990]: File "/usr/lib64/python3.13/json/ __init__.py", line 346, in loads
Dec 30 12:34:34 aurora ublue-update[136990]: return _default_decoder.decode(s)
Dec 30 12:34:34 aurora ublue-update[136990]: ~~~~~~~~~~~~~~~~~~~~~~~ ^^^
Dec 30 12:34:34 aurora ublue-update[136990]: File "/usr/lib64/python3.13/json/decoder.py", line 344, in decode
Dec 30 12:34:34 aurora ublue-update[136990]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Dec 30 12:34:34 aurora ublue-update[136990]: ~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^
Dec 30 12:34:34 aurora ublue-update[136990]: File "/usr/lib64/python3.13/json/decoder.py", line 362, in raw_decode
Dec 30 12:34:34 aurora ublue-update[136990]: raise JSONDecodeError("Expecting value", s, err.value) from None
Dec 30 12:34:34 aurora ublue-update[136990]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Dec 30 12:34:34 aurora systemd[1]: ublue-update.service: Main process exited, code=exited, status=1/FAILURE
Dec 30 12:34:34 aurora systemd[1]: ublue-update.service: Failed with result 'exit-code'.
Dec 30 12:34:34 aurora systemd[1]: Failed to start ublue-update.service - Universal Blue Update Oneshot Service.

```

Is that normal or something that needs to be fixed?

---

<div class="post-metadata">

**Author:** ![Sennic](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@Sennic](https://universal-blue.discourse.group/u/Sennic)\
**Post date:** [January 3, 2025, 1:03pm UTC](https://universal-blue.discourse.group/t/errors-in-ublue-update-service/5996/2 "2025-01-03T13:03:46Z")

</div>

I now know what the issue (bug) is: after waking the computer up from suspend the update service immediately runs, but before a network connection has been reestablished, and thus the network request fails.

Instead, the service should wait for a few seconds (ideally a couple of minutes, to let things “settle down” after waking up) before running the service.
