# How to update openBalena server

**URL:** <https://forums.balena.io/t/how-to-update-openbalena-server/5867>\
**Category:** openBalena\
**Created:** [April 3, 2019, 3:24pm UTC](https://forums.balena.io/t/how-to-update-openbalena-server/5867 "2019-04-03T15:24:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleph.solutions](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aleph.solutions](https://forums.balena.io/u/aleph.solutions)\
**Post date:** [April 3, 2019, 3:24pm UTC](https://forums.balena.io/t/how-to-update-openbalena-server/5867/1 "2019-04-03T15:24:21Z")

</div>

Hi,  
we are trying openBalena since the release 0.0.7 and we are looking for update our server to the latest version without loosing the devices already subscribed.  
Reading on the forum and the website there is not any documentation on how to do this.  
Someone can give us a hint?

Thank you!  
Alberto

---

<div class="post-metadata">

**Author:** ![richbayliss](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/richbayliss/32/1054_2.png) [@richbayliss](https://forums.balena.io/u/richbayliss)\
**Post date:** [April 3, 2019, 4:07pm UTC](https://forums.balena.io/t/how-to-update-openbalena-server/5867/4 "2019-04-03T16:07:52Z")

</div>

@aleph.solutions the best way to do this would be as follows; in the directory where you originally cloned the openBalena repo…

- `git pull` the latest master branch of openBalena (v1.0.1)
- `./script/compose pull` to pull down the latest service images
- `./script/compose up -d` to recreate the containers using the latest service images
  - your data is held in volumes, so should be fine.

This would be my normal steps to get updated. Of course the usual caveats of making a backup etc, still apply 👌

---

<div class="post-metadata">

**Author:** ![aleph.solutions](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@aleph.solutions](https://forums.balena.io/u/aleph.solutions)\
**Post date:** [April 4, 2019, 10:34am UTC](https://forums.balena.io/t/how-to-update-openbalena-server/5867/5 "2019-04-04T10:34:16Z")

</div>

Thank you @richbayliss!

---

<div class="post-metadata">

**Author:** ![pschmo](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@pschmo](https://forums.balena.io/u/pschmo)\
**Post date:** [September 17, 2024, 11:34am UTC](https://forums.balena.io/t/how-to-update-openbalena-server/5867/6 "2024-09-17T11:34:07Z")

</div>

Hy,

are these steps also valid to update to the latest openBalena server?

We installed the server nearly 1,5 years ago…

With best regards

---

<div class="post-metadata">

**Author:** ![pschmo](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@pschmo](https://forums.balena.io/u/pschmo)\
**Post date:** [October 24, 2024, 1:41pm UTC](https://forums.balena.io/t/how-to-update-openbalena-server/5867/7 "2024-10-24T13:41:00Z")

</div>

i found a way.

please look into this topic:

> [@openBalena 2024](https://forums.balena.io/t/openbalena-2024/370459/8):
>
> i found a solution and was able to upgrade our open-balena server from 3.8.2 direct to the latest 4.1.x version. this was my way. Maybe also yours. open-balena upgrade path from 3.8.2 to latest 4.1.x At first make a SNAPSHOT or at least a backup of your server! Be sure you can restore your backup! Create a server-clone, to be sure, the upgrade path is working at your system. This is the path, which is working on our environment. After the upgrade use the docker log --follow \<container\> fun…
