Change release branch

Hello community and happy Black Friday/Cyber Monday weekend!

As far as I know, there are two ways to change the release branch:

  1. Via CLI using the command v-change-sys-release
  2. Vie Web UI at Server > Configure > Version & Release

I would like to ask if we need to do something else to complete the process. Like for example an update of some sort.

Also, how exactly does this work? Unfortunately the v-change-sys-release command is not included in the documentation. What exactly happens when we change the release or even at a later date (maybe during the next update)?

Would the change of the branch pose any (immediate or future) risk on the system?

Switching the release branch is for testing only, we do not recomment to use it on any kind of productive systems.

Basicly, v-change-sys-branch does all you need and update your system to master branch.

Currently, this functionality is only for development and testing purposes as @ScIT mentioned. At some point in the future we may expand on this so that a beta or release candidate branch is available through our apt repositories and switching the variable here would allow apt to pull down a build from a different branch, but right now it’s limited to pulling down the latest code from a branch on GitHub.

To clarify on the technical functionality:

v-change-sys-release verifies the existence of the upstream branch from our GitHub repository, and if it exists then sets the value for the RELEASE_BRANCH variable in $HESTIA/conf/hestia.conf.

After the release branch has been changed, running the CLI script v-update-sys-hestia-git without specifying the branch name to pull from will use the configured branch by default.

1 Like

Hello,

I’m gonna have to check back with you. What is the best way to switch from release branch to master?

For production use the use of the master is not suitable.

v-update-sys-hestia-git master will update from release to master but will not rebuild the hestia packages (Nginx, Hestia and PHP)

1 Like

the update was successful. At the top of the bar I see Fm. But when I click on it I see Page Not Found. At APACHE2 STATUS there is still the old version Server Version: Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1g.

Is this normal? :grinning:

Run a apt update & apt dist-upgrade, then check this for fm: https://github.com/hestiacp/hestiacp/pull/820

1 Like

thanks, that works for me.