Upgrade Gobiadactyl Panel from 1.x
Move a Gobia 1.x panel to Gobia 2 in place and import the 1.x data.
On this page
A 1.x installation is upgraded in place. Nothing has to be wiped, and the upgrade itself never deletes 1.x data. Because 2.x releases use a new signing key, this is a manual procedure, not an in-panel update.
Take a database backup and a copy of storage/ first. Rolling back means restoring both.
Procedure#
- Put the 2.0 files in place from the release package and keep
.envandstorage/. Download and check the package as in Install. One way, with the standard layout, that leaves no old 1.x code behind:
cd /var/www/pterodactyl && sudo php artisan down
sudo mv /var/www/pterodactyl /var/www/pterodactyl-1x
sudo mkdir /var/www/pterodactyl
sudo tar -xzf /tmp/gobia-panel-2.0.0.tar.gz -C /var/www/pterodactyl
sudo cp /var/www/pterodactyl-1x/.env /var/www/pterodactyl/.env
sudo rm -rf /var/www/pterodactyl/storage
sudo cp -a /var/www/pterodactyl-1x/storage /var/www/pterodactyl/storage
sudo chown -R www-data:www-data /var/www/pterodactyl
cd /var/www/pterodactylKeep /var/www/pterodactyl-1x until the upgrade is confirmed; it is your way back together with the database backup.
- Run the Pterodactyl 2.0 core migrations on the 1.x database:
sudo -u www-data php artisan migrate --force- Apply the Gobia theme:
sudo -u www-data php artisan p:theme:apply gobia- Enable the extensions, Gobia Core first. Enabling creates their tables. The 2.0.0 package contains four Gobia extensions;
gobia-backupsis optional.
sudo -u www-data php artisan p:extension:enable gobia-core
sudo -u www-data php artisan p:extension:enable gobia-templates
sudo -u www-data php artisan p:extension:enable gobia-files
sudo -u www-data php artisan p:extension:enable gobia-backups- Check what will be copied. This changes nothing:
php artisan gobia-core:import-1x --dry-run
php artisan gobia-templates:import-1x --dry-run-
Run both commands again without
--dry-run. Both are safe to run again: rows that already exist are left alone and only missing ones are added. -
If the report says template directories or files are missing, set
GOBIA_TEMPLATE_STORAGEin.envto the directory the 1.x panel used and rungobia-templates:import-1xagain. The default isstorage/app/private/templates. See Configuration. -
Template API: 1.x gave API keys template permissions. Create an application API key with the Servers permission and turn on API enabled on each template that should accept it. The importer leaves it off and reports how many old keys had template rights.
-
Template SFTP: deploy
services/template-sftpas described in its README, with the same service token as the panel. -
Bring the panel back and restart the background services so they run the new code:
sudo systemctl restart pteroq.service
sudo -u www-data php artisan upCheck that cron still runs schedule:run as in Install, and that Nginx points at /var/www/pterodactyl/public.
Both import commands accept --connection=<name> to read the 1.x tables from another configured database connection, for example a restored dump.
Where 1.x data ends up#
| 1.x data | Where it ends up |
|---|---|
| Users, servers, nodes, eggs, allocations, API keys | Pterodactyl 2.0 core migrations, run unchanged on the 1.x database |
| Avatar, theme, recent icon colours | Gobia Core user profiles |
| Server order, icon colours, categories | Gobia Core server preferences and categories |
| Templates, allowed nodes, variables, files, revisions, instances | Gobia Templates tables |
| Template SFTP credentials and events | Gobia Templates tables, with password hashes unchanged so existing passwords keep working |
| Template file content | Not moved: the same directory is used |
| Branding | Set again under Admin, Extensions, Gobia Core |
The 1.x tables stay in the database untouched. They can be dropped by hand once the upgrade has been confirmed.
What the import skips#
- Rows whose user, server, egg or template no longer exists are skipped and counted under "skipped".
- Avatars whose file is missing are counted as "avatar files missing".
- Colours that are not
#rrggbbare dropped.
Source: Gobiadactyl Panel docs/gobia-upgrade-from-1x.md and docs/gobia-updates.md at tag gobia-v2.0.0, checked 2 November 2026.