Add migration note in changelog

This commit is contained in:
Chocobozzz 2021-11-25 14:37:38 +01:00
parent 7226e90fdc
commit 63e4d84f11
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@
### IMPORTANT NOTES ### IMPORTANT NOTES
* **Important** You need to execute manually a migration script (can be executed after your upgrade, while your PeerTube instance is running) to migrate HLS files name:
* Classic installation: `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-4.0.js`
* Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-4.0.js`
* **Important** We fixed configuration inconsistencies and added some keys. **You must change/add them in your production.yaml** * **Important** We fixed configuration inconsistencies and added some keys. **You must change/add them in your production.yaml**
* `log.rotation.maxFileSize` becomes `log.rotation.max_file_size` * `log.rotation.maxFileSize` becomes `log.rotation.max_file_size`
* `log.rotation.maxFiles` becomes `log.rotation.max_files` * `log.rotation.maxFiles` becomes `log.rotation.max_files`