Can I Upgrade from 4.1.1 directly to 6.0.1?

Hello,

I currently have a PeerTube instance running smoothly at https://wiwi.video, version 4.1.1. I’m considering upgrading to version 6.0.1. Is it possible to directly upgrade to 6.0.1, or do I need to go through version 5.x.x first? Should I read all the changelogs from 4.1.1 to 6.0.1? Also, my server operates on Ubuntu 20.04 LTS. Are there any potential issues with the operating system version that I should be aware of?

Additionally, I’m a bit apprehensive about messing up during the upgrade process. I wonder if anyone on the forum or among the developers offers upgrade services? If so, I’d appreciate it if you could contact me at wiwikuan@fastmail.com to discuss your services and pricing.

Thank you!

Skipping versions in upgrades may work, but is recommended to do upgrades by step (4.1 → 4.2 → 4.3 instead of 4.1 → 4.3).

I also need to upgrade a quite outdated version (4.3.1) but did not found how to specify which intermediate version I should upgrade to step by step.

There is not explanation regarding intermediate upgrades in Production guide | PeerTube documentation

I’ve successfuly upgraded Ubuntu to noble (24.04), now looking to upgrade peertube itself…

(just checked my « versions » directory… the first one was… 1.0.0-beta.3 !)

Hi @cquest,

You can’t specify the version in the upgrade script but you should be able to easily update it to specify the version you want: PeerTube/server/scripts/upgrade.sh at develop · Chocobozzz/PeerTube · GitHub

I suggest to upgrade to 5.0.x, 6.0.x and then 7.0.x. Please follow the important notes of every version when you upgrade: PeerTube/CHANGELOG.md at develop · Chocobozzz/PeerTube · GitHub

1 « J'aime »

Thank for the suggestion.

I did it that way, by modifying the upgrade.sh script.

Everything went ok except for the video uploads… I think my nginx setup is broken (my nginx proxy is on another machine).

Thankfully, I have snapshots of my container at each version upgrade.

What is your error?