-
Go to
/var/ds/peertube.example.org
, editsettings.sh
, and set:PT_VERSION="v7.1.1"
-
Rebuild the container with:
ds make
-
Run these commands inside the container:
ds shell cd /var/www/peertube/peertube-latest/dist/scripts/ sudo -H -u peertube ./upgrade.sh sudo -u peertube yarn cache clean systemctl restart peertube
Note: It seems like these steps can be easily automated with a command like ds upgrade
, but no, sometimes extra steps may need to be executed, as explained in this page.
For the case of upgrade to v7.1.1
from the previous ones, we luckily didn’t have to modify the peertube configuration, nginx configuration, etc.