リリース情報確認
https://github.com/tootsuite/mastodon/releases
停止&再起動後にmastodon起動しないようにする。
sudo systemctl stop mastodon-*
sudo systemctl disable mastodon-web
sudo systemctl disable mastodon-sidekiq
sudo systemctl disable mastodon-streaming
シャットダウン
sudo shutdown -h now
バックアップする
conohaのイメージバックアップしている。41.84GB、10分ぐらいかかった。
cd live
Mastodon アップデート
git fetch
バージョン決める
git checkout v2.7.0
これは前のアプデでやってた
mastodon@si:~/live$ gem update --system
Latest version already installed. Done.
リリース情報確認
https://github.com/tootsuite/mastodon/releases
停止
sudo systemctl stop mastodon-*
バックアップする
今回はrubyの2.6.0へのアップデート含む
cd .rbenv
mastodon@si:~/.rbenv$ git pull
Already up to date.
mastodon@si:~/.rbenv$ cd plugins/ruby-build/
mastodon@si:~/.rbenv/plugins/ruby-build$ git pull
もどる
mastodon@si:~/.rbenv/plugins/ruby-build$ cd ../../
rbenv install -l
すると、2.6.0が増えている
rbenv install 2.6.0
結構長いけど我慢
オブジェクトストレージになったからお掃除はしない
リリース情報確認
https://github.com/tootsuite/mastodon/releases
停止
sudo systemctl stop mastodon-*
gitでもってくる
git fetch
バージョン決める
git checkout v2.6.5
バンドルを投入
bundle install
Fetching json-ld-preloaded 2.2.3
Installing json-ld-preloaded 2.2.3
やらなくていいでしょうけど
yarn install
DBもassetsもやらんでいいらしい
ついでに
sudo apt upgrade
する。
再起動
senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.