Skip to content

Instantly share code, notes, and snippets.

@aphyr
Created January 2, 2023 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aphyr/97dff4e4e7e10a9f048ae63cec5415ec to your computer and use it in GitHub Desktop.
Save aphyr/97dff4e4e7e10a9f048ae63cec5415ec to your computer and use it in GitHub Desktop.
## Clean new node
[x] Shut down Mastodon
[x] Shut down ES
[x] Shut down Redis
[x] Delete ES data
[x] Delete Redis data
[x] Delete Postgres data
## Prep new node
[x] Start Redis
[x] Set up fresh Mastodon instance
[x] Shut down Mastodon
[x] Shut down Redis
## Downtime begins
[x] Shut down masto.host instance
[x] Download archive
[x] Flip DNS
[x] Extract archive
[x] Begin media sync
[x] Upload pg_dump.custom to new node
[x] Load pg_dump.custom
[x] Update .env.production with secrets and domains
[x] Start Redis
[x] Start ES
[x] Start Mastodon
[x] Flip nginx to point to woof.group
[x] Generate nginx cert
[x] Reload nginx
## Partially Available
[x] Check metrics
[x] Confirm publicly usable
[x] Fetch avatars
[x] Clear media cache
[x] Rebuild feeds
[x] Rebuild search
## Stabilize
[x] Watch metrics, watch posts, address problems as they arise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment