Trying to run the 8.3.0 upgrade script

Good day.

I am new to posting here and have only been running Peertube for about 3 months. Most of what I have encountered has been fairly straightforward.

I am running Peertube 8.3.0 on Docker (using Dockhand and Docker Compose) behind a reverse proxy. I upgraded to the latest 8.3.0 image yesterday and I am trying to run the upgrade script after the « Migrations finished. New migration version schema: 1125 » message detailed in the release notes here: Changelog | PeerTube documentation

I am trying to run the script based on the instructions below:

  • Docker installation: cd /var/www/peertube-docker && docker compose exec -u peertube peertube node dist/scripts/migrations/peertube-8.3.js

I am using docker compose, but the /var/www/peertube-docker directory doesn’t exist on my local host. I can, however find the peertube-8.3.js file in /app/dist/scripts/migrations/peertube-8.3.js on my docker container. I am assuming that I need to replace the « /var/www » and the « node dist/scripts » with paths that are appropriate for my installation. Question: how can I find what I need to run the upgrade script?

root@bigstorage:/usr/local# sudo docker compose ls | grep peertube
peertube            restarting(1), running(3)   /app/data/stacks/Production/peertube/docker-compose.yml
peertuberunnergpu   running(1)                  /app/data/stacks/Production/peertuberunnergpu/docker-compose.yml

Thanks in advance.

Since you have PeerTube installed in /app/data/stacks/Production/peertube, the command should be:

cd /app/data/stacks/Production/peertube && docker compose exec -u peertube peertube node dist/scripts/migrations/peertube-8.3.js