From 9ef3aeac3792e67217faf61117606882ff31ddf6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 27 Sep 2022 10:39:32 +0200 Subject: [PATCH] Update dependencies version supported by peertube --- CHANGELOG.md | 4 ++++ engines.yaml | 5 ----- support/doc/dependencies.md | 13 ++++++++++++- 3 files changed, 16 insertions(+), 6 deletions(-) delete mode 100644 engines.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 64d3c9bdb..64b5443ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## v4.3.0 +### IMPORTANT NOTES + + * Redis **<** 5.x is not supported anymore + ### Maintenance * Use `yt-dlp` by default instead of `youtube-dl` for new installations (because of much more dev activity) diff --git a/engines.yaml b/engines.yaml deleted file mode 100644 index 5a68ca4ba..000000000 --- a/engines.yaml +++ /dev/null @@ -1,5 +0,0 @@ -node: ">=12.x" -yarn: ">=1.x" -postgres: ">=10.x" -redis-server: ">=2.8.18" -ffmpeg: ">=4.1" diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index adce70c97..1973eaae3 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md @@ -2,7 +2,16 @@ :warning: **Warning**: dependencies guide is maintained by the community. Some parts may be outdated! :warning: -Follow the below guides, and check their versions match [required external dependencies versions](https://github.com/Chocobozzz/PeerTube/blob/master/engines.yaml). You can check them automatically via `sudo npx engineslist`. +Follow the below guides, and check their versions match [required external dependencies versions](https://github.com/Chocobozzz/PeerTube/blob/master/engines.yaml). + +Main dependencies version supported by PeerTube: + + * `node` >=14.x + * `yarn` >=1.x + * `postgres` >=10.x + * `redis-server` >=5.x + * `ffmpeg` >=4.1 + _note_: only **LTS** versions of external dependencies are supported. If no LTS version matching the version constraint is available, only **release** versions are supported. @@ -64,6 +73,7 @@ sudo apt update sudo apt install certbot nginx ffmpeg postgresql postgresql-contrib openssl g++ make redis-server git cron wget ffmpeg -version # Should be >= 4.1 g++ -v # Should be >= 5.x +redis-server --version # Should be >= 5.x ``` Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: @@ -263,6 +273,7 @@ This is necessary because `ffmpeg` is not in the Fedora repos. sudo dnf install nginx ffmpeg postgresql-server postgresql-contrib openssl gcc-c++ make redis git vim ffmpeg -version # Should be >= 4.1 g++ -v # Should be >= 5.x +redis-server --version # Should be >= 5.x ``` 8. Configure nginx