# Installer: failed to read and install update: reader: unsupported version: 3

**URL:** <https://hub.mender.io/t/installer-failed-to-read-and-install-update-reader-unsupported-version-3/1785>\
**Category:** General Discussions\
**Created:** [April 13, 2020, 1:28pm UTC](https://hub.mender.io/t/installer-failed-to-read-and-install-update-reader-unsupported-version-3/1785 "2020-04-13T13:28:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![avi992](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@avi992](https://hub.mender.io/u/avi992)\
**Post date:** [April 13, 2020, 1:28pm UTC](https://hub.mender.io/t/installer-failed-to-read-and-install-update-reader-unsupported-version-3/1785/1 "2020-04-13T13:28:42Z")

</div>

when i am trying to update raspberryp3 i am getting this error

2020-04-13 13:20:48 +0000 UTC debug: handle update fetch state  
2020-04-13 13:20:49 +0000 UTC debug: status reported, response 204 No Content  
2020-04-13 13:20:50 +0000 UTC debug: Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Accept-Ranges:[bytes] Etag:[“478e517c4a8bbec7647c81cda7a6b086”] Strict-Transport-Security:[max-age=0; includeSubdomains; preload] X-Amz-Request-Id:[160563AFAF68B66E] X-Content-Type-Options:[nosniff] Content-Type:[application/vnd.mender-artifact] Connection:[keep-alive] Content-Security-Policy:[block-all-mixed-content] Server:[openresty/1.13.6.2] Content-Length:[5120] X-Xss-Protection:[1; mode=block] X-Frame-Options:[DENY] Date:[Mon, 13 Apr 2020 13:20:49 GMT] Last-Modified:[Mon, 13 Apr 2020 13:20:23 GMT] Vary:[Origin]] 0x1279b330 5120 [] false false map[] 0x126e6980 0x12581980}+  
2020-04-13 13:20:50 +0000 UTC info: State transition: update-fetch [Download] -\> update-store [Download]  
2020-04-13 13:20:50 +0000 UTC debug: handle update install state  
2020-04-13 13:20:50 +0000 UTC debug: status reported, response 204 No Content  
2020-04-13 13:20:50 +0000 UTC debug: Read data from device manifest file: device\_type=raspberrypi3  
2020-04-13 13:20:50 +0000 UTC debug: Found needed line: device\_type=raspberrypi3  
2020-04-13 13:20:50 +0000 UTC debug: Current manifest data: raspberrypi3  
2020-04-13 13:20:50 +0000 UTC info: no public key was provided for authenticating the artifact  
2020-04-13 13:20:50 +0000 UTC error: update install failed: installer: failed to read and install update: reader: unsupported version: 3  
2020-04-13 13:20:50 +0000 UTC info: State transition: update-store [Download] -\> fetch-install-retry-wait [Download]  
2020-04-13 13:20:50 +0000 UTC debug: handle fetch install retry state  
2020-04-13 13:20:50 +0000 UTC info: State transition: fetch-install-retry-wait [Download] -\> update-status-report [none]  
2020-04-13 13:20:50 +0000 UTC debug: handle update status report state  
2020-04-13 13:20:51 +0000 UTC debug: status reported, response 204 No Content  
2020-04-13 13:20:51 +0000 UTC debug: attempting to upload deployment logs for failed update

i am using sding in raspberrypi3 please provide any solution for this

---

