Updates
Check for and apply Supascale updates.
Keep Supascale up to date with the latest features and security patches.
Check for Updates
Via Web UI
- Go to Settings
- Look for update notification in header
- Or check Settings > Updates
Via API
curl https://supascale.example.com/api/v1/system/updates \ -H "X-API-Key: your-api-key"
Response (update available):
{
"currentVersion": "1.0.0",
"latestVersion": "1.1.0",
"updateAvailable": true,
"releaseDate": "2026-01-15T00:00:00Z",
"releaseNotes": "## What's New\n- Feature X\n- Bug fix Y",
"downloadSize": 52428800
}
Response (up to date):
{
"currentVersion": "1.1.0",
"latestVersion": "1.1.0",
"updateAvailable": false
}
Force Update Check
Bypass cache and check now:
curl -X POST https://supascale.example.com/api/v1/system/updates \ -H "X-API-Key: your-api-key"
Or with query parameter:
curl "https://supascale.example.com/api/v1/system/updates?force=true" \ -H "X-API-Key: your-api-key"
Download Update
Download update package before applying:
curl -X POST https://supascale.example.com/api/v1/system/updates/download \ -H "X-API-Key: your-api-key"
Response:
{
"success": true,
"version": "1.1.0",
"downloadPath": "/tmp/supascale-update-1.1.0.tar.gz",
"checksum": "sha256:abc123..."
}
Apply Update
Apply downloaded update:
Via Web UI
- Go to Settings > Updates
- Click Apply Update
- Wait for restart
Via API
curl -X POST https://supascale.example.com/api/v1/system/updates/apply \ -H "X-API-Key: your-api-key" \ -H "Accept: text/event-stream"
Returns Server-Sent Events with progress:
event: progress
data: {"step": "downloading", "progress": 50}
event: progress
data: {"step": "extracting", "progress": 75}
event: progress
data: {"step": "applying", "progress": 90}
event: complete
data: {"success": true, "version": "1.1.0"}
Update Process
What Happens
- Download - Fetch update package
- Verify - Check checksum integrity
- Extract - Unpack update files
- Backup - Backup current installation
- Apply - Replace application files
- Restart - Restart Supascale
Downtime
- Typical update: 1-2 minutes
- Application restarts automatically
- Projects continue running
Update Requirements
License
Updates require:
- Valid license
- Active update subscription
- Update token configured
Check License Status
curl https://supascale.example.com/api/v1/license/status \ -H "X-API-Key: your-api-key"
Response:
{
"valid": true,
"updatesExpireAt": "2027-01-19T00:00:00Z",
"updatesActive": true
}
Rollback
If an update causes issues:
Manual Rollback
- Stop Supascale:
pm2 stop supascale-web - Restore backup: Located in installation directory
- Restart:
pm2 start supascale-web
Backup Location
Updates create backups at:
/opt/supascale-web/backups/pre-update-1.0.0/
Version History
Check Current Version
curl https://supascale.example.com/api/version
Returns: 1.0.0
Changelog
View release notes at each version's release page or in the update notification.
Auto-Updates
Currently, Supascale requires manual update confirmation. Auto-updates are planned for a future release.
Notification
When updates are available:
- Dashboard shows notification
- Settings page shows update badge
- API returns
updateAvailable: true
Troubleshooting
"Updates expired"
- Check license expiration date
- Renew your update subscription
- Verify update token is configured
"Download failed"
- Check internet connectivity
- Verify server can reach update server
- Check disk space
- Try again later
"Update failed"
- Check error message
- Review Supascale logs
- Verify file permissions
- Try manual update
Manual Update
If automatic update fails:
# Download release manually curl -O https://releases.supascale.com/supascale-1.1.0.tar.gz # Stop Supascale pm2 stop supascale-web # Backup current version cp -r /opt/supascale-web /opt/supascale-web.backup # Extract update tar -xzf supascale-1.1.0.tar.gz -C /opt/supascale-web # Restart pm2 start supascale-web
Best Practices
- Test in staging - Apply updates to staging first
- Backup before updates - Have rollback ready
- Check release notes - Understand what's changing
- Schedule updates - During low-traffic periods
- Monitor after update - Watch for issues