As requested, I provide here a simple guide for upgrading pterodactyl to 0.7 (from 0.6), when used with my installation guide.
First log into the root terminal of your web (v)server and install PHP 7.2:
plesk installer --select-release-current --install-component php7.2
SU into your vhost-user:
su gameserver
Create a temporary shell variable for PHP:
PHP7=/opt/plesk/php/7.2/bin/php
You can now follow the official guide @ Pterodactyl Update Guide
Instead of php
use the variable $PHP7
. Also, when you followed my installation guide, your composer was installed locally. Call it accordingly: $PHP7 ../composer
When updating the daemon, you will have to call artisan again, don’t forget to use the PHP7 variable there.
Furthermore to update the Plesk scheduled tasks for the gamepanel domain. Log into Plesk -> Domain -> Scheduled Tasks -> Choose your Task for Pterodactyl. Replace the PHP command with:
/opt/plesk/php/7.2/bin/php
Also, you will have to update the pteroq daemon. Edit the file /etc/systemd/system/pteroq.service and replace ExecStart with:
ExecStart=/opt/plesk/php/7.2/bin/php /var/www/vhosts/gamepanel.sapd.eu/httpdocs/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3
Then, to restart the daemon (as root): systemctl daemon-reload && systemctl restart pteroq