Skip to main content

Updating Panel To Latest Version (v1.11.7)

This guide will inform you how to update your panel to the latest version of Pterodactyl. The current version is v1.11.7. You can return to this guide to run the same commands again when the panel is updated.

Panel Update Procedure

Do not continue if you have custom addons, themes or other features installed on the panel. This will remove them and return the panel to the default state. This is your warning, and if not adhered to, there's no return unless you have a backup of your panel.

Login to your VPS/Dedicated server where your panel is hosted. We first will make a backup just in case we mess up anything. Run the commands below to make a full backup of the current live panel.

cd /var/www
tar -zcvf panel-before-upgrade.tgz pterodactyl

We will now begin the update. Navigate to your panel's web directory, which is /var/www/pterodactyl.

cd /var/www/pterodactyl

Run the command below to begin the update.

php artisan p:upgrade

The first question that is asked whether to download the latest archived version from Pterodactyl's GitHub store. Before typing yes, make sure it goes to the github.com/pterodactyl/panel/...etc link, as shown below.

image-1624966372365.png

The upgrade system will then state that the webserver user & group should be www-data. If it is not picked up the right one, type no and then update it like the below. Do the same for the "Your webserver group..." as well.

image-1624966565384.png

image-1624966622397.png

Finally, it will ask if you would like to being the upgrade process. Type yes.

image-1624966726941.png

The upgrade system will then continue and fill the screen with the process of upgrading of the new panel, set its permissions and other important steps. Once it's half way through, it will pause and ask you if you would like to run the migration the databases with new updated information. Type yes.

image-1624966768731.png

image-1624966960764.png

The panel upgrade is now complete.

Wings Update Procedure 

To upgrade wings, which is the daemon which runs the servers, copy the commands below on all your nodes which are linked to your panel. 

systemctl stop wings
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64
chmod u+x /usr/local/bin/wings
systemctl restart wings

Your wings update is now complete.