• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

cant delete subdomain in plesk

T

T-One

Guest
Hi,

i have a problem deleting a subdomain in plesk.
i was a little bit fast an deleted the hole directory of the subdomain with ssh (rm -rf).
but now i still have the subdomain listet in plesk.
when i try to remove the subdomain over plesk i get the following error:

ERROR: PleskUtilException
Up LevelUp Level
fwrite() failed: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead
sappmng: Virtual host home directory /var/www/vhosts/weltfremd.at/subdomains/apocalypse does not exist
System error 2: No such file or directory

0: /opt/psa/admin/plib/SiteApps/class.cSiteAppManager.php:229
cSiteAppManager->_callSAppMng(string 'delete-application', array, string '<?xml version="1.0"?> <INSTANCE-DATA><SECTION PREFIX="htdocs"><FILE>xmlrpc.php</FILE><FILE>robots.txt</FILE><FILE>update.php</FILE><FILE>install.php</FILE><FILE>cron.php</FILE><FILE>index.php</FILE><FILE>MAINTAINERS.txt</FILE><FILE>UPGRADE.txt</FILE><FILE>INSTALL.txt</FILE><FILE>LICENSE.txt</FILE><FILE>INSTALL.pgsql.txt</FILE><FILE>COPYRIGHT.txt</FILE><FILE>.htaccess</FILE><FILE>INSTALL.mysql.txt</FILE><FILE>themes/README.txt</FILE><FILE>CHANGELOG.txt</FILE><FILE>themes/pushbutton/tabs-option-on.png</FILE><FILE>themes/pushbutton/tabs-option-off.png</FILE><FILE>themes/pushbutton/tabs-option-off-rtl.png</FILE><FILE>themes/pushbutton/tabs-option-hover-rtl.png</FILE><FILE>themes/pushbutton/tabs-on.png</FILE><FILE>theme

A list of files.......


2: /opt/psa/admin/plib/SiteApps/class.SiteAppManager.php:136
SiteAppManager->uninstallSiteAppDelete(object of type SiteApp)
3: /opt/psa/admin/plib/SiteApps/class.SiteAppManager.php:196
SiteAppManager->uninstallSiteApp(object of type SiteApp)
4: /opt/psa/admin/plib/SiteApps/class.SiteAppManager.php:644
SiteAppManager->deleteSubDomain(string '7')
5: /opt/psa/admin/plib/class.SubDomainManager.php:259
SubDomainManager->delete()
6: /opt/psa/admin/plib/class.SubDomainsList.php:111
SubDomainsList->delete(array)
7: /opt/psa/admin/htdocs/domains/subdomains/subdom_remove.php:40

anyone an idea how the get rid of the subdomain in plesk?
 
Plesk database contains a lot of referenses to subdomains files and applications that were installed on these subdomain through Plesk CP. If subdomain folders could not be recreated, it is better for you to contact support team, they will help you to remove this subdomain. Most likely it will be needed to delete all records related to this subdomain directly from Plesk database.
 
Back
Top