Mastodon Server Update auf v4.7.0 su - mastodon cd /home/mastodon/live/ git fetc...

@33dBm@lazysocial.de

Mastodon Server Update auf v4.7.0

su - mastodon
cd /home/mastodon/live/
git fetch && git checkout v4.7.0
RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install

bei Fehler die Ruby Versionsliste neu laden:
git -C ~/.rbenv/plugins/ruby-build pull
RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install

bundle install
yarn install --immutable
RAILS_ENV=production bundle exec rails assets:precompile
SKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate
su - root
systemctl restart mastodon-sidekiq
systemctl reload mastodon-web
exit
su - mastodon
cd /home/mastodon/live/
RAILS_ENV=production bundle exec rails db:migrate
exit

github.com/mastodon/mastodon/r