says "Unable to initiate update"

I try to update firmware
I have successfully update before. But recently it says
“Unable to initiate update
Please make sure the selected package is compatible with the selected device”

my docker-compose.yml

 version: "2.4"
     container_name: weston
     image: register/App-weston
     image: portainer/portainer:latest
     container_name: App-client
     image: register/App-client

May be the problem is related to recent Debian update
In the dockerfile of my application App-client I’ve change

 ARG BASE_NAME=arm32v7-debian-qt5-wayland:2


 ARG BASE_NAME=arm32v7-debian-qt5-wayland:2.3.0-20210519

If I run

docker pull register/App-client

then application updated successfully, but by hand, not OTA.

How can I restore OTA updating?

Greetings @Juzujka,

It can’t be determined from the information you provided why the update failed.

Try this, on your device run journalctl -f -u aktualizr*, this will provide the logs for the update client on the device. Now initiate an update to this device and see if you notice any errors or issues in the client logs as the update occurs.

Best Regards,

It says

$ journalctl -f -u aktualizr*
-- Logs begin at Thu 1970-01-01 00:00:08 UTC. --
    Device ID: ...
    Device Gateway URL:
    Certificate subject: ...
    Certificate issuer: ...
    Certificate valid from: ...
    Event: SendDeviceDataComplete
    Current versions in storage and reported by OSTree do not match

Also, I have assign tags in dockerfile for application

ARG BASE_NAME=arm32v7-debian-qt5-wayland:2.2.2-20201117

and for Weston

ARG IMAGE_ARCH=linux/arm
ARG BASE_NAME=wayland-base
ARG IMAGE_TAG=2.1.1-20201117
FROM --platform=$IMAGE_ARCH torizon/$BASE_NAME:$IMAGE_TAG AS base

I’ve choose tags from the same date for compatibility

Then I created new fleet and add new package with the same docker-compose.yml
And update completes successfully.

What is the correct way to manage tags, versions, packages to avoid update fails?

Hi @Juzujka

This article has some information about the image tags and versioning. Does it help you?

You only sent a small part of the log, you need to capture the logs during an update attempt otherwise I can’t tell what is going on.

Best Regards,