# Update Existing 2.5.0 System to 2.6.0

**URL:** <https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151>\
**Category:** General Discussions\
**Created:** [January 28, 2021, 6:18pm UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151 "2021-01-28T18:18:03Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![kcw](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@kcw](https://hub.mender.io/u/kcw)\
**Post date:** [January 28, 2021, 6:18pm UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/1 "2021-01-28T18:18:04Z")

</div>

Hi,

I have a local install of the opensource production mender running 2.5.0 with a single Raspberry Pi 3 communicating with it, and I use mender-convert to create my updates from a golden image. I was able to successfully update the server to 2.6.0, and I re-downloaded mender-convert and followed the instructions listed in mender 2.6. However, when I make a new image using the new mender-convert and deploy it to the Pi, the Pi says its still running mender 2.5.0 and I’m unable to use the remote terminal. Is there another configuration I need to update in order to the Pi to be on 2.6?

---

<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:** [January 29, 2021, 7:17pm UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/2 "2021-01-29T19:17:42Z")

</div>

Hi @kcw, welcome to Mender hub. The version of the Mender client _is_ 2.5.0 for the Mender product 2.6.0 release. It is confusing but it’s due to the fact that each of the components have their own release schedule and it’s possible that one component may be unmodified from one release version to the next.

I don’t know why you would have trouble with the remote terminal though. Perhaps @lluiscampos or @oleorhagen can help.

Drew

---

<div class="post-metadata">

**Author:** ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)\
**Post date:** [February 1, 2021, 9:33am UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/3 "2021-02-01T09:33:53Z")

</div>

From looking through the `mender-convert` PRs I will leave this off to @lluiscampos 🙂

---

<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 4, 2021, 4:25pm UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/4 "2021-02-04T16:25:13Z")

</div>

Hi @kcw ,

As already pointed out, mender (client) 2.5.0 is correct version to use with Remote Terminal.

`mender-convert` does not install add-ons (like `mender-connect`, required for Remote terminal) by default. You’ll need to set `MENDER_ADDON_CONNECT_INSTALL` to `y`. See [Mender Docs](https://docs.mender.io/system-updates-debian-family/variables#mender_addon_connect_install).

You’ll also need a `mender-connect.conf` file in your image, with at least `ServerURL` and `User` fields, see [Mender Docs](https://docs.mender.io/add-ons/remote-terminal/mender-connect-configuration-file).

I hope this helps to get you started 🙂

---

<div class="post-metadata">

**Author:** ![raj.panchal](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@raj.panchal](https://hub.mender.io/u/raj.panchal)\
**Post date:** [August 20, 2021, 4:50pm UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/5 "2021-08-20T16:50:02Z")

</div>

Hi Lluis  
I came across this topic while I am also trying to setup my mender-convert for remote terminal.  
I followed your post and configure my mender\_convert\_config to add/modify as follows:

# Mender client version

# 

# This is used to fetch the correct binaries

#RAJ - MENDER\_CLIENT\_VERSION=“2.3.0b1”

# RAJ - Modifications for adding Remote Terminal Add-On.

MENDER\_CLIENT\_VERSION=“2.5.0”  
MENDER\_ADDON\_CONNECT\_INSTALL=y  
MENDER\_ADDON\_CONNECT\_VERSION=“latest”  
MENDER\_ADDON\_CONFIGURE\_VERSION=“latest”

And added mender-connect.conf to:  
~/mender-convert/bootstrap-rootfs-overlay-hosted-server/etc/mender/

mender-connect.conf contains (minimal to start with) as follows per your suggestion:  
{  
“ServerURL”: “[https://hosted.mender.io/](https://hosted.mender.io/)”,  
“User”: “sqrl”  
}

I built the artifact as usual and updated the device with the new release. No error in the process.

After the deployment, and and selecting the updated device, I don’t see option to open the remote terminal.

Am I missing something here?

Apprciate your help.

Raj

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [August 23, 2021, 5:58am UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/6 "2021-08-23T05:58:54Z")

</div>

2.5.0 has some known race conditions in the interaction between mender-client and mender-connect. It is recommended to upgrade to 3.0.0, or at least 2.6.1, both of which contain fixes for this.

---

<div class="post-metadata">

**Author:** ![raj.panchal](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@raj.panchal](https://hub.mender.io/u/raj.panchal)\
**Post date:** [August 23, 2021, 6:38pm UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/7 "2021-08-23T18:38:45Z")

</div>

I changed it to use 3.0.0 as follows in mender\_convert\_config:

# Mender client version

# 

# This is used to fetch the correct binaries

#RAJ - MENDER\_CLIENT\_VERSION=“2.3.0b1”

# RAJ - Modifications or Remote Terminal Add-On.

**MENDER\_CLIENT\_VERSION=“3.0.0”**  
MENDER\_ADDON\_CONNECT\_INSTALL=y  
MENDER\_ADDON\_CONNECT\_VERSION=“latest”  
MENDER\_ADDON\_CONFIGURE\_INSTALL=y  
MENDER\_ADDON\_CONFIGURE\_VERSION=“latest”

Attached is the screenshot of the device dashboard:

 ![Screenshot from 2021-08-23 13-33-48](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/1/1bc02a79b57a51a1466353ac274d6dc506a2c8a5.png)

I still cannot see the UI access to the device’s Remote Terminal.

Raj

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [August 24, 2021, 7:00am UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/8 "2021-08-24T07:00:29Z")

</div>

Can you post the log output from mender-connect?

```bash
journalctl -u mender-connect

```

---

<div class="post-metadata">

**Author:** ![raj.panchal](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@raj.panchal](https://hub.mender.io/u/raj.panchal)\
**Post date:** [August 24, 2021, 7:20pm UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/9 "2021-08-24T19:20:01Z")

</div>

(sspy35\_env) ssqrl@SS:/home/ssqrl/SSquare/sspy35\_env $ journalctl -u mender-connect  
– No entries –

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [August 25, 2021, 8:33am UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/10 "2021-08-25T08:33:41Z")

</div>

That’s strange. Does the symlink `/etc/systemd/system/multi-user.target.wants/mender-connect.service` exist on the device? Where does it point?

After you’ve checked that, does it work if you run:

```bash
systemctl enable mender-connect
systemctl start mender-connect

```

That is of course only a temporary fix, since mender-convert should do that for you.

---

<div class="post-metadata">

**Author:** ![raj.panchal](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@raj.panchal](https://hub.mender.io/u/raj.panchal)\
**Post date:** [August 25, 2021, 2:38pm UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/11 "2021-08-25T14:38:39Z")

</div>

Thanks Amlie:

That’s what I thought, mender-convert should do that.

ls -ltra /etc/systemd/system/multi-user.target.wants/mender-connect.service  
ls: cannot access ‘/etc/systemd/system/multi-user.target.wants/mender-connect.service’: No such file or directory

sudo systemctl enable mender-connect  
Failed to enable unit: File mender-connect.service: No such file or directory

Raj

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [August 26, 2021, 5:49am UTC](https://hub.mender.io/t/update-existing-2-5-0-system-to-2-6-0/3151/12 "2021-08-26T05:49:24Z")

</div>

At this point I think your best option is to start adding some debug information in the [section that installs mender-connect](https://github.com/mendersoftware/mender-convert/blob/2.5.0/mender-convert-modify#L131-L148). Try adding some `log_info` calls which make sure that this section is reached, and that the expected content is extracted into `work/rootfs`. Maybe something unexpected is happening there.