<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:** [April 13, 2020, 2:06pm UTC](https://hub.mender.io/t/installer-failed-to-read-and-install-update-reader-unsupported-version-3/1785/2 "2020-04-13T14:06:47Z")

</div>

Hi @avi992

From your log, the following line looks suspicious to me:

`2020-04-13 13:20:50 +0000 UTC error: update install failed: installer: failed to read and install update: reader: unsupported version: 3`

That means that your Mender client does not support Artifact version 3. You should be using Mender client 2.x, you can check the Mender client version with the command:

`mender -version`

---

<div class="post-metadata">

**Author:** ![avi992](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@avi992](https://hub.mender.io/u/avi992)\
**Post date:** [April 14, 2020, 5:18am UTC](https://hub.mender.io/t/installer-failed-to-read-and-install-update-reader-unsupported-version-3/1785/3 "2020-04-14T05:18:42Z")

</div>

ubantu@ubantu:~ mender -version da6e27a runtime: go1.11.5 ubantu@ubantu:~  
i got this

---

<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:** [April 14, 2020, 7:20am UTC](https://hub.mender.io/t/installer-failed-to-read-and-install-update-reader-unsupported-version-3/1785/4 "2020-04-14T07:20:27Z")

</div>

Hi @avi992,

The version you are getting is actually latest master, so that part should be okey.

Can you elaborate how have you integrated Mender on your RPi3? Are you using the [pre-converted image](https://docs.mender.io/2.3/downloads#disk-images) or converting it yourself? Please post also the commands you are using to create the Artifact.

---

<div class="post-metadata">

**Author:** ![avi992](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@avi992](https://hub.mender.io/u/avi992)\
**Post date:** [April 14, 2020, 11:51am UTC](https://hub.mender.io/t/installer-failed-to-read-and-install-update-reader-unsupported-version-3/1785/5 "2020-04-14T11:51:47Z")

</div>

Hi @lluiscampos  
i have created .sdimg in ubuntu 18.04 that sdimg flash is running in my raspberry pi3 not raspbian. and i have follow your link to create artifact of docker image.the thing is when i have created sdimg i don’t know which client version is running.

i have follow this link to create .sdimg

> [@Raspberry Pi 3 Model B/B+](https://hub.mender.io/t/raspberry-pi-3-model-b-b/57):
>
> Board description The Raspberry Pi 3 Model B/B+ is a popular single board computer based on Broadcom SoCs. It is the most powerful board within the Raspberry Pi family and probably the most popular with “makers”. [770A5842-462x322] URL: [https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus](https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus?target=_blank) URL: [https://www.raspberrypi.org/products/raspberry-pi-3-model-b](https://www.raspberrypi.org/products/raspberry-pi-3-model-b?target=_blank) Wiki: [https://elinux.org/RPi\_Hub](https://elinux.org/RPi_Hub?target=_blank) Test results Raspberry Pi 3 is one of the official reference devices of Mender and is easy to g…

and also i an testing all this thing in demo server.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [April 14, 2020, 1:48pm UTC](https://hub.mender.io/t/installer-failed-to-read-and-install-update-reader-unsupported-version-3/1785/6 "2020-04-14T13:48:06Z")

</div>

Hi @avi992 to clarify, you built a Yocto image for this system? What branch of Yocto did you use?

---

<div class="post-metadata">

**Author:** ![avi992](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@avi992](https://hub.mender.io/u/avi992)\
**Post date:** [April 15, 2020, 5:44am UTC](https://hub.mender.io/t/installer-failed-to-read-and-install-update-reader-unsupported-version-3/1785/7 "2020-04-15T05:44:45Z")

</div>

Hi @drewmoseley  
i have used sumo 2.5.3 as branch

---

<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:** [April 15, 2020, 7:06am UTC](https://hub.mender.io/t/installer-failed-to-read-and-install-update-reader-unsupported-version-3/1785/8 "2020-04-15T07:06:13Z")

</div>

Hi @avi992,

With sumo branch, by default, you will be using Mender 1.7.1, which is quite old and does not support Update Modules (Docker updates, for example). You can switch to yocto branch warrior (recommended) or stay in sumo and add the following lines to your local conf:

```bash
PREFERRED_VERSION_pn-mender = "2.1.2"
PREFERRED_VERSION_pn-mender-artifact = "3.2.1"
PREFERRED_VERSION_pn-mender-artifact-native = "3.2.1"

```
