For several days I’ve been trying to convert the latest version of RPI Image from 2019-06-20 and get the same result.
After starting the following command:
./docker-mender-convert from-raw-disk-image
–raw-disk-image $RAW_DISK_IMAGE
–mender-disk-image $MENDER_DISK_IMAGE
–device-type $DEVICE_TYPE
–artifact-name $ARTIFACT_NAME
–bootloader-toolchain arm-buildroot-linux-gnueabihf
–server-url “https://hosted.mender.io”
–tenant-token $TENANT_TOKEN
The following output of the console is received:
Running mender-convert from-raw-disk-image --raw-disk-image input/2019-06-20-raspbian-buster.img --mender-disk-image 2019-06-20-raspbian-buster.sdimg --device-type raspberrypi3 --artifact-name 2019-06-20-raspbian-buster --bootloader-toolchain arm-buildroot-linux-gnueabihf --server-url https://hosted.mender.io --tenant-token
Then there is no change for 24 hours or more. Where is the problem?
How can I debug mender-convert?
How can I make detailed logs to understand what’s happening and how to fix it?
When I type “ps -eaf | grep mender”, the following processes are started:
- root 12746 12743 0 09:37 pts/0 00:00:00 /bin/sh ./docker-mender-convert from-raw-disk-image --raw-disk-image input/2019-06-20-raspbian-buster.img --mender-disk-image 2019-06-20-raspbian-buster.sdimg --device-type raspberrypi3 --artifact-name 2019-06-20-raspbian-buster --bootloader-toolchain arm-buildroot-linux-gnueabihf --server-url https://hosted.mender.io --tenant-token
- root 12754 12746 0 09:37 pts/0 00:00:00 docker run --mount type=bind,source=/home/miron/works/mender.io/mender-convert,target=/mender-convert --privileged=true --cap-add=SYS_MODULE -v /dev:/dev -v /lib/modules:/lib/modules:ro mender-convert from-raw-disk-image --raw-disk-image input/2019-06-20-raspbian-buster.img --mender-disk-image 2019-06-20-raspbian-buster.sdimg --device-type raspberrypi3 --artifact-name 2019-06-20-raspbian-buster --bootloader-toolchain arm-buildroot-linux-gnueabihf --server-url https://hosted.mender.io --tenant-token
- root 12937 12908 0 09:37 ? 00:00:00 /bin/sh /usr/local/bin/docker-entrypoint.sh from-raw-disk-image --raw-disk-image input/2019-06-20-raspbian-buster.img --mender-disk-image 2019-06-20-raspbian-buster.sdimg --device-type raspberrypi3 --artifact-name 2019-06-20-raspbian-buster --bootloader-toolchain arm-buildroot-linux-gnueabihf --server-url https://hosted.mender.io --tenant-token
- root 13087 12937 79 09:37 ? 00:00:28 /bin/bash ./mender-convert from-raw-disk-image --raw-disk-image input/2019-06-20-raspbian-buster.img --mender-disk-image 2019-06-20-raspbian-buster.sdimg --device-type raspberrypi3 --artifact-name 2019-06-20-raspbian-buster --bootloader-toolchain arm-buildroot-linux-gnueabihf --server-url https://hosted.mender.io --tenant-token