Removing site from Plesk gives "Unable to remove hosting: SiteAppManager: fwrite() failed: Empty error"
Plesk Domain Delete Problems: SiteAppManager issues
./domain --remove DOMAINTODELETE.ZZZ
ERROR: PleskFatalException
Unable to remove hosting: SiteAppManager: fwrite() failed: Empty error
message from utility.
sappmng: Miss parameter 'application-subdirectory' or previos parameter
empty.
0: /usr/local/psa/admin/plib/class.PhDomain.php:296
PhDomain->reset(integer '0', boolean true, boolean false)
fix ...
mysql -u admin -p`cat /etc/psa/.psa.shadow`
use psa
SELECT id FROM domains where name="DOMAINTODELETE.ZZZ";
SELECT * FROM SiteApps where dom_id="ID-FROM-ABOVE";
DELETE FROM SiteApps where dom_id="ID-FROM-ABOVE";
SELECT * FROM data_bases where dom_id="ID-FROM-ABOVE";
DELETE FROM data_bases where dom_id="ID-FROM-ABOVE";
./domain --remove DOMAINTODELETE.ZZZ
SUCCESS: Removal of 'DOMAINTODELETE.ZZZ'complete.
Add to Favourites Print this Article