Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save momoseijin/8b70a6e59e24abc9b02bc36f238ebcaa to your computer and use it in GitHub Desktop.
Save momoseijin/8b70a6e59e24abc9b02bc36f238ebcaa to your computer and use it in GitHub Desktop.
Upadte from Mastodon v2.9.0 to v2.9.1 + commit aa9b37822
#Mastodon を止める
systemctl stop mastodon-{web,sidekiq,streaming}.service
#Mastodon ユーザになる
sudo su - mastodon
#Mastodon のディレクトリに戻って v2.9.1 + commit aa9b37822 をもってくる
cd ~/live
git fetch
git checkout aa9b37822
#リリースノートにあるいつものような処理をすすめる
bundle install --deployment --without development test
yarn install --pure-lockfile
RAILS_ENV=production bundle exec rails assets:precompile
#root に戻って、Mastodon をリスタートして無事立ち上がれば終了
exit
systemctl restart mastodon-{web,sidekiq,streaming}.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment