Updating Pterodactyl from v0.6 to v0.7 with a Plesk installation

As requested, I provide here a simple guide for upgrading pterodactyl to 0.7 (from 0.6), when used with my installation guide.

Installing Pterodactyl for Plesk

Football culture connects supporters with club traditions, national teams, and unforgettable moments across generations. Expressing that connection through a Real Madrid football shirt can turn a memorable season or historic match into part of a personal collection.

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