Skip to content

Exponential CMS

Upgrading with xne

Plan, back up, upgrade and roll back an Exponential installation in one safe run.

xne, the Exponential Network command, upgrades an installation in one run: it plans, makes a verified backup, upgrades files, libraries and database, checks the site, and rolls everything back by itself if any step fails. It is the safest way to move between releases of Exponential 6.

1. Install xne

composer require se7enxweb/xne
vendor/bin/xne help

Or install it once for the whole server, as described on the xne page.

2. Look at the installation

xne detect --root=/var/www/example.com
xne traps --root=/var/www/example.com

detect shows the version, the install type, PHP, the database and the siteaccesses. traps lists known upgrade traps, each marked info, warn or block, with its fix.

3. Plan

xne plan --root=/var/www/example.com --to=v6.0.15

The plan changes nothing. It exits with 3 when a blocking trap stops the upgrade.

4. Dry run, then upgrade

xne upgrade --root=/var/www/example.com --to=v6.0.15 --dry-run
xne upgrade --root=/var/www/example.com --to=v6.0.15

A successful run prints PASS: upgraded with the backup id. On any failure after the backup it prints FAIL and has already rolled back files and database. Visitors keep being served during the upgrade unless you add --maintenance=page (Exponential 6.0.15 or newer).

5. Roll back if you need to

xne backups --root=/var/www/example.com
xne rollback --root=/var/www/example.com

rollback restores the newest backup, or the one you name.

Note: xne never deletes a file (it moves it into the backup), never overwrites a local edit silently, and never writes your settings/override, settings/siteaccess, var/, config.php or .htaccess.

More: xne commands, Many installations, xne troubleshooting. The kernel's own upgrade command is described in Upgrading with the console.

Last updated 11/26/2026. Something missing or wrong? Write to info@se7enx.com.