Running mastodon was pretty mellow for the first year, the last few weeks notsomuch.
Getting to 4.2.5 on Opalstack here (key for me since I had old/hacked stuff)
https://community.opalstack.com/d/1361-howto-upgrade-mastodon-to-v425-running-on-ruby-32
Thanks @sean !!!
Then getting to 4.2.7 (and hopefully beyond that for a little while until something crazy changes with node and ruby needs)
cd ~/apps/<appname>
source setenv
cd mastodon
git checkout -- .
git fetch && git checkout v4.2.7
bundle config set jobs 4
bundle install
yarn install --frozen-lockfile
bundle exec rails assets:precompile
then I do this
pkill -f supervisor
before
../restart