Skip to content

Update Mastodon from v2.6.1 to v2.6.2

kedama edited this page Nov 25, 2018 · 1 revision

goal

  • apply v2.6.2
  • update ubuntu packages

apply v2.6.2

run as mastodon runner account.

# cd ~/live
# git fetch
# git checkout foresdon-v2.6.2
# RAILS_ENV=production bundle exec rails assets:precompile

update ubuntu packages

run as root.

# apt update
# apt upgrade

stop mastodon services and reboot system

run as root.

# systemctl stop mastodon-web
# systemctl stop mastodon-streaming
# systemctl stop mastodon-sidekiq
# systemctl reboot

start mastodon

run as root.

# systemctl start mastodon-sidekiq
# systemctl start mastodon-streaming
# systemctl start mastodon-web

Observe the access_log of nginx for a while

# tail -f /var/log/nginx/access_log | grep -v ' [123][0-9][0-9] '