Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Mastodon を止める
- systemctl stop mastodon-{web,sidekiq,streaming}.service
- #Mastodon ユーザになる
- sudo su - mastodon
- #Mastodon のディレクトリに戻って v2.9.0 をもってくる
- cd ~/live
- git fetch
- git tag
- git checkout v2.9.0
- #git branchでチェック
- git branch
- #こんな表示になる
- $ git branch
- * (detached from v2.9.0)
- master
- #リリースノートにあるいつものような処理をすすめる
- bundle install --deployment --without development test
- yarn install --pure-lockfile
- RAILS_ENV=production bundle exec rails db:migrate
- RAILS_ENV=production bundle exec rails assets:precompile
- #今回のリリースノートにあるキャッシュのクリアをする
- RAILS_ENV=production bin/tootctl cache clear
- #root に戻って、Mastodon をリスタートして無事立ち上がれば終了
- exit
- systemctl restart mastodon-{web,sidekiq,streaming}.service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement