The script used to upgrade previous version to the next version was soooo easy
$ cd /var/www/peertube/peertube-latest/scripts && sudo -H -u peertube ./upgrade.sh
$ sudo systemctl restart peertube # Or use your OS command to restart PeerTube if you don't use systemd
the above was soo easy. will there be a upgrade script written to upgrade from 4.2.2 to 5, I’ve had issues doing so now.
Keith
This script still works.
But there are some configuration changes to report, and a migration script to run. Please read the v5.0.0 changelog.
You can get the diff in configuration with following commands (as it is mentionned in the upgrade documentation):
cd /var/www/peertube/versions/ && diff -u "$(ls --sort=t | head -2 | tail -1)/config/production.yaml.example" "$(ls --sort=t | head -1)/config/production.yaml.example"
cd /var/www/peertube/versions/ && diff -u "$(ls --sort=t | head -2 | tail -1)/support/systemd/peertube.service" "$(ls --sort=t | head -1)/support/systemd/peertube.service"
cd /var/www/peertube/versions/ && diff -u "$(ls --sort=t | head -2 | tail -1)/support/nginx/peertube" "$(ls --sort=t | head -1)/support/nginx/peertube"