-
Notifications
You must be signed in to change notification settings - Fork 0
Uninstallation (Automatic phpMyAdmin)
Louis edited this page Dec 4, 2022
·
5 revisions
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)
app/Http/Controllers/Api/Client/Servers/DatabaseController.phpapp/Models/Permission.phpapp/Services/Databases/DatabaseManagementService.phproutes/api-client.phpresources/scripts/components/server/databases/DatabaseRow.tsx- Delete
resources/scripts/api/server/databases/gettokenDatabase.ts - Delete
app/Http/Requests/Api/Client/Servers/Databases/GetTokenDatabaseRequest.php
app/Http/Controllers/Api/Client/Servers/DatabaseController.phpapp/Models/Permission.phpapp/Services/Databases/DatabaseManagementService.phproutes/api-client.phpresources/scripts/components/server/databases/DatabaseRow.tsx- Delete
resources/scripts/api/server/databases/gettokenDatabase.ts - Delete
app/Http/Requests/Api/Client/Servers/Databases/GetTokenDatabaseRequest.php
app/Http/Controllers/Api/Client/Servers/DatabaseController.phpapp/Models/Permission.phpapp/Services/Databases/DatabaseManagementService.phproutes/api-client.phpresources/scripts/components/server/databases/DatabaseRow.tsx- Delete
resources/scripts/api/server/databases/gettokenDatabase.ts - Delete
app/Http/Requests/Api/Client/Servers/Databases/GetTokenDatabaseRequest.php
app/Http/Controllers/Api/Client/Servers/DatabaseController.phpapp/Models/Permission.phpapp/Services/Databases/DatabaseManagementService.phproutes/api-client.phpresources/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- 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.