I think I made an error with related to the pnpm dependency when preparing to upgrade from v7.0.1 to v8.1.3. First I got this error:
creating: peertube-v8.1.3/support/openapi/python/
inflating: peertube-v8.1.3/support/openapi/python/def.yaml
inflating: peertube-v8.1.3/support/openapi/python/README.mustache
creating: peertube-v8.1.3/support/sysctl.d/
inflating: peertube-v8.1.3/support/sysctl.d/30-peertube-tcp.conf
creating: peertube-v8.1.3/support/conf.d/
inflating: peertube-v8.1.3/support/conf.d/peertube
creating: peertube-v8.1.3/support/systemd/
inflating: peertube-v8.1.3/support/systemd/peertube.service
creating: peertube-v8.1.3/pnpm-patches/
inflating: peertube-v8.1.3/pnpm-patches/@types__markdown-it.patch
inflating: peertube-v8.1.3/pnpm-patches/webfinger.js.patch
inflating: peertube-v8.1.3/pnpm-patches/tinykeys.patch
inflating: peertube-v8.1.3/pnpm-patches/video.js.patch
inflating: peertube-v8.1.3/pnpm-lock.yaml
inflating: peertube-v8.1.3/pnpm-workspace.yaml
../dist/scripts/upgrade.sh: 82: yarn: Permission denied
Then I tried reinstalling yarn and pnpm and reran the upgrade:
inflating: peertube-v8.1.3/package.json
inflating: peertube-v8.1.3/scripts/upgrade.sh
inflating: peertube-v8.1.3/support/doc/plugins/guide.md
inflating: peertube-v8.1.3/support/doc/translation.md
inflating: peertube-v8.1.3/support/doc/development/localization.md
inflating: peertube-v8.1.3/support/doc/development/ci.md
inflating: peertube-v8.1.3/support/doc/development/lib.md
inflating: peertube-v8.1.3/support/doc/development/tests.md
inflating: peertube-v8.1.3/support/doc/development/monitoring.md
inflating: peertube-v8.1.3/support/doc/development/release.md
inflating: peertube-v8.1.3/support/doc/development/server.md
inflating: peertube-v8.1.3/support/doc/tools.md
inflating: peertube-v8.1.3/support/doc/api/quickstart.md
inflating: peertube-v8.1.3/support/doc/api/embeds.md
inflating: peertube-v8.1.3/support/doc/api/openapi.yaml
inflating: peertube-v8.1.3/support/doc/production.md
inflating: peertube-v8.1.3/support/doc/dependencies.md
inflating: peertube-v8.1.3/support/doc/docker.md
inflating: peertube-v8.1.3/support/freebsd/peertube
inflating: peertube-v8.1.3/support/init.d/peertube
inflating: peertube-v8.1.3/support/nginx/peertube
inflating: peertube-v8.1.3/support/openapi/kotlin/def.yaml
inflating: peertube-v8.1.3/support/openapi/kotlin/README.mustache
inflating: peertube-v8.1.3/support/openapi/go/def.yaml
inflating: peertube-v8.1.3/support/openapi/go/README.mustache
inflating: peertube-v8.1.3/support/openapi/python/def.yaml
inflating: peertube-v8.1.3/support/openapi/python/README.mustache
inflating: peertube-v8.1.3/support/sysctl.d/30-peertube-tcp.conf
inflating: peertube-v8.1.3/support/conf.d/peertube
inflating: peertube-v8.1.3/support/systemd/peertube.service
inflating: peertube-v8.1.3/pnpm-patches/@types__markdown-it.patch
inflating: peertube-v8.1.3/pnpm-patches/webfinger.js.patch
inflating: peertube-v8.1.3/pnpm-patches/tinykeys.patch
inflating: peertube-v8.1.3/pnpm-patches/video.js.patch
inflating: peertube-v8.1.3/pnpm-lock.yaml
inflating: peertube-v8.1.3/pnpm-workspace.yaml
This project is configured to use pnpm because /var/www/peertube/versions/peertube-v8.1.3/package.json has a "packageManager" field