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 [2024/10/26 15:00] handlemastodon_upgrade [2025/11/07 23:16] (current) handle
Line 9: Line 9:
 ====== Build a new version ====== ====== Build a new version ======
  
-**As of October 2024, these instructions seem to lead to a festival of annoying merge conflicts. See below for alternative.**+**New_instructions_final_FINAL_Nov2025.docx** 
 + 
 +//Theme still broken 😭// 
 + 
 +  export NEW_VERSION=4.5  # change to actual new version, beware wacky branch naming scheme?? 
 +  git fetch upstream --tags 
 +  git checkout sunbeam-changes 
 +  git rebase stable-$NEW_VERSION 
 +  # fix some probably annoying merge conflicts 
 +  git push -f 
 + 
 +<del>**As of October 2024, these instructions seem to lead to a festival of annoying merge conflicts. See below for alternative.**</del>
  
   export NEW_VERSION=4.2.0  # change to actual new version   export NEW_VERSION=4.2.0  # change to actual new version
Line 20: Line 31:
   git push   git push
  
-Instead:+<del>Instead (not yet tested 🤡):</del>
  
   export NEW_VERSION=4.2.0  # change to actual new version   export NEW_VERSION=4.2.0  # change to actual new version
Line 43: Line 54:
   cd /var/services/mastodon   cd /var/services/mastodon
   sudo -u services git pull   sudo -u services git pull
-  sudo docker-compose pull && \ +  sudo -s 
-    sudo docker-compose down && \ +  export COMPOSE_FILE="compose.yml:compose.sunbeam.yml" 
-    sudo docker-compose up -d +  docker-compose pull && \ 
-  sudo docker-compose run --rm -e SKIP_POST_DEPLOYMENT_MIGRATIONS=true web bundle exec rails db:migrate+    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.1729954845.txt.gz · Last modified: 2024/10/26 15:00 by handle