• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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