]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add migration note in changelog
authorChocobozzz <me@florianbigard.com>
Thu, 25 Nov 2021 13:37:38 +0000 (14:37 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 25 Nov 2021 13:37:38 +0000 (14:37 +0100)
CHANGELOG.md

index cf6a13e3921cff1c5d624f56bf47d6aca45cdbab..d8e909cdd336b888f564e80abfc1ea2024e9aee0 100644 (file)
@@ -4,6 +4,9 @@
 
 ### 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**
    * `log.rotation.maxFileSize` becomes `log.rotation.max_file_size`
    * `log.rotation.maxFiles` becomes `log.rotation.max_files`