パッケージ更新
apt update
apt upgrade
システム再起動
reboot
misskey更新
cd [MISSKEY_DIR]
git checkout master
git pull
yarn install
fallocate -l 2G /swapfile2
chmod 600 /swapfile2
mkswap /swapfile2
swapon /swapfile2
NODE_OPTIONS=--max_old_space_size=2048 NODE_ENV=production npx yarn build
swapoff /swapfile2
rm /swapfile2
yarn migrate
Let's Encryptの更新
certbot renew
Misskeyの起動
systemctl enable misskey
systemctl start misskey
status確認
systemctl status misskey