Requirements

Before installing the Dravix theme, make sure your environment meets the following requirements:

  • Latest version of Pterodactyl Panel

  • A fresh installation of the panel, following the official documentation

  • Node.js 20.x (exact version - do not use higher or lower)

  • Yarn

Fresh Install Without Data loss

To avoid theme issues caused by modified or outdated files, it's strongly recommended to start with a fresh Pterodactyl installation — but without losing your existing data.

Follow these steps carefully:

  1. Backup current panel directory:

cd /var/www
mv pterodactyl pterodactyl_old

  1. Create a fresh directory and download the latest panel:

mkdir -p /var/www/pterodactyl
cd /var/www/pterodactyl

curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz
tar -xzvf panel.tar.gz
chmod -R 755 storage/* bootstrap/cache/

  1. Copy your existing configuration file

cp /var/www/pterodactyl_old/.env .env

  1. Install production dependencies:

COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --optimize-autoloader

  1. Regenerate the application key:

Pass this step

  1. Fix permissions:

# If using NGINX, Apache or Caddy (not on RHEL / Rocky Linux / AlmaLinux)
chown -R www-data:www-data /var/www/pterodactyl/*

# If using NGINX on RHEL / Rocky Linux / AlmaLinux
chown -R nginx:nginx /var/www/pterodactyl/*

# If using Apache on RHEL / Rocky Linux / AlmaLinux
chown -R apache:apache /var/www/pterodactyl/*

  1. Restart the background queue worker:

systemctl restart pteroq.service

And that's all!

You now have a clean Pterodactyl installation with your previous settings and database fully preserved.

If you run into issues during this process, feel free to contact me:

Email: contact@theodor.work

Discord: discord.gg/invite/erm5B7ceRe

Last updated