From d1b297c5a6a23a06bf97bb954104ddfd7f736568 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Tue, 18 Jan 2022 10:47:52 +0100 Subject: [PATCH] chore: publish 2.0.0+v4.0.0-bullseye release --- release/2.0.0+v4.0.0-bullseye | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 release/2.0.0+v4.0.0-bullseye diff --git a/release/2.0.0+v4.0.0-bullseye b/release/2.0.0+v4.0.0-bullseye new file mode 100644 index 0000000..1b29149 --- /dev/null +++ b/release/2.0.0+v4.0.0-bullseye @@ -0,0 +1,27 @@ +This major release went fairly smoothly, there are 2 post-migration steps which +are listed on the release notes: + + https://github.com/Chocobozzz/PeerTube/releases/tag/v4.0.0 + +However, you need to do the second part first, adding additional config options +and/or changing the old ones. When you try to run the data migration, it'll +error out telling you which one you need to deal with, so that will help to guide. + +Here's what I did: + +abra app run tv.lumbung.space app bash +apt update && apt install vim +vi /config/production.yml # change options + +Then, in another shell: + +abra app run --user peertube tv.lumbung.space app bash + +export NODE_CONFIG_DIR=/config +export NODE_ENV=production +export PEERTUBE_DB_PASSWORD=$(cat /run/secrets/db_password) +node dist/scripts/migrations/peertube-4.0.js + +After, this I ran a restart of the app service, and things went fine. + +abra app restart tv.lumbung.space app