I am installing mender on my machine for OTA updates and app deployments.
Installing mender using
curl -fLsS https://get.mender.io -o get-mender.sh
# Added mender update component to instal list
sudo bash get-mender.sh
This did not work giving some version mismatch error
Then I installed mender-clinet4 which had the mender-update component,
mender-update --version
5.0.3
but it did not have the docker compose module as mentioned here. Tutorial: Docker Compose update | Mender documentation
I installed all these components on my machine and I got some error regarding missing files in modules.
2025-11-05 13:27:46.984 +0000 UTC info: Running Mender client 5.0.3
2025-11-05 13:27:46.984 +0000 UTC info: Deployment with ID 06ff1ec7-1a36-47df-898f-fa18944987ea started.
2025-11-05 13:27:46.985 +0000 UTC info: Sending status update to server
2025-11-05 13:27:47.47 +0000 UTC info: Installing artifact...
2025-11-05 13:27:47.487 +0000 UTC error: Update Module not found for given artifact type: ProvidePayloadFileSizes: Cannot launch /usr/share/mender/modules/v3/docker-compose
2025-11-05 13:27:47.487 +0000 UTC error: Operation canceled: GET https://c271964d41749feb10da762816c952ee.r2.cloudflarestorage.com/mender-artifact-storage-prod-hm-eu/68e7a4b6c3561b4d9787dfde/bdb6aeed-c1a8-4a67-96cd-187555340519?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=19a52e042b2d44cda3cce7623fc49194%2F20251105%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251105T132746Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3D%22nginx-v1.0.mender%22&response-content-type=application%2Fvnd.mender-artifact&x-id=GetObject&X-Amz-Signature=f8693457496da67bd05dcd97d0106710e2bb664a114b099b06f97af7218906cf: HTTP request cancelled
2025-11-05 13:27:47.49 +0000 UTC error: Update Module not found for given artifact type: Cleanup: Cannot launch /usr/share/mender/modules/v3/docker-compose
2025-11-05 13:27:47.49 +0000 UTC info: Sending status update to server
I copied usr/share/mender/app-modules/v1/docker-compose to usr/share/mender/modules/v3/docker-compose
Now i get the following error
2025-11-05 14:43:46.076 +0000 UTC info: Running Mender client 5.0.3
2025-11-05 14:43:46.076 +0000 UTC info: Deployment with ID ff947dc1-ab34-42c6-8b9f-90680dc88a7e started.
2025-11-05 14:43:46.077 +0000 UTC info: Sending status update to server
2025-11-05 14:43:46.424 +0000 UTC info: Installing artifact...
2025-11-05 14:43:46.447 +0000 UTC error: Process returned non-zero exit status: ProvidePayloadFileSizes: Process exited with status 1
2025-11-05 14:43:46.448 +0000 UTC error: Operation canceled: GET https://c271964d41749feb10da762816c952ee.r2.cloudflarestorage.com/mender-artifact-storage-prod-hm-eu/68e7a4b6c3561b4d9787dfde/bdb6aeed-c1a8-4a67-96cd-187555340519?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=19a52e042b2d44cda3cce7623fc49194%2F20251105%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251105T144346Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3D%22nginx-v1.0.mender%22&response-content-type=application%2Fvnd.mender-artifact&x-id=GetObject&X-Amz-Signature=a77bebfa7bf180b975fbd1da4b6e1d180df02e31da6caa56242243b69352436d: HTTP request cancelled
2025-11-05 14:43:46.454 +0000 UTC info: Update Module output (stdout): ERROR: unknown API call: Cleanup /var/lib/mender/modules/v3/payloads/0000/tree
2025-11-05 14:43:46.456 +0000 UTC error: Process returned non-zero exit status: Cleanup: Process exited with status 1
2025-11-05 14:43:46.456 +0000 UTC info: Sending status update to server
I tried creating the artifact as both app and docker-compose.
mender-artifact write module-image -T app -n ${ARTIFACT_NAME} -t ${DEVICE_TYPE} -o ${OUTPUT_PATH} -f docker-compose.yml
mender-artifact write module-image -T docker-compose -n ${ARTIFACT_NAME} -t ${DEVICE_TYPE} -o ${OUTPUT_PATH} -f docker-compose.yml
Is there a documentation on how to get the whole pipeline working?
Installation Guide used