An update went wrong
An update replaces the panel program and restarts the panel only. VPN interfaces and client sessions stay up unless you run aftab down.
Before you start
Section titled “Before you start”Prefer a backup from just before the update (Backups). SSH access to the server.
What the panel keeps
Section titled “What the panel keeps”The database, secrets key, configs and daily backups stay on disk. The installer keeps a previous program for 7 days for rollback. Signed latest.json and checksums decide what may install; a halted version is refused.
- Read the failure: Settings → Updates, or
sudo aftab log. - If the new version runs but misbehaves:
sudo aftab rollback(within 7 days). Confirm withsudo aftab version. - If install refused a halt: wait for a newer release, or install a specific good tag only when you trust it — halted builds are blocked on purpose.
- Staged rollout: not every panel gets a new version on day one; your turn depends on the panel’s own key and the published rollout window. Waiting or checking again later is normal.
- After a good rollback or fix, make a backup.
How to check it worked
Section titled “How to check it worked”sudo aftab version shows the expected version. Clients still browse. Overview loads.
If it does not
Section titled “If it does not”Locked out if the UI will not open. Restore a backup only if the database was damaged (Backups). Updates for mirrors and channels.
What is not changed
Section titled “What is not changed”Rollback does not restore an older database. Client quotas and reseller credit are untouched by the program replace alone.