How to install Peertube V3.1.0 on Ubuntu 18.04

Hello everyone,

I already have opened a topic (more or less 2 weeks ago) concerning some issues after a migration (from Peertube V3 to V6). I received a lot of help, thanks by the way, it was very valuable.

Now, thanks to you, i should know how to perform a clean migration
(by following the changelog scripts).
To perform the migration, i’ll need to install Peertube V3.1.0 on my VM and lauch the upgrade scripts.

The main question which remains unsolved is:

On my Ubuntu Machine (18.04), i used this command to download the wanted version from the Framasoft Repository:
wget https://framagit.org/framasoft/peertube/PeerTube/-/archive/v3.1.0/PeerTube-v3.1.0.zip

I already have unzip the Peertube archive on the right location but i am stuck now at the install step.
It is corresponding to this step on the Peertube V6 install:

sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile

Have you got please any ideas ?
Otherwise, is there any documentation ‹ still available online › which describes the
Peertube V3.1.0 install ?

Thank you, Best regards

Hello,
You can maybe search on the Wayback Machine (https://archive.org/) ? Just enter the URL of the site that you looking for (here the docs page) and show if there is old version for the V3.
If it doesn’t work, post a new message… but I have no other idea

Bests regards

Kirikou

How are you stuck?
Did you set the VERSION bash variable to v3.1.0?

This correspond to this step in the documentation:

VERSION=$(curl -s https://api.github.com/repos/chocobozzz/peertube/releases/latest | grep tag_name | cut -d '"' -f 4) && echo "Latest Peertube version is $VERSION"

This command gets the latest version from the github repo.
In your case, just replace it by:

VERSION=v3.1.0

This set the VERSION var in your current shell, for the remaining of the session.