7x Exponential Network Per-install tools
← Exponential Network

Per-installation tools: git_manager, ezupdate and exp:upgrade

// updated · xne 0.3.0.10

xne upgrades every installation of a server. Each installation is even more powerful by itself: git_manager, ezupdate and the kernel’s exp:upgrade and exp:migration, in the admin and on the command line.

xne is the server-wide upgrade manager: it plans, backs up, upgrades and rolls back every installation on a server. Each installation is even more powerful by itself: git_manager runs its git checkout and backups, ezupdate its Composer packages and package servers, both in the admin and on the command line, and from Exponential 6.0.15 the kernel’s own exp:upgrade and exp:migration commands upgrade it stage by stage.

Server-wide and per installation

One server

xne server-wide: plan, verified backup, upgrade and rollback of every installation, one after the other

runs each installation’s own upgrade stages

  • www.example.com

    • git_manager git and backups
    • ezupdate packages
    • exp:upgrade stages (6.0.15)

    admin and CLI

  • shop.example.com

    • git_manager git and backups
    • ezupdate packages
    • exp:upgrade stages (6.0.15)

    admin and CLI

  • intranet

    • git_manager git and backups
    • ezupdate packages
    • exp:upgrade stages (6.0.15)

    admin and CLI

xne works across the installations of a server. Every installation also has its own tools, in the admin and on the command line, and uses them with or without xne.
ToolWorks onAdminCommand lineWhat it is for
xne 0.3.0.10every installation of a serverplanned (Setup > Network)xne, and exp:network:* inside an installationPlan, verified backup, upgrade and automatic rollback, installation after installation
git_manager 2.0.29one installationGit tab, Setup > Backupextension/git_manager/bin/php/*.phpThe git checkout (branches, commits, remotes, submodules, log) and the site’s backups
ezupdate 1.1.29one installationSetup > Updates and packagesextension/ezupdate/bin/php/ezupdate.phpComposer packages, extensions and package servers: check, dry run, update, install
exp:upgrade (kernel 6.0.15)one installationSetup > Upgrade checkphp bin/php/console exp:upgrade*The kernel’s upgrade, stage by stage, with captions and rollback
exp:migration (kernel 6.0.15)one installation, or many remotesSetup > Migrationsphp bin/php/console exp:migration:*Changes to an installation kept as files: run, roll back, record, deploy

git_manager: the git checkout and the backups

git_manager 2.0.29 puts the installation’s git checkout and its backups into the administration, for sites where git is on the server but nobody has (or should need) a shell. Everything it does is also on the command line. Free software under the GPL, version 2 or later: GitHub, Packagist.

In the admin

  • Git tab (/git_manager/dashboard): HEAD, the checked out branch and its last commit.
  • Upstream: the branch against its branch on a remote, the commits missing on either side, uncommitted files, and Fetch now; every fetch is recorded in the audit log.
  • Checkout of a local or remote branch (how a site is deployed by switching a branch), or of one commit by its hash, to go back to a known good state.
  • Remotes: list, add, change, remove, fetch, and push a branch, never forced. Submodules: list, add, change, update, remove.
  • Log: the whole history page by page, filtered by branch or tag, author, message and dates; every filtered view is a link you can share, and every commit has its details page.
  • Setup > Backup: full site, database and files, database only or files only; optional GPG encryption, a sanitized dump for public sharing, age indicators, streamed downloads of any size, removal of old backups. Dumps for MySQL and MariaDB, PostgreSQL, SQLite and MongoDB.
  • Policies per function: git_manager, push, remotes, submodules, backup.

On the command line

# database, var/ and site files
php extension/git_manager/bin/php/backup-create.php fullsite -d "Before upgrade"
# database only (or: full, var)
php extension/git_manager/bin/php/backup-create.php db -d "Nightly"
php extension/git_manager/bin/php/backup-list.php -v
php extension/git_manager/bin/php/backup-info.php 2026-06-21_20-20-49
php extension/git_manager/bin/php/remote.php fetch deploy
# never forced
php extension/git_manager/bin/php/remote.php push deploy production
php extension/git_manager/bin/php/submodule.php update

git_manager does not pull, merge or rebase, and never forces a push. Install it in an installation:

composer require se7enxweb/git_manager
# settings/override/site.ini.append.php: [ExtensionSettings] ActiveExtensions[]=git_manager
php bin/php/ezpgenerateautoloads.php -e
php bin/php/ezcache.php --clear-all

ezupdate: Composer, extensions and package servers

ezupdate 1.1.29 (eZ Update) is the package manager of an Exponential installation, in the admin and on the command line, with the same settings and the same lists on both: runs started on one show up on the other. GPL, version 2 or later: GitHub, Packagist.

In the admin: Setup > Updates and packages

  • Overview: where Composer is and which PHP runs it, a check for updates that changes nothing, an update dry run, a guarded update, the recent runs.
  • Installed packages: every Composer package and extension folder, with the composer.json constraint, the locked and the installed version, the git branch and commit of a working copy and where the extension is switched on. Mismatches are named; filter, sort, share a view by its address, download as JSON or CSV.
  • Find packages: search packagist.org or every server in composer.json, read a package’s versions, requirements and license, and install it; from release archives (dist) or as git clones (source).
  • Package servers: the Composer repositories of composer.json and the .ezpkg package servers the setup wizard reads.
  • Live runs: updates and installs run in the background, one at a time, with Composer’s output followed as it is written; a dry run can be run for real.
  • Funding: who the installed packages ask to be funded by.
  • Safe by default: updating and installing stay off until an administrator switches them on; every run offers a dry run and asks to confirm a backup. Policies update/ezupdate (look, check, dry run) and update/manage.

On the command line

php extension/ezupdate/bin/php/ezupdate.php status
# only what needs attention
php extension/ezupdate/bin/php/ezupdate.php installed --issues
php extension/ezupdate/bin/php/ezupdate.php outdated
php extension/ezupdate/bin/php/ezupdate.php search newsletter --composer
php extension/ezupdate/bin/php/ezupdate.php require se7enxweb/eztags --dry-run
php extension/ezupdate/bin/php/ezupdate.php update --dry-run
php extension/ezupdate/bin/php/ezupdate.php jobs
php extension/ezupdate/bin/php/ezupdate.php fund --json

Also show, servers, server-add, server-remove, packagist on|off, packages and fetch (an .ezpkg into the local package repository). installed --json suits a nightly mail or a CI check.

composer require se7enxweb/ezupdate
# settings/override/site.ini.append.php: [ExtensionSettings] ActiveExtensions[]=ezupdate
# then open the admin: Setup > Updates and packages

exp:upgrade: the kernel upgrades itself (Exponential 6.0.15)

On the main branch of Exponential today, in the 6.0.15 release planned for Q4 2026. Every command is a dry run unless --apply.

CommandWhat it does
exp:upgradeEvery stage in order, in one call
exp:upgrade:codeStage 1: the git checkouts moved to the target release, fast-forward only, through git_manager, with git_manager’s backup first
exp:upgrade:librariesStage 2: Composer install from composer.lock, with a security audit
exp:upgrade:databaseStage 3: the schema and data steps, on every engine
exp:upgrade:scriptsStage 4: the PHP upgrade steps, policies and repairs
exp:upgrade:finishStage 5: deploy the change and check that the site answers
exp:upgrade:status, exp:upgrade:stepsEvery step with its state (done, pending, not needed, failed); the registered steps
exp:upgrade:verifyRe-detect every step; with --after the full check after an upgrade
exp:upgrade:backup, exp:upgrade:captionsThe backup before writing; the safe points to roll back to (git_manager’s backups and its own), checked and pruned
exp:upgrade:rollbackDatabase, storage, settings, libraries and code back to a caption
php bin/php/console exp:upgrade:status
# the plan of every stage, nothing changed
php bin/php/console exp:upgrade
php bin/php/console exp:upgrade --apply
php bin/php/console exp:upgrade:captions --verify
# dry run; --apply to roll back
php bin/php/console exp:upgrade:rollback

In the admin, Setup > Upgrade check (also in 6.0.14) compares the installation’s files with the release’s share/filelist.md5 and its database with the release’s schema. xne runs these same kernel stages when it upgrades an installation, with its own verified backup around them.

exp:migration: changes kept as files (Exponential 6.0.15)

  • exp:migration:status, exp:migration:dry-run (with --simulate, a run in a transaction that is rolled back), exp:migration:migrate (captions before and after, restore on failure), exp:migration:resume and exp:migration:rollback.
  • exp:migration:record:start … :stop: record an editor’s or the whole site’s changes, then exp:migration:generate --from-recording writes them as a migration.
  • exp:migration:deploy to one or many remotes at once, preflight and verify on all; exp:migration:remote:status reads their state in parallel.
  • exp:migration:check lints migration files for CI; exp:migration:convert converts YAML migrations of the Symfony based platform.
  • In the admin, Setup > Migrations: the state, the runs and their logs, a dry run, run, resume and roll back.

How they work together

  • One installation, by hand: look at Setup > Updates and packages and Setup > Upgrade check, make a backup in Setup > Backup, deploy a branch from the Git tab, or run exp:upgrade stage by stage.
  • Many installations on a server: xne plan and xne upgrade go through all of them, one after the other; inside each one, xne runs the kernel’s own stages and rolls back by itself on any failure.
  • Inside an installation, the same engine as xne: exp:network:check, exp:network:plan, exp:network:upgrade and exp:network:rollback.

Read more

The docs of a brand live at doc.<the brand’s domain>: doc.se7enx.com for 7x, doc.exponential.earth for Exponential.

Checked against the code of git_manager 2.0.29, ezupdate 1.1.29 and Exponential (the 6.0.14 tag and the main branch) on November 27, 2026.