Maintenance & Updates
The routine jobs: staying current, reclaiming disk, keeping a copy of your configuration, and leaving cleanly if you ever need to.
Updating Easy DevOps
Updates are lifted over the installation, not over your data. The database and certificates live in a persistent user directory outside the npm package, so an update never asks you to reconfigure anything.
ezz update
# checks npm for a newer release, installs it,
# then restarts the background service- Settings → Update in the dashboard runs the same flow. The HTTP request only records the run and starts a detached worker; that worker stops the dashboard, installs the new version (rolling back if the new one will not start), starts the dashboard again on the same port, and writes every phase to
update-status.jsonin the data directory. The page reads it back and shows the result, including the last lines oflogs/update.log. - Phases are
starting,stopping,updating,restarting, thendoneorfailed. A worker that disappears leaves the run asinterrupted(no heartbeat for 45 seconds), never as still running. - The CLI menu's Check for Updates and
ezz updaterun the same check and install. - Node itself is updated separately with
ezz runtime update— see the pinned runtime. - An interrupted update is recoverable with
ezz service repair; data is never part of the transaction.
The Hub cannot run an update: the update stops and replaces the process that would have reported back. That is the one operation that stays out of the Hub.
Reclaiming disk space
ezz cleanup audits, then removes only what you pick. It covers the files that accumulate quietly:
- Runtime backups left by Node upgrades
- Old service logs
- Stale lock files
- nginx
.bakconfig files
ezz cleanup # list what can be reclaimed; delete nothing
ezz cleanup --days 30 # treat logs older than 30 days as reclaimable
ezz cleanup --yes # in scripts, after reviewing the listThe default log age is 14 days. Running the audit alone is always safe — nothing is removed until you confirm a selection.
Backup and restore
The dashboard can export your configuration as a single JSON file and restore it later:
- Download backup — settings and domains. Both the dashboard password and its hash are deliberately excluded.
- Restore — accepts the same file and rewrites the configuration from it. The password, listen address and auth mode are kept from the current installation rather than restored, so an old backup cannot re-open the listener or bring back a removed password.
- Certificates are files on disk, not database rows; back up
sslDirseparately if you need them. uninstall --purgeexports a backup before it removes anything.
For a complete copy of the installation state, also copy the SQLite database described in Configuration.
Issuing a setup code
First-run setup has to be reachable before a password exists, so a one-time code proves that whoever is setting the password can read the server's own terminal or service log.
ezz dashboard setup-code
# prints a six-digit code to this terminal and the service log
# nowhere else: never in an API response, event or Hub message- The code expires after 24 hours.
- Failed attempts are rate-limited per address, and a global cap of 20 invalidates the code entirely. Only the machine itself can issue another.
- Only a hash is stored, in the same scrypt form as the dashboard password.
- Need a new one after the cap? Run the command above on the server.
Uninstalling
ezz uninstall alone changes nothing — it explains what a purge would remove. Add --purge to proceed:
ezz uninstall --purge
# removes: the service definition, the pinned Node runtime,
# the data directory (after exporting a backup)
# keeps: nginx, your sites and their configs, every certificateIn Windows Server mode, ezz service uninstall shows each operation and limits it to five minutes. Keep data leaves the database and Server-mode marker in place. Move data copies and verifies user files, leaves runtime and wrapper folders out of the copy, and keeps a backup. A copy, verification, activation, or deadline failure restores the live source before the database is reopened. If Windows blocks a rollback, the error names both paths. If a stage reaches its limit, the command names that stage and returns an error.
--yes answers the confirmations for scripted use; uninstall --purge still prints what it is about to do before doing it.
Diagnostics
OS, architecture, Node, npm and nginx versions, detected in one pass and printed without entering the menu.
Recent daemon output and errors. The place to look first when monitors or notifications stop.
Isolated .dev-data directory. Development never touches an installed configuration.
Every command, action and example, generated from the installed version.
When an update or repair did not finish, or the service keeps restarting, Troubleshooting covers the logs, the clean-stop versus crash signals and the recovery commands.