Skip to main content

🌐 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​

Backup strongly recommended

Before any update, it is essential to protect your data to avoid any loss in case of problems.

  1. Connect to your VPS via SSH.

  2. Back up the Pterodactyl panel database:

    mysqldump -u root -p panel > panel_backup.sql
  3. Also back up the panel files:

    tar -czvf /root/pterodactyl_backup.tar.gz /var/www/pterodactyl
Tip

These backups will allow you to quickly restore your panel if the update fails.


2. βš™οΈ Update the Pterodactyl panel​

  1. Access the panel folder:

    cd /var/www/pterodactyl
  2. 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)​

  1. 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
  2. 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
Recommended check

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 πŸš€