X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=CHANGELOG.md;h=7011d44dcd27256184a8c21cc0b868e9041e2255;hb=7590f7a8684c69c38d30dab68377720da16d2420;hp=0d692f298abbd2d16891ddcfbccd5f2e8222a1b9;hpb=10fbf3e3b57668cb628d08558275c58304aef45a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d692f298..7011d44dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -155,7 +155,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-5.0.js` * Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-5.0.js` * Configuration changes (`config/production.yaml`): - * There is a new `secrets.peertube` configuration. You must fill it before running PeerTube v5: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/config/production.yaml.example#L14 + * There is a new `secrets.peertube` configuration: + * Classic install: fill it before running PeerTube v5: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/config/production.yaml.example#L14 + * Docker install: fill it using an env variable before running the containers: https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env#L27 * `object_storage.upload_acl` is now a parent key that you must update: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/config/production.yaml.example#L153 * You must update your nginx configuration: * We introduced a new `location` for plugin websocket routes: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/support/nginx/peertube#L135 @@ -448,7 +450,7 @@ * **Important** SQL migrations (in particular `0685-multiple-actor-images`) can take several minutes to complete * **Important** You must update your nginx configuration to support video web editor: https://docs.joinpeertube.org/install/any-os#nginx * REST API: - * `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 + * `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 ### Maintenance @@ -2923,8 +2925,8 @@ This version is a pre release because it contains many important changes, and re **Important:** Before upgrading run the following commands (no need to stop PeerTube) on your PeerTube database (in this example it's *peertube_prod*): ``` -$ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS unaccent;' -$ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;' +sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS unaccent;' +sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;' ``` You will need [PostgreSQL Contrib](https://www.postgresql.org/docs/9.6/static/contrib.html).