Update Gobiadactyl Panel
Update a Gobia 2.x panel from the admin area or the command line, and roll back or recover a failed update.
On this page
Administrators update the panel from the admin area under Updates. No terminal is needed.
- Click Check for updates. The panel asks the update source for the latest release.
- Read This installation, Latest approved Gobia release, the Extensions table and the Preflight list. The line next to the button sums it up: Ready. A database backup is taken first. or This installation is not ready for the update.
- Click Update to followed by the version, for example Update to 2.0.1.
- Follow Update progress and the Update log. When it finishes, click Reload the Panel.
Past runs are listed under History.
From the command line#
cd /var/www/pterodactyl
sudo -u www-data php artisan gobia-core:update:check --preflight
sudo -u www-data php artisan gobia-core:update:runThe first command shows the latest release and runs the preflight without changing anything. The second installs it; add --force to skip the confirmation question.
Where updates come from#
The panel installs signed Gobia release packages only. It never pulls from upstream Pterodactyl, never runs composer or npm on the server, and never accepts a URL, path or command from the browser.
Releases are published in the public repository darkzmaj/gobiadactyl-panel. The default repository name in the 2.0.0 configuration is an older name that GitHub now redirects there. Set the repository explicitly so the updater does not depend on that redirect:
GOBIA_UPDATE_REPOSITORY=darkzmaj/gobiadactyl-panelNo token is needed for a public repository. GOBIA_UPDATE_GITHUB_TOKEN is only for a private one.
For a server without access to GitHub, use a local folder instead:
- A local folder: set
GOBIA_UPDATE_PROVIDER=directoryandGOBIA_UPDATE_DIRECTORYto a folder. For each release, create a subfolder named after the version and putrelease.jsonandgobia-panel-<version>.tar.gzfrom the release page in it, for example/opt/gobia-releases/2.0.1/. An optionalnotes.mdin the same folder is shown as the release notes.
Either way the signature is checked against the same Gobia release key. See Configuration for every updater setting.
Server requirements#
- The
sodiumPHP extension, for the signature check. mariadb-dumpormysqldump, and the matching client.- A queue worker supervised by systemd with
Restart=always, soqueue:restartbrings it back on the new code.
Updater settings, such as the update source, signing key, deployment layout and backup retention, are server configuration in .env. They are listed in docs/gobia-updates.md. No request from the browser can change them.
The preflight checks#
The preflight runs before every update and again when the update starts. Required checks must pass; the others only warn.
| Check | Passes when |
|---|---|
| Gobia version | The release is newer than the installed version, and the installed version is a release version |
| Pterodactyl base, extensions | The bundled Gobia extensions are valid for the release |
| Extension API, front-end SDK, back-end API | Every enabled third-party extension supports the new panel, SDK and PHP version |
| PHP version | This server's PHP matches what the release states |
| Node runtime | Only when a release needs Node.js on the server; 2.0.0 does not |
| Database version, connectivity | The database server is supported, and the dump and restore clients are installed |
| Redis | Only when Redis is used: it answers |
| Pending migrations | No migrations of the installed version are waiting |
| Disk space | Enough free space for the download, the unpacked release and the backup |
| Permissions | The updater can write where it needs to |
| Panel health | No other update is running, the panel is not in maintenance mode, the cache keeps values and storage is writable |
| Release signature, checksum | Signed by the trusted Gobia key; the SHA-256 is covered by the signature |
| Upgrade path | A direct upgrade from the installed version is allowed |
| Wings connectivity (warning only) | Every node answers |
| Queue health (warning only) | The queue is reachable, has a worker and no failed jobs waiting |
When a check fails, its message says what to fix. See Troubleshooting for each message.
What an update does#
Illustration generated with AI and checked by Maj Kovačič.
| Step | What happens | If it fails |
|---|---|---|
| check | The release is looked up again, its signature verified and the whole preflight repeated | Nothing has changed |
| download, verify, extract | The package is fetched, its size and SHA-256 compared with the signed manifest, then unpacked | Nothing has changed |
| backup | A dump of the panel database, verified complete | Nothing has changed; the update stops |
| maintenance | php artisan down | The panel is brought back up |
| install | The new code goes live | Previous files are restored |
| migrate | php artisan migrate --force in the new code | Previous files and the database dump are restored |
| extensions | The Gobia theme is applied and every enabled extension is migrated and published again | Same |
| cache | view:clear, view:cache | Same |
| restart | queue:restart, and through the optional helper the worker service, companion services and PHP-FPM | Same |
| health | Version, database, pending migrations, storage, front-end manifest, Gobia extensions, queue, and an HTTP request for the sign-in page | Same |
| finish | php artisan up, temporary files removed, old backups pruned |
Run records, logs, downloads and backups are kept under storage/updater, outside the database and outside any release.
What an update keeps#
.env,storage/and the database are never part of a release and never replaced.- Extensions and themes that are not part of the release are copied into the new code.
- Enabled extensions stay enabled and disabled ones stay disabled. A Gobia extension that a release introduces is enabled.
- The preflight refuses the update when an enabled third-party extension declares a panel, SDK or PHP requirement that the release does not satisfy.
Deployment layouts#
- In place (standard): nothing to set up. The updater swaps the top-level code directories and keeps backups under
storage/updater, which must be on the same filesystem as the panel. If PHP runs withopcache.validate_timestamps=0, install the helper so the updater also reloads PHP-FPM. - Release directories (optional, hardened): one directory per release and a
currentsymlink, switched by a root-owned helper script,deploy/linux/gobia-update-helper. The helper only accepts the verbscheck,activate <version>andrestart-services.
The setup of the helper and the release-directory layout is described in docs/gobia-updates.md.
Roll back#
Click Roll back on the Updates screen, or run:
php artisan gobia-core:update:rollback- This undoes the last installed update using the backup it left behind.
- When that update ran migrations, the pre-update database is restored and everything saved since the update is lost. The button then reads Roll back and restore the database, the screen explains what will be lost, and you confirm with Restore the database and roll back. The command needs
--restore-database. - Only the newest update can be rolled back, and only while its backup is still kept.
Recover from a failed rollback#
If the rollback itself fails, the panel stays in maintenance mode and the run says so. Fix the cause, then run:
php artisan gobia-core:update:recover --force-upA worker that dies mid-update is detected after three minutes without a heartbeat and recovered the same way, automatically when the Updates screen asks for progress.
Parts of the updater are not covered by a test yet. Run one update on a staging copy of production before relying on it. See Limitations.
Upgrading from 1.x#
A 1.x installation cannot update to 2.x from the admin area. See Upgrade from 1.x.
Source: Gobiadactyl Panel docs/gobia-updates.md, extensions/gobia-core (config/gobia_updater.php, src/Updater and src/client/screens/UpdatesScreen.tsx) at tag gobia-v2.0.0 and release gobia-v2.0.0 notes, checked 2 November 2026.