Browse documentation
Upgrading
Upgrade DevStackBox in place without losing your data.
On this page
Upgrade DevStackBox
DevStackBox upgrades preserve user data in %LOCALAPPDATA%\devstackbox\. Your configs, logs, and MySQL data live there - not in the install directory. Web projects stay under C:\devstackbox\www by default.
From v0.1.11, the installer ships MySQL 8.4 LTS. There is no automatic MySQL 8.0→8.4 conversion tool. Back up databases before updating; if MySQL will not start after an update, export SQL from a backup or start with a fresh mysql-data folder (see Troubleshooting).
Check for updates in the app
DevStackBox can check GitHub Releases for a newer version:
- Open Settings → Updates.
- Turn on Auto-check updates (stored in
localStorageasdevstackbox.settings.autoCheckUpdates). - When enabled, the app checks on launch (after a short delay) and every 6 hours.
- Use Check for updates on the About page for a manual check.
When an update is available, the header shows an indicator. Use Download and install (or Restart & update after download completes) on the About page - the app downloads the signed NSIS installer, verifies it, runs it with UAC, and relaunches. When you are already on the latest release, a manual check shows an “up to date” message.
In-app auto-update (recommended)
As of v0.1.8+, this is the normal upgrade path when Auto-check updates is enabled (default on):
- Open DevStackBox - a check runs shortly after launch, then every 6 hours while the app is open.
- When a newer version is available, confirm the update dialog and allow UAC when prompted.
- After install, the app relaunches; your data under
%LOCALAPPDATA%\DevStackBox\is preserved.
Back up projects and export databases before updating. The v0.1.12 installer stops processes owned by the selected installation and checks replaceable binaries for locks before copying. If a file stays locked, setup aborts; close the reported process and retry.
Manual upgrade (fallback)
If auto-update fails or you prefer a browser download, install a newer release over the existing install:
- Stop services - stop Apache and MySQL from the dashboard or tray menu.
- Back up first - use Settings → Backup & Restore to create a full backup, or back up both your install folder’s
wwwand%LOCALAPPDATA%\DevStackBox\. Connected projects outsidewwwkeep their files in their original folders; back up those folders separately because full backups do not include their contents. - Download the latest Windows installer from devstackbox.com/download or GitHub Releases.
- Run the installer - accept the UAC prompt. Choose the same install directory as before (default:
C:\devstackbox). - Launch DevStackBox - start services and confirm your sites and databases are intact.
Your user data layout:
%LOCALAPPDATA%\DevStackBox\
config\ Apache, MySQL, PHP configs
config-backups\ timestamped backups
logs\ service logs
mysql-data\ MySQL database files
backups\ app-created backupsBinaries under the install directory (Apache, PHP, MySQL, phpMyAdmin) are replaced by the installer; the user data folder is not.
What is coming next
Signed download-and-install via the Tauri updater is shipped today. Version 0.1.12 adds automatic service shutdown and lock checks before manual upgrades. Final clean-machine and cross-account qualification remains part of release testing. See Installer & updates and Release process.
If something goes wrong
- Services fail after upgrade → Troubleshooting
- Port conflicts → Configuration and Environment
- Restore from backup → Settings → Backup & Restore
Related
- Installation - first-time setup
- Installer reference - NSIS/MSI and update architecture
- Feature status - what is shipped vs planned