Getting error when running mender 1.7 with standalone mode

Hi,

Please see the steps which I have done below:

When I tried with the above procedure, I got the below error:

INFO[0000] Loaded configuration file: /etc/mender/mender.conf module=config
INFO[0000] Mender running on partition: /dev/mmcblk0p2 module=main
INFO[0000] Performing remote update from: [https://encodable.com/uploaddemo/?action=viewer]. module=rootfs
ERRO[0002] rootfs: error while updating image from command line: Will not continue with unknown image size. module=main

Could anyone help me to figure out what is wrong here and how to resolve this issue?

Hi,

I think the problem must be the ampersand in your command like argument. Please try with:
mender -rootfs "https://encodable.com/uploaddemo/?action=viewer&path=&file=ccu-2.mender"

Best regards,
Lluís

Hi,

Actually, that is not really the URL of the file but only the URL of the website html.

You need to specify the file itself with:
mender -rootfs "https://encodable.com/uploaddemo/files/ccu-2.mender"

Best regards,
Lluís

1 Like

Thank you so much @lluiscampos for the catch :+1: