Upgrade Fluxo
The dashboard's release notice links to release notes; it does not install the panel. PHP and Node.js updates have separate dashboard workflows.
Before upgrading
- Review the release notes.
- Confirm recent off-server application and Fluxo-data backups exist.
- Keep root SSH or provider-console access available.
- Record the current version with
fluxo --version. - Finish active runtime maintenance and let running jobs complete.
Older installations that have not entered the base must first follow Upgrade an older installation. Existing bases, including base-test installations, update directly.
Run the installer
curl -fsSL https://fluxo.fabiotech.dev/install.sh | sudo bashThis selects the latest stable release. The installer verifies checksums and signed provenance, snapshots the current installation, applies the upgrade and checks the running version and dashboard health.
If that version is already installed and healthy, the normal run checks Scheduler compatibility without repeating component setup. Use --reinstall for explicit component/configuration changes even when already current:
curl -fsSL https://fluxo.fabiotech.dev/install.sh | sudo bash -s -- --reinstallTo select a specific release or repair an interrupted one, use its matching tagged installer and FLUXO_VERSION. An unpinned --reinstall resolves latest and may change versions.
What is preserved
- Site IDs, application types, database credentials, keys, history and custom-vhost settings.
- Saved optional-component choices in
/var/lib/fluxo-installer/preferences.json. Explicit flags override them; skipped runtimes are not removed. See installer flags. - Installed PHP packages and CLI selection. Apply patches separately in Runtime > PHP.
- Existing UFW rules/enabled state and dashboard transport/port. SSH hardening changes only when requested or maintaining an existing Fluxo policy.
- The configured panel hostname. A previously healthy proxy must pass the post-upgrade check; an already-unhealthy proxy is reported while direct dashboard health remains the recovery requirement.
Existing Node.js toolchains
Panel updates verify and preserve the managed Node toolchain, including an approved runtime version. --node and --reinstall do not request a different major or automatic toolchain repair. Older installations may need a one-time network authentication of existing files; verified repeats reuse local proof. Missing/changed files require Runtime > Node.js > Repair toolchain rather than silent replacement.
When Node is selected, the installer retains an independent toolchain snapshot and checks previously active Fluxo-managed Node applications. Failed activation restores compatible prior files and verifies the restored applications. PM2, Forever and other external managers are outside this rollback; review their applications independently.
If recovery is pending
Paused Node.js recovery
For supported paused Node recovery, the installer can stage a compatible recovery worker and Scheduler dispatcher while keeping the dashboard running. Open Runtime > Node.js > Review repair, review and approve it there. The installer waits up to 15 minutes for successful recovery and cleared holds; it never approves a runtime change automatically.
If repair fails or needs longer, finish it and rerun the same tagged installer. Stop an earlier waiting installer before starting another. Active workers, unsupported history and pending PHP recovery can still refuse an upgrade.
Busy or interrupted installation
Let reported Scheduler jobs or package work finish, then retry the same release with its original options. Do not force-stop work or delete database files, locks, journals, helpers or snapshots to clear the refusal.
An interrupted operation may require its original exact release, even if a newer release is available. Follow its printed recovery instructions first. A stopped or unhealthy panel is not an up-to-date success. For Scheduler or certificate-renewal errors, inspect the reported task and use the runtime recovery guidance or CLI reference.
Verify the upgrade
fluxo --version
sudo systemctl status fluxo --no-pager
curl -k https://127.0.0.1:9595/api/v1/healthUse your configured port and HTTP scheme if different. If a panel domain is configured, verify its origin route too, replacing the example hostname:
curl --resolve panel.example.com:443:127.0.0.1 \
https://panel.example.com/api/v1/healthA healthy API returns {"status":"ok"}. Refresh the dashboard and sign in again if the release invalidated sessions. Check important hosted application routes and jobs separately.
Rollback and backups
The installer retains the three most recent installation snapshots under /var/lib/fluxo/upgrades/. A failed upgrade attempts automatic restoration only when the previous binary remains compatible, then checks the restored service. An incomplete rollback leaves explicit recovery guidance rather than starting against partial state.
Snapshots do not replace off-server backups. Database migrations move forward; installing an older binary may be refused or incompatible with saved runtime/Scheduler state. Review release notes and retain a provider snapshot before a deliberate downgrade.
