よっしゃー、起動しました!
作業終了。サービスを起動します。
sudo systemctl start mastodon-sidekiq
sudo systemctl start mastodon-web
sudo systemctl start mastodon-streaming
データベースのマイグレーションとアセットのプリコンパイル。
プリコンパイルは一番メモリを食う作業――とはいえ2GBで大丈夫。1GBだと作業の大部分がスワップに入ってしまいます。
RAILS_ENV=production bundle exec rails db:migrate
RAILS_ENV=production bundle exec rails assets:clobber
RAILS_ENV=production bundle exec rails assets:precompile
アップデート前のバックアップをとり忘れていたのでとる。
pg_dump --username=mastodon --no-owner mastodon_production > backup-20230809.dump
Oh no. I downloaded @MonaApp* . The customization settings are out. of. control. I LOVE it!
Goodbye Productivity! I didn’t really know you that well anyway. 👋
*Yes, I did purchase a $12 birdsite app, so I could get into the Mona beta. I have an App Problem.
#mastodonapp #mastodonbeta #appbeta #monaapp