mastodon_upgrade
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| mastodon_upgrade [2023/10/07 16:25] โ created handle | mastodon_upgrade [2026/02/14 19:09] (current) โ handle | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ====== Build a new version ====== | ====== Build a new version ====== | ||
| + | |||
| + | export NEW_VERSION=4.5.6 | ||
| + | git fetch upstream --tags | ||
| + | git checkout sunbeam-changes | ||
| + | git rebase $NEW_VERSION | ||
| + | # fix some probably annoying merge conflicts | ||
| + | git push -f | ||
| + | |||
| + | Then check [[https:// | ||
| ====== Deploy the new version ====== | ====== Deploy the new version ====== | ||
| + | SSH to the server (arkology.sunbeam.city). | ||
| + | |||
| + | Then run: | ||
| + | cd / | ||
| + | sudo -u services git pull | ||
| + | sudo -s | ||
| + | docker-compose pull && \ | ||
| + | docker-compose down && \ | ||
| + | docker-compose up -d | ||
| + | docker-compose run --rm -e SKIP_POST_DEPLOYMENT_MIGRATIONS=true web bundle exec rails db:migrate | ||
mastodon_upgrade.1696695944.txt.gz ยท Last modified: 2023/10/07 16:25 by handle
