Plesk

Unable to access Plesk: Internal error: Domain Service Web not exists

Symptoms

Cause

The domain mentioned in the error messages has been deleted, but PSA database still contains an entry for this domain.

Plesk database was not properly upgraded. The ' psa.DomainServices ' table has no records of the "web" type.

Resolution

Note: This article may require additional administrative knowledge to apply. If any help required, contact server’s administrator or hosting support.

Warning: Please check that the domain physically exists before making changes. If it does, back up all the domain content from the corresponding directories /var/www/vhosts/<domain> and /var/qmail/mailnames/<domain> (in case of Linux) or from C:Inetpubvhosts and %plesk_dirMailEnablepostoffices% (in case of Windows).

There are several possible scenarios:

Scenario 1. Domain physically exists in Plesk

  1. Connect to the server via SSH (Plesk for Linux) or RDP (Plesk for Windows)

  2. Create Plesk database backup

  3. Remove the domain with ID in psa.domainsmentioned in the first error message from the PSA database:

    # plesk db "DELETE FROM domains WHERE id='41'"

  4. Find orphaned records in the databases as follows:

    For Plesk on Linux:

    1. Create psa and apsc database backups:

      # plesk db dump psa > /root/psa_dump_$(date +'%Y-%m-%d').sql

      # plesk db dump apsc > /root/apsc_dump_$(date +'%Y-%m-%d').sql

    2. Find orphaned records in table psa.domains using the values mentioned in the error messages:

      # grep 'bd314c87-865a-46e6-b694-342e71899445' /root/apsc_dump_$(date +'%Y-%m-%d').sql

      # grep 'bd314c87-865a-46e6-b694-342e71899445' /root/psa_dump_$(date +'%Y-%m-%d').sql

      # grep 'example' /root/apsc_dump_$(date +'%Y-%m-%d').sql

      # grep 'example' /root/psa_dump_$(date +'%Y-%m-%d').sql | grep -v -E 'log_components|exp_event'
      INSERT INTO Configurations (id, name, serviceNodeId, file, version, objectType, objectId, status, active, description, errorFile) VALUES (115,'nginxDomainWebmail',1,'/etc…

Exit mobile version