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
@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
1 Like
pschmo
September 17, 2024, 11:34am
6
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
1 Like
pschmo
October 24, 2024, 1:41pm
7
i found a way.
please look into this topic:
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…