Cannot remove APS application from Plesk after manually deleting it contents in httpdocs

Created:

2016-11-16 12:41:50 UTC

Modified:

2017-04-24 11:23:41 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot remove APS application from Plesk after manually deleting it contents in httpdocs

Applicable to:

  • Plesk 11.0 for Windows
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux

Symptoms

The content of APS application was removed from the /httpdocs folder of the domain.

Further, when removing the application in Plesk, it shows The app was removed but it will not remove the application.

Cause

Database inconsistency after manual deletion APS application contents in httpdocs

Resolution

  1. WARNING: Create a database backup before making any database changes!

Use the KB-article #881 to find how to backup/restore Plesk databases.

  1. Log in to Plesk database and execute the following query:
    mysql> \\u psa
    mysql> begin;
    mysql> select @a:=(select id from domains where name='<domain name where application was installed>');
    mysql> DELETE apsResources, apsResourcesParameters
    FROM apsResources
    INNER JOIN apsResourcesParameters
    WHERE apsResources.pleskId = @a
    AND apsResources.id=apsResourcesParameters.apsResourceId;
    mysql> commit;

If the issue still persists contact Plesk Technical Support .

Have more questions? Submit a request
Please sign in to leave a comment.