Skip to main content
Keep your self-hosted DeployStack instance secure and up-to-date with the latest features, bug fixes, and security patches.

General Guidelines

Always backup your data before starting the upgrade process. This ensures you can restore your instance if anything goes wrong during the upgrade.

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

This downloads the latest versions of both frontend and backend 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

  1. Edit your docker-compose.yml:
  1. Apply the changes:

Method 2: Use Environment Variables

  1. Add version to your .env file:
  1. 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

When upgrading across multiple major versions (e.g., from v0.8.x to v1.2.x), upgrade sequentially through each major version to ensure proper data migration.

Sequential Upgrade Process

  1. Identify your current version:
  1. Plan your upgrade path:
    • v0.8.x → v0.9.x → v1.0.x → v1.1.x → v1.2.x
  2. 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:
Make it executable and run:

Monitoring Upgrades

Health Checks

After upgrading, verify system health:

Performance Monitoring

Monitor resource usage after upgrades:

Getting Help

If you encounter issues during upgrades:
  1. Check Release Notes: Review the specific version’s release notes for known issues
  2. Search Issues: Look for similar problems in GitHub Issues
  3. Community Support: Ask for help in our Discord
  4. 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.