cd ~/live
git fetch
git checkout v3.0.0rc1

cd ~/.rbenv
git pull
cd ~/.rbenv/plugins/ruby-build
git pull
rbenv install --list
rbenv install 2.6.4
gem update

Follow

cd ~/live
bundle install
yarn install
SKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate
RAILS_ENV=production bundle exec rails assets:precompile
RAILS_ENV=production bin/tootctl cache clear
RAILS_ENV=production bundle exec rails db:migrate

# For ElasticSearch
=production bin/tootctl search deploy

sudo systemctl restart mastodon-*

Sign in to participate in the conversation
Geotodon τ

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!