Nextcloud YNH testing branch

I see how to switch to the yunohost nextcloud testing branch at GitHub - YunoHost-Apps/nextcloud_ynh: Nextcloud package for YunoHost

sudo yunohost app install GitHub - YunoHost-Apps/nextcloud_ynh at testing --debug
or
sudo yunohost app upgrade nextcloud -u GitHub - YunoHost-Apps/nextcloud_ynh at testing --debug

Question: what is the command to revert to the main (production) branch?

Merci.

Upgrade to the master branch.

Be aware that if you downgrade a major Nextcloud version (and maybe a minor one) it might not be compatible with the previous one.

1 Like

With the terminal commands in my post above….if I do not change them, won’t I always be on the testing branch? I seek a terminal command to put me back on main branch, wether a minor (point) upgrade or a major upgrade (28 to 29)
Merci

You will automatically be prompted to upgrade to the master branch whenever its version will be higher that the one you run.

Basically YunoHost always checks the version of the master/main branch. It does not hold any concept of the actual branch name an app has been installed or upgraded from.

1 Like

So the next time the testing branch is ahead of the stable branch, I will not be updated unless I manually run the occ command via terminal, correct?

The app won’t be upgraded unless you run this command with the URL of the testing branch. :wink:

yunohost app upgrade command, not the occ one, which is an internal tool for Nextcloud