# Getting error when running mender 1.7 with standalone mode

**URL:** https://hub.mender.io/t/getting-error-when-running-mender-1-7-with-standalone-mode/263
**Category:** General Discussions
**Tags:** yocto, sumo
**Created:** [February 26, 2019, 12:00pm UTC](https://hub.mender.io/t/getting-error-when-running-mender-1-7-with-standalone-mode/263 "2019-02-26T12:00:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ajithpv](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ajithpv/32/728_2.png) [@ajithpv](https://hub.mender.io/u/ajithpv)
#### Post date: [February 26, 2019, 12:00pm UTC](https://hub.mender.io/t/getting-error-when-running-mender-1-7-with-standalone-mode/263/1 "2019-02-26T12:00:16Z")

</div>

Hi,

Please see the steps which I have done below:

- From PC, I have uploaded a mender artifact into a public file upload utility (FileChucker) and received the below URL with https:  
[https://encodable.com/uploaddemo/?action=viewer&amp;path=&amp;file=ccu-2.mender](https://encodable.com/uploaddemo/?action=viewer&amp;path=&amp;file=ccu-2.mender)
- On device (i.e i.MX8DX6), I have stopped the mender daemon by following command (as per [https://docs.mender.io/1.7/architecture/standalone-deployments#setting-mender-up-for-standalone-mode](https://docs.mender.io/1.7/architecture/standalone-deployments#setting-mender-up-for-standalone-mode)):  
_# systemctl stop mender_
- I have run the following command for updating the artifact (as per [https://docs.mender.io/1.7/architecture/standalone-deployments#deploy-an-artifact-to-a-device](https://docs.mender.io/1.7/architecture/standalone-deployments#deploy-an-artifact-to-a-device))  
_# mender -rootfs [https://encodable.com/uploaddemo/?action=viewer&amp;path=&amp;file=ccu-2.mender](https://encodable.com/uploaddemo/?action=viewer&amp;path=&amp;file=ccu-2.mender)_

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](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?

---

<div class="post-metadata">

### Author: ![lluiscampos](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lluiscampos/32/112_2.png) [@lluiscampos](https://hub.mender.io/u/lluiscampos)
#### Post date: [February 26, 2019, 12:17pm UTC](https://hub.mender.io/t/getting-error-when-running-mender-1-7-with-standalone-mode/263/2 "2019-02-26T12:17:06Z")

</div>

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

---

<div class="post-metadata">

### Author: ![lluiscampos](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lluiscampos/32/112_2.png) [@lluiscampos](https://hub.mender.io/u/lluiscampos)
#### Post date: [February 26, 2019, 12:20pm UTC](https://hub.mender.io/t/getting-error-when-running-mender-1-7-with-standalone-mode/263/3 "2019-02-26T12:20:56Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ajithpv](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ajithpv/32/728_2.png) [@ajithpv](https://hub.mender.io/u/ajithpv)
#### Post date: [February 26, 2019, 12:47pm UTC](https://hub.mender.io/t/getting-error-when-running-mender-1-7-with-standalone-mode/263/4 "2019-02-26T12:47:56Z")

</div>

Thank you so much @lluiscampos for the catch 👍
