diff options
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | support/doc/production.md | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f3724a3bf..ca27aa3a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -4,10 +4,11 @@ | |||
4 | 4 | ||
5 | ### IMPORTANT NOTES | 5 | ### IMPORTANT NOTES |
6 | 6 | ||
7 | * **Important** SQL migrations (in particular `0685-multiple-actor-images`) can take several minutes to complete | ||
8 | * **Important** You need to execute manually a migration script (can be executed after your upgrade, while your PeerTube instance is running) to generate smaller avatar miniatures: | 7 | * **Important** You need to execute manually a migration script (can be executed after your upgrade, while your PeerTube instance is running) to generate smaller avatar miniatures: |
9 | * 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.2.js` | 8 | * 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.2.js` |
10 | * Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-4.2.js` | 9 | * Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-4.2.js` |
10 | * **Important** SQL migrations (in particular `0685-multiple-actor-images`) can take several minutes to complete | ||
11 | * **Important** You must update your nginx configuration to support video web editor: https://docs.joinpeertube.org/install-any-os?id=nginx | ||
11 | * REST API: | 12 | * REST API: |
12 | * `PUT /api/v1/videos/{id}/watching` is deprecated, use `POST /api/v1/videos/videos/{id}/views` instead: https://docs.joinpeertube.org/api-rest-reference.html#operation/addView | 13 | * `PUT /api/v1/videos/{id}/watching` is deprecated, use `POST /api/v1/videos/videos/{id}/views` instead: https://docs.joinpeertube.org/api-rest-reference.html#operation/addView |
13 | 14 | ||
diff --git a/support/doc/production.md b/support/doc/production.md index 3c75b6cab..6d7744b1f 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -328,7 +328,7 @@ Copy new configuration defaults values and update your configuration file: | |||
328 | 328 | ||
329 | ```bash | 329 | ```bash |
330 | $ sudo -u peertube cp /var/www/peertube/versions/peertube-${VERSION}/config/default.yaml /var/www/peertube/config/default.yaml | 330 | $ sudo -u peertube cp /var/www/peertube/versions/peertube-${VERSION}/config/default.yaml /var/www/peertube/config/default.yaml |
331 | $ diff /var/www/peertube/versions/peertube-${VERSION}/config/production.yaml.example /var/www/peertube/config/production.yaml | 331 | $ diff -u /var/www/peertube/versions/peertube-${VERSION}/config/production.yaml.example /var/www/peertube/config/production.yaml |
332 | ``` | 332 | ``` |
333 | 333 | ||
334 | Change the link to point to the latest version: | 334 | Change the link to point to the latest version: |
@@ -345,7 +345,7 @@ Check changes in nginx configuration: | |||
345 | 345 | ||
346 | ```bash | 346 | ```bash |
347 | $ cd /var/www/peertube/versions | 347 | $ cd /var/www/peertube/versions |
348 | $ diff "$(ls --sort=t | head -2 | tail -1)/support/nginx/peertube" "$(ls --sort=t | head -1)/support/nginx/peertube" | 348 | $ diff -u "$(ls --sort=t | head -2 | tail -1)/support/nginx/peertube" "$(ls --sort=t | head -1)/support/nginx/peertube" |
349 | ``` | 349 | ``` |
350 | 350 | ||
351 | ### systemd | 351 | ### systemd |
@@ -354,7 +354,7 @@ Check changes in systemd configuration: | |||
354 | 354 | ||
355 | ```bash | 355 | ```bash |
356 | $ cd /var/www/peertube/versions | 356 | $ cd /var/www/peertube/versions |
357 | $ diff "$(ls --sort=t | head -2 | tail -1)/support/systemd/peertube.service" "$(ls --sort=t | head -1)/support/systemd/peertube.service" | 357 | $ diff -u "$(ls --sort=t | head -2 | tail -1)/support/systemd/peertube.service" "$(ls --sort=t | head -1)/support/systemd/peertube.service" |
358 | ``` | 358 | ``` |
359 | 359 | ||
360 | ### Restart PeerTube | 360 | ### Restart PeerTube |