업데이트 기록
이 문서의 본문은 아직 한국어로 번역되지 않았습니다. 아래에 영어 원문을 제공합니다.
Mastodon 4.6.2 Upgrade
Upgrade date: 2026-06-25 21:03 KST
Previous version: 4.5.11
Target version: 4.6.2
Downtime
Approximately 40-60 minutes
Reason:
- Multiple build failures during the upgrade
- Ruby runtime upgrade
- Database migration troubleshooting
Backup performed: Auto-backup
Update procedure:
- git fetch upstream
- git merge --no-ff v4.6.2
- Resolve merge conflicts
- bundle install
- yarn install
- git push
- docker build -t mustardkim/mastodon-mustard:v4.6.2 .
- docker build -f streaming/Dockerfile -t mustardkim/mastodon-mustard:v4.6.2-streaming .
- docker tag mustardkim/mastodon-mustard:v4.6.2 mustardkim/mastodon-mustard:latest
- docker push mustardkim/mastodon-mustard:v4.6.2
- docker push mustardkim/mastodon-mustard:latest
- docker push mustardkim/mastodon-mustard:v4.6.2-streaming
- cd /opt/mastodon
- sudo nano docker-compose.yml
- Replace 4.5.11 into 4.6.2
- docker compose pull
- docker compose down && docker compose up -d
Incidents
- Yarn checksum mismatch during upgrade
- Ruby runtime version mismatch
- Merge conflicts after upstream merge
- Database migration incomplete after upgrade
Post-upgrade verification
- ✅ Web UI
- ✅ Sidekiq
- ✅ Streaming
- ✅ Federation
- ✅ Media upload
- ✅ Image rendering
- ✅ Backup
- ✅ Timeline loading
Result
Upgrade completed successfully.
- All database migrations applied.
- Containers started successfully.
- Existing local customizations restored.
- Federation working normally.
- No post-upgrade errors observed.
Notes
- Major upgrade from 4.5.x to 4.6.x.
- Theme implementation changed and existing theme became incompatible.
- Ruby runtime upgrade required.
- Verify database migrations before starting production containers.
Lessons learned
- Review runtime and database requirements before major upgrades.
- Minimize local modifications to upstream source files.
- Treat migration and post-deployment verification as mandatory deployment steps.