Upgrade to specific version (4.1.1 to 4.2)

Hi, I have a 4.1.1 instance (non docker) and I would like to upgrade to the latest version (4.3) do I need to switch to version 4.2 first? if yes, how do i specify the version in the upgrade.sh script?

Hi, you can upgrade to 4.3 from 4.1.

Hi, I actually tried to do a direct update but it failed with this error:

  inflating: peertube-v4.3.0/yarn.lock  
yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "jpeg-js@0.4.4" is incompatible with requested version "jpeg-js@0.4.2"
[3/5] Fetching packages...
error @uploadx/core@6.0.0: The engine "node" is incompatible with this module. Expected version ">=14.18.20". Got "14.18.3"
error Found incompatible module.

Also I read that for 4.2 it is necessary to perform some steps in « important notes »

You need to read and execute important notes of every versions between yours and the targeted version.

Regarding your issue you need to upgrade your nodejs binary.

Thank you so much! Up and running with 4.3. I also upgrade Redis.