Migrating from other panels
A comprehensive guide for migrating to Pyrodactyl from other game panels
This comprehensive guide walks you through migrating to Pyrodactyl, whether you use Docker or run your panel natively.
For Pyrodactyl-specific issues, please use Pyrodactyl GitHub Discussions instead of Pterodactyl or Pelican support channels.
Migrating from Pterodactyl (Docker)
Always make sure you take a backup of your Pterodactyl database and other relevant data.
If you already have Pterodactyl running in Docker, simply update your panel image in your docker-compose.yml file:
Swapping between Pyrodactyl and Pterodactyl is unsupported and can cause data loss. Pyrodactyl makes changes to the database schema, making it unlikely Pterodactyl will function correctly. If you care about the validity of your database, make a backup before swapping back to Pterodactyl.
Migrating from Pterodactyl (Native -> Docker)
Prerequisites
- Linux system with root access
- Docker Engine and Docker Compose installed
- Docker expertise and basic system administration skills
- Consider Portainer for easier Docker management
- Avoid using Snap-based Docker installations on Ubuntu
- Enable Docker auto-start on boot
Pyrodactyl Installation
-
Create a new folder (e.g. pyrodactyl-panel) on your server in a safe location, and switch to it.
-
Download and configure the docker-compose.example.yml
-
Modify placeholder variables under x-common
-
If you are using builtin HTTPS, add port 443 (to the
ports
section under thepanel
container) and set the LE_EMAIL variable (in thepanel
section underx-common
) to a registered Let's Encrypt email address. -
Copy the following environment variables from your Pterodactyl .env to your docker-compose.yml:
The following are only applicable if email is set up:
-
If your database is running on the same machine as your panel, set it to listen on the IP 172.17.0.1, and change the DB_HOST environment variable to 172.17.0.1.
-
Rename docker-compose.example.yml to docker-compose.yml
-
Run the following command to start the panel:
Your panel is now running! You can access it at the same URL as before, and use the same user accounts.
Migrating from Pterodactyl (Native)
The latest NodeJS LTS is required to be installed to migrate without Docker.
Simply follow the manual Pterodactyl updating guide.
However, on the Download the Update step, use these commands instead: