User Tools

Site Tools


mastodon_upgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mastodon_upgrade [2023/10/07 17:14] handlemastodon_upgrade [2023/10/07 17:59] (current) – [Deploy the new version] handle
Line 22: Line 22:
 ====== Deploy the new version ====== ====== Deploy the new version ======
  
 +SSH to the server (arkology.sunbeam.city).
  
 +Then run:
 +
 +  cd /var/services/mastodon
 +  sudo -u services git pull
 +  sudo docker-compose pull && \
 +    sudo docker-compose down && \
 +    sudo docker-compose up -d
 +  sudo docker-compose run --rm -e SKIP_POST_DEPLOYMENT_MIGRATIONS=true web bundle exec rails db:migrate
mastodon_upgrade.1696698842.txt.gz · Last modified: 2023/10/07 17:14 by handle