I’m attempting to use the OTA with a docker-compose (shown below) and I’m pretty sure I probably made a mistake somewhere, but I’m not quite sure where. When I initiate an update, it tells me
Clicking on the More Info shows me:
Which seems to imply that it did something - the other containers are gone, but it doesn’t look like the containers really have anything to do with my docker-compose file.
Let’s try to get more information here as to what is failing in the update. Judging by your information it seemed the update failed on the last step (installation). Please try the following, while an update is happening. Run journalctl -f -u aktualizr* on your device. This will follow the log output of the update client. If there are any errors that occur during the update process, they should show up in these logs.
These are the steps that are executed during installation of a docker-compose update. It could help to debug which exact step the update installation fails on if the logs are not clear.
Ok that was helpful… It doesn’t like my private image so I found the link about Using Private Registries With the Torizon Platform | Toradex Developer Center which helped get past that point. Thinking about supporting a lot of these boxes in the field, a feature request for the team would be for the aktualizer failuers to be replicated to the Torizon OTA dashboard.
I did find an odd message when installing that is worth looking at. Notice the Missing R before Removing below and the extra R on the lines after it plus the missing D for Deleted containers.
Mar 16 20:39:57 apalis-imx8-06945459 aktualizr-torizon[1016]: Running command: /usr/bin/docker-compose --file /var/sota/storage/docker-compose/docker-compose.yml.tmp -p torizon up --detach --remove-orphans
Mar 16 20:39:59 apalis-imx8-06945459 aktualizr-torizon[33108]: Creating network "torizon_backend" with the default driver
Mar 16 20:39:59 apalis-imx8-06945459 aktualizr-torizon[33108]: Creating network "torizon_frontend" with the default driver
Mar 16 20:39:59 apalis-imx8-06945459 aktualizr-torizon[33108]: Creating pilot ...
Mar 16 20:39:59 apalis-imx8-06945459 aktualizr-torizon[33108]: Creating weston ...
Mar 16 20:40:06 apalis-imx8-06945459 aktualizr-torizon[33108]: [95B blob data]
Mar 16 20:40:08 apalis-imx8-06945459 aktualizr-torizon[33108]: [38B blob data]
Mar 16 20:40:08 apalis-imx8-06945459 aktualizr-torizon[1016]: [38B blob data]
Mar 16 20:40:08 apalis-imx8-06945459 aktualizr-torizon[1016]: emoving not used containers, networks and images
Mar 16 20:40:08 apalis-imx8-06945459 aktualizr-torizon[1016]: R
Mar 16 20:40:08 apalis-imx8-06945459 aktualizr-torizon[33503]: R
Mar 16 20:40:08 apalis-imx8-06945459 aktualizr-torizon[33503]: eleted Containers:
Mar 16 20:40:08 apalis-imx8-06945459 aktualizr-torizon[33503]: ffbaaa9d2994a8c1cbfaa2fac1a3b751f330e14060ec6f54b1473c5f52973c8f
Mar 16 20:40:08 apalis-imx8-06945459 aktualizr-torizon[33503]: Deleted Images:
Mar 16 20:40:08 apalis-imx8-06945459 aktualizr-torizon[33503]: untagged: torizon/weston-vivante@sha256:827417ba996cf20c4676bae19c0128e8ea27f41a620dd0b84174427f06779797
Yeah journald sometimes splices the log lines strangely but it’s a relatively minor problem. Sounds like you resolved the issue with the updates, so that’s good to hear. Are their any other issues, or was it just the private registry?