• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Domain deletion not correct

J

jsvandehoef

Guest
Hi,

I've deleted an domain on my Plesk 8.0 server, but the deletion was not completed. The domain still exists in Plesk as where the files on the filesystem are allready deleted.

When I delete the domain again, from plesk, the following exception appears:

ERROR: PleskException
Table::select() failed: no such row in the table

0: /usr/local/psa/admin/plib/dns/DNSZone.php:52
DNSZone->DNSZone(string '1')
1: /usr/local/psa/admin/plib/common_func.php3:2555
objectMaker(string 'DNSZone', string '1')
2: /usr/local/psa/admin/plib/dns/DNSManager.php:39
DNSManager::getDNSZone(string '1')
3: /usr/local/psa/admin/plib/class.Domain.php:644
Domain->getDNSZone()
4: /usr/local/psa/admin/plib/class.PhDomain.php:207
PhDomain->reset(integer '0', boolean true, boolean false)
5: /usr/local/psa/admin/plib/class.BsDomain.php:289
BsDomain->reset(integer '0')
6: /usr/local/psa/admin/plib/class.BsDomain.php:283
BsDomain->delete(integer '0')
7: /usr/local/psa/admin/plib/class.BsDomain.php:524
mdeleteDomains(array)
8: /usr/local/psa/admin/plib/class.Manager.php:351
Manager->removeDomains(array)
9: /usr/local/psa/admin/htdocs/domains/domains.php3:215

What can I do to permanently delete theis domain?

Kind Regards,

Jeroen
 
I got the same problem. I was deleting a domain and it froze in the middle of deletion.

I rebooted the server and tried to delete again and I recieved the same errors.

I also tried deleting the client that teh domain belonged to and it also froze.
 
I fixed the problem by deleting the Domain within the Plesk MySQL database (Database Name: psa).

I logged into the Linux shell as "root" and then logged into MySQL.

commands:

mysql -u admin -p

use psa;
delete from domains where name='domain name';
quit;


I also deleted the user that belonged to the domain in the /etc/passwd file.
 
Back
Top