Enter Maintenance Mode
cd /var/www/pterodactyl && \
php artisan down
Download the latest version from GitHub, then set the correct permissions, and ownership
curl -L https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz | tar -xzv && \
chmod -R 755 storage/* bootstrap/cache && \
chown -R www-data:www-data /var/www/pterodactyl/*
Use Composer to update dependencies (Do not run this as root!)
sudo -u www-data composer install --no-dev --optimize-autoloader
Clear Compiled Template Cache, run DB updates
php artisan view:clear && \
php artisan config:clear && \
php artisan migrate --seed --force
Restart Queue Workers, Exit Maintenance Mode
php artisan queue:restart && \
php artisan up