Enrollment in 3.1 now available!
For those intrepid users on edge releases who would like to help test 3.1 early, here’s a simple trick to begin running experimental 3.1 code:
cd /usr/local/apnscp
cpcmd config:set apnscp.update-policy edge
git fetch origin
git checkout --track -b master-31 origin/master-31
# Run 3.0-to-3.1, which is a separate set of mandatory 3.1 migrations
cd resources/playbooks
ansible-playbook 3.0-to-3.1.yml
# Run Bootstrapper to update platform configuration
upcp -b
To confirm you’re on 3.1, use git branch
:
cd /usr/local/apnscp
git branch
# reports "* master-31" indicating it's on 3.1 branch
cpcmd -o yaml misc:cp-version
# reports
# revision: <LONG COMMIT STRING>
# timestamp: 1562687637
# ver_maj: 3
# ver_min: 0
# ver_patch: 39
# ver_pre: 50-g<SHORT COMMIT>
# dirty: false
Nightly updates will pull from the active branch, master-31 in this case. To switch back to apnscp 3.0 at any time just run git checkout master
,
cd /usr/local/apnscp
git checkout master
# Reset platform to 3.0
upcp -b
apnscp update policy must be in edge . To put apnscp in edge mode, run cpcmd config_set apnscp.update-policy edge
. Failure to do so will revert to the last official 3.0 release.
haproxy + NextCloud coming soon to a 3.1 branch near you!