mergy thanks for your patience.
I was finally able to upgrade a working 4.3 install to 4.4.3 on CentOS 7 with the following steps:
First (after backing up your instance!), log into a fresh shell session and install Redis 6 in your home directory with the following commands:
mkdir -p ~/opt/redis/src
cd ~/opt/redis/src
wget https://github.com/redis/redis/archive/refs/tags/6.2.19.tar.gz
tar zxf 6.2.19.tar.gz
cd redis-6.2.19
source scl_source enable devtoolset-11 ruby32 nodejs20
make
find $PWD/src -type f -executable -name "redis*" | xargs -I _ ln -s _ $HOME/bin/
cd ~/apps/self_social
sed -i -e 's/rh-redis5//' start setenv
Next, update your instance to 4.4.0 with the following commands:
cd ~/apps/self_social
source setenv
cd mastodon
git fetch && git checkout v4.4.0
bundle install
yarn install --immutable
# I noticed warnings in yarn output but everything seems to have worked
RAILS_ENV=production bundle exec rails assets:precompile
SKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate
../stop
gem install bundler -v '~> 2.6'
pkill -f supervisord
../start
RAILS_ENV=production bundle exec rails db:migrate
Finally, log out of your shell, log back in, then update to the latest 4.4.3 with the following commands:
cd ~/apps/self_social
source setenv
cd mastodon
git fetch && git checkout v4.4.3
bundle install
RAILS_ENV=production bundle exec rails assets:precompile
../restart
Thanks again for being so patient with this! Please let us know if you run into any further problems.