General Guidelines
Backup Your Data
Before upgrading, create a complete backup of your DeployStack data:Restore from Backup
If you need to restore from a backup:Standard Upgrade Process
For most upgrades, follow this simple process:1
Stop DeployStack Services
2
Pull Latest Images
3
Start Updated Services
4
Verify Upgrade
Check that services are running properly:
Upgrading to Specific Versions
To upgrade to a specific version instead of the latest:Method 1: Update Docker Compose File
- Edit your
docker-compose.yml:
- Apply the changes:
Method 2: Use Environment Variables
- Add version to your
.envfile:
- Update docker-compose.yml to use the variable:
Version-Specific Upgrade Notes
v1.0.0 and Later
Starting from v1.0.0, DeployStack follows semantic versioning and includes automatic database migrations.No manual intervention required for standard upgrades. The application handles database migrations automatically on startup.
Pre-v1.0.0 Versions
For versions before v1.0.0, some manual steps may be required. Check the specific release notes for your version.Upgrading Across Multiple Versions
Sequential Upgrade Process
- Identify your current version:
-
Plan your upgrade path:
- v0.8.x → v0.9.x → v1.0.x → v1.1.x → v1.2.x
- Upgrade step by step:
Configuration Updates
Some upgrades may require configuration changes:Environment Variables
Check release notes for new or changed environment variables:Docker Compose Changes
Compare your docker-compose.yml with the latest version:Rollback Procedure
If an upgrade fails or causes issues:1
Stop Current Services
2
Restore Previous Configuration
3
Restore Data (if needed)
4
Start Previous Version
Automated Upgrade Scripts
For regular maintenance, you can create an automated upgrade script:Monitoring Upgrades
Health Checks
After upgrading, verify system health:Performance Monitoring
Monitor resource usage after upgrades:Getting Help
If you encounter issues during upgrades:- Check Release Notes: Review the specific version’s release notes for known issues
- Search Issues: Look for similar problems in GitHub Issues
- Community Support: Ask for help in our Discord
- Create Issue: Report bugs with detailed logs and system information
Best Practices
- Regular Updates: Update monthly or when security patches are released
- Test Environment: Test upgrades in a staging environment first
- Maintenance Windows: Schedule upgrades during low-usage periods
- Documentation: Keep notes of any custom configurations or modifications
- Monitoring: Set up alerts for service failures or performance issues
Stay Updated: Subscribe to our releases to get notified of new versions and security updates.

