Skip to content

Updating the panel

ccarney16 edited this page Jan 26, 2021 · 3 revisions

When updating between versions of pterodactyl, It is recommended to review the Upgrade Docs from pterodactyl.

Stop the panel, worker and cron containers and run docker-compose up -d panel

This has been copied from pterodactyl.io and modified for the purposes of this project

Clear Compiled Template Cache
You'll also want to clear the compiled template cache to ensure that new and modified templates show up correctly for users.

docker-compose exec panel php artisan view:clear
docker-compose exec panel php artisan config:clear

Optional: Database Updates
This is now considered an optional step, the panel will now migrate and seed its database before starting up.
You'll also need to update your database schema for the newest version of Pterodactyl. Running the two commands below will update the schema and ensure the default eggs we ship are up to date (and add any new ones we might have). Just remember, never edit core eggs we ship! They will be overwritten by this update process.

docker-compose exec php artisan migrate --force
docker-compose exec php artisan db:seed --force

When you have done what is above, you can now start the worker and cron containers by using docker-compose up -d worker cron.

Clone this wiki locally