π Updating your Pterodactyl VPS
Hello π
In this guide, you will learn how to update your Pterodactyl VPS easily and securely.
This will allow you to take advantage of the latest features, bug fixes, and security updates.
1. π Back up before updatingβ
Before any update, it is essential to protect your data to avoid any loss in case of problems.
-
Connect to your VPS via SSH.
-
Back up the Pterodactyl panel database:
mysqldump -u root -p panel > panel_backup.sql -
Also back up the panel files:
tar -czvf /root/pterodactyl_backup.tar.gz /var/www/pterodactyl
These backups will allow you to quickly restore your panel if the update fails.
2. βοΈ Update the Pterodactyl panelβ
-
Access the panel folder:
cd /var/www/pterodactyl -
Download and install the latest version:
php artisan down
curl -L https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz | tar -xzv
composer install --no-dev --optimize-autoloader
php artisan view:clear && php artisan config:clear
php artisan migrate --seed --force
php artisan up
3. π Update Wings (the nodes)β
-
Download the latest version of Wings:
cd /usr/local/bin
curl -L -o wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64
chmod +x wings -
Restart Wings:
systemctl restart wings
4. β Checks after updatingβ
- Log in to the panel's web interface to check that everything is working correctly.
- Also check the Wings logs in real time:
journalctl -u wings -f
Take a look at the logs immediately after the update to quickly detect any errors.
π Best practicesβ
π€ LordHosting serviceβ
Do you use a LordHosting Pterodactyl VPS?
π Order your Pterodactyl VPS from LordHosting now
With LordHosting, you get:
- A turnkey installation
- A secure infrastructure
- Responsive support available to help you
The LordHosting team π