Administration
System and updates
Doctor checks, panel updates, panel backups, packages and firewall.
๐ ๏ธ The System page
System (admin) looks after the panel host itself. It has four tabs: Maintenance, Panel update, Doctor and Cron & queues.
๐งน Maintenance
A snapshot of the server โ host, operating system, kernel, uptime, pending updates, firewall, and a banner when a reboot is required โ plus these actions, each with live output:
| Group | Actions |
|---|---|
| Packages | Check for updates, Upgrade, Full upgrade. Security updates are marked. |
| Cleanup | Autoremove, Clean apt cache, Vacuum logs (7 days). |
| Firewall (ufw) | Show status, Enable firewall, allow or deny a service (ssh, http, https, ftp, smtp) or a port (8080, 8080/tcp). |
| Power | Reboot now, or a scheduled reboot up to 7 days ahead, which can be cancelled. |
Only this fixed list of commands can run, and every action is written to the audit log.
Permissions
If the panel's service user is not root, these actions need passwordless sudo for a few commands. Add them in /etc/sudoers.d/orchestrator-system (replace deployer with the service user):
deployer ALL=(root) NOPASSWD: /usr/bin/apt-get, /usr/bin/journalctl, /usr/sbin/ufw, /sbin/reboot, /usr/sbin/reboot, /usr/sbin/shutdown
Doctor checks these permissions and prints the exact line to add.
Warning. Before Enable firewall, make sure SSH is allowed โ otherwise you can lock yourself out of the server.
๐ Panel update
Panel update โ Check for updates shows whether a new version is available, the changes it brings, and whether it touches the database schema, scripts or dependencies. Update then:
- builds the new version next to the running one;
- backs up the panel database (the five newest pre-update backups are kept);
- applies database changes (never destructively);
- smoke-tests the new build on a spare port;
- waits for running site jobs (deploys, provisioning, backups) to finish;
- switches to the new build and restarts the panel.
If any step fails, the previous version keeps running. Hosted sites are never touched by an update, and an update does not start while a site is deploying.
How the restart works depends on how the panel runs โ Doctor shows which mode applies:
| The panel runs as | Restart | After the restart |
|---|---|---|
| root | from outside the service | The new version is verified and rolled back automatically if it does not come up. |
| a user with the sudo rule below | sudo systemctl restart |
The new version confirms the update when it starts. |
| a user without sudo | the panel exits and systemd starts the new build | The new version confirms the update when it starts. |
deployer ALL=(root) NOPASSWD: /usr/bin/systemctl --no-block restart orchestrator-api
If the panel ever fails to come back in a non-root mode, restore the previous build by hand (hosted sites are not affected):
cd /opt/orchestrator
for d in apps/api apps/web; do [ -d $d/dist.prev ] && mv $d/dist $d/dist.failed && mv $d/dist.prev $d/dist; done
sudo systemctl reset-failed orchestrator-api && sudo systemctl restart orchestrator-api
An update that was interrupted (power loss, killed process) is repaired automatically by the next update run.
๐ฉบ Doctor
Doctor runs read-only checks and shows, for anything that needs attention, a command to fix it on the server. It never changes anything itself.
| Group | Checks |
|---|---|
| Panel installation | service user, file ownership, panel database and its backups, Git checkout, secrets (JWT_SECRET strength, ENCRYPTION_KEY set), self-restart mode, Node.js version |
| Services | required tools, nginx, MySQL/MariaDB, PHP-FPM, Supervisor, Redis; nginx -t; failed systemd units; deploys stuck for more than an hour |
| Server | disk space, inodes, memory, swap, pending reboot, clock synchronisation, sudo permissions |
| Sites | each site's folder, current link, .env, vhost and enabled state |
| Installed tools | the fleet agent build (Go) |
Run it after installation, after updates and whenever something looks wrong.
๐ Cron & queues
A heartbeat for every site: whether Laravel's scheduler ran in the last 3 minutes and whether its queue workers are running.
๐พ Backing up the panel
The panel's own database holds your sites' settings, users, history, billing and encrypted secrets. A systemd timer (orchestrator-backup.timer) backs it up daily at 03:30 to /opt/orchestrator/backups/panel/ and keeps the 14 newest copies:
panel-20261127-033000.db.gz
To restore one, stop the panel, replace the database file โ the file named in DATABASE_URL, relative to apps/api/prisma/ โ with the unpacked backup and start it again:
sudo systemctl stop orchestrator-api
gunzip -c /opt/orchestrator/backups/panel/panel-20261127-033000.db.gz > /opt/orchestrator/apps/api/prisma/prod.db
sudo systemctl start orchestrator-api
Tip. Copy panel backups off the server too. Keep ENCRYPTION_KEY with them โ a backup is useless for secrets without it.