Information: Minecraft Server: I started working on my old Minecraft server called Terona. Join our discord if you want :D Join

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.

Gobiadactyl PanelChecked

On this page

Administrators update the panel from the admin area under Updates. No terminal is needed.

  1. Click Check for updates. The panel asks the update source for the latest release.
  2. 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.
  3. Click Update to followed by the version, for example Update to 2.0.1.
  4. Follow Update progress and the Update log. When it finishes, click Reload the Panel.

Past runs are listed under History.

From the command line#

bash
cd /var/www/pterodactyl
sudo -u www-data php artisan gobia-core:update:check --preflight
sudo -u www-data php artisan gobia-core:update:run

The 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:

text
GOBIA_UPDATE_REPOSITORY=darkzmaj/gobiadactyl-panel

No 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=directory and GOBIA_UPDATE_DIRECTORY to a folder. For each release, create a subfolder named after the version and put release.json and gobia-panel-<version>.tar.gz from the release page in it, for example /opt/gobia-releases/2.0.1/. An optional notes.md in 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 sodium PHP extension, for the signature check.
  • mariadb-dump or mysqldump, and the matching client.
  • A queue worker supervised by systemd with Restart=always, so queue:restart brings 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.

CheckPasses when
Gobia versionThe release is newer than the installed version, and the installed version is a release version
Pterodactyl base, extensionsThe bundled Gobia extensions are valid for the release
Extension API, front-end SDK, back-end APIEvery enabled third-party extension supports the new panel, SDK and PHP version
PHP versionThis server's PHP matches what the release states
Node runtimeOnly when a release needs Node.js on the server; 2.0.0 does not
Database version, connectivityThe database server is supported, and the dump and restore clients are installed
RedisOnly when Redis is used: it answers
Pending migrationsNo migrations of the installed version are waiting
Disk spaceEnough free space for the download, the unpacked release and the backup
PermissionsThe updater can write where it needs to
Panel healthNo other update is running, the panel is not in maintenance mode, the cache keeps values and storage is writable
Release signature, checksumSigned by the trusted Gobia key; the SHA-256 is covered by the signature
Upgrade pathA 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#

Diagram of the update steps in order: check, download, backup, maintenance, install, migrate, extensions, cache, restart, health and finish, then Reload the Panel. A failure up to maintenance changes nothing, a failure at install restores the previous files, and a later failure also restores the database dump

Illustration generated with AI and checked by Maj Kovačič.

StepWhat happensIf it fails
checkThe release is looked up again, its signature verified and the whole preflight repeatedNothing has changed
download, verify, extractThe package is fetched, its size and SHA-256 compared with the signed manifest, then unpackedNothing has changed
backupA dump of the panel database, verified completeNothing has changed; the update stops
maintenancephp artisan downThe panel is brought back up
installThe new code goes livePrevious files are restored
migratephp artisan migrate --force in the new codePrevious files and the database dump are restored
extensionsThe Gobia theme is applied and every enabled extension is migrated and published againSame
cacheview:clear, view:cacheSame
restartqueue:restart, and through the optional helper the worker service, companion services and PHP-FPMSame
healthVersion, database, pending migrations, storage, front-end manifest, Gobia extensions, queue, and an HTTP request for the sign-in pageSame
finishphp 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 with opcache.validate_timestamps=0, install the helper so the updater also reloads PHP-FPM.
  • Release directories (optional, hardened): one directory per release and a current symlink, switched by a root-owned helper script, deploy/linux/gobia-update-helper. The helper only accepts the verbs check, activate <version> and restart-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:

bash
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:

bash
php artisan gobia-core:update:recover --force-up

A 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.

Your likes

Only what this browser did. Your data on this device