Upgrading a Mastodon Binary Install
Feb 14, 2024
Notes for upgrading.
Perform work as mastodon user
sudo su - mastodon
Code is in ‘live’ directory
cd live
Update local code to the newest version
git fetch && git checkout v4.2.6
Build and install new version
bundle install
yarn install --frozen-lockfile
Restart all Mastodon processes
sudo systemctl restart mastodon-sidekiq
sudo systemctl reload mastodon-web
sudo systemctl restart mastodon-streaming