Page:
Uninstalling Automatic phpMyAdmin for Pterodactyl
1
Uninstalling Automatic phpMyAdmin for Pterodactyl
Arnaud Lier edited this page 2024-03-30 13:47:45 +00:00
Table of Contents
Pterodactyl
Remove the changed files and replace them with the originals
Let's start with the modified files that must be returned to their original state. The list below contains the file to be modified, and the attached link the original file to be used to replace the file to be modified
(Uninstallation instructions for Automatic-phpMyAdmin >= 2.0.0 will be done by the end of next week)
For Pterodactyl 1.10 and higher (Automatic-phpMyAdmin < 2.0.0):
app/Http/Controllers/Api/Client/Servers/DatabaseController.php
app/Models/Permission.php
app/Services/Databases/DatabaseManagementService.php
routes/api-client.php
resources/scripts/components/server/databases/DatabaseRow.tsx
- Delete
resources/scripts/api/server/databases/gettokenDatabase.ts
- Delete
app/Http/Requests/Api/Client/Servers/Databases/GetTokenDatabaseRequest.php
For Pterodactyl 1.9 (Automatic-phpMyAdmin < 2.0.0):
app/Http/Controllers/Api/Client/Servers/DatabaseController.php
app/Models/Permission.php
app/Services/Databases/DatabaseManagementService.php
routes/api-client.php
resources/scripts/components/server/databases/DatabaseRow.tsx
- Delete
resources/scripts/api/server/databases/gettokenDatabase.ts
- Delete
app/Http/Requests/Api/Client/Servers/Databases/GetTokenDatabaseRequest.php
For Pterodactyl 1.8.X (Automatic-phpMyAdmin < 2.0.0):
app/Http/Controllers/Api/Client/Servers/DatabaseController.php
app/Models/Permission.php
app/Services/Databases/DatabaseManagementService.php
routes/api-client.php
resources/scripts/components/server/databases/DatabaseRow.tsx
- Delete
resources/scripts/api/server/databases/gettokenDatabase.ts
- Delete
app/Http/Requests/Api/Client/Servers/Databases/GetTokenDatabaseRequest.php
For Pterodactyl prior to 1.8 (Automatic-phpMyAdmin < 2.0.0):
app/Http/Controllers/Api/Client/Servers/DatabaseController.php
app/Models/Permission.php
app/Services/Databases/DatabaseManagementService.php
routes/api-client.php
resources/scripts/components/server/databases/DatabaseRow.tsx
- Delete
resources/scripts/api/server/databases/gettokenDatabase.ts
- Delete
app/Http/Requests/Api/Client/Servers/Databases/GetTokenDatabaseRequest.php
Now that all the files modified by the addon are back to their original content, you can rebuild the panel by running these commands in your SSH terminal:
cd /var/www/pterodactyl
yarn build:production
phpMyAdmin
- Delete
token.php
- Delete
token-logout.php
Don't forget to remove all these lines from every server from your config files :
$cfg['Servers'][$i]['SignonSession'] = 'TokenSession';
$cfg['Servers'][$i]['SignonURL'] = 'token.php';
$cfg['Servers'][$i]['LogoutURL'] = 'token-logout.php';
Automatic-phpMyAdmin is now uninstalled from your system.