Can't remove domain- domain after remove still in panel

Hello,

How to force delete a domain from cyberpanel? After delete domain still be in website lists.

Upgrade don’t help for this issue.

Help.

Its remove only domain directory in home directory

Anyone can provide a tip?? Vhosts files also has been deleted…
Now I have useless two domains!!!

[12-23-12-Sat-Aug-2019] [Errno 2] No such file or directory: ‘/usr/local/lsws/conf/vhosts/Faktoringb2b.pl/vhost.conf’ [installSSLForDomain]]
[12-27-38-Sat-Aug-2019] (1008, “Can’t drop database ‘Q6xSiLr8IaKrDt’; database doesn’t exist”)[deleteDatabase]
[12-27-38-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[12-28-22-Sat-Aug-2019] (1008, “Can’t drop database ‘rHrU3tXu2Qf4jZ’; database doesn’t exist”)[deleteDatabase]
[12-28-22-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[12-44-27-Sat-Aug-2019] (1008, “Can’t drop database ‘rHrU3tXu2Qf4jZ’; database doesn’t exist”)[deleteDatabase]
[12-44-27-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[12-44-30-Sat-Aug-2019] (1008, “Can’t drop database ‘Q6xSiLr8IaKrDt’; database doesn’t exist”)[deleteDatabase]
[12-44-30-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[12-59-22-Sat-Aug-2019] (1008, “Can’t drop database ‘Q6xSiLr8IaKrDt’; database doesn’t exist”)[deleteDatabase]
[12-59-28-Sat-Aug-2019] (1008, “Can’t drop database ‘rHrU3tXu2Qf4jZ’; database doesn’t exist”)[deleteDatabase]
[12-59-42-Sat-Aug-2019] (1008, “Can’t drop database ‘Q6xSiLr8IaKrDt’; database doesn’t exist”)[deleteDatabase]
[12-59-42-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[12-59-45-Sat-Aug-2019] (1008, “Can’t drop database ‘rHrU3tXu2Qf4jZ’; database doesn’t exist”)[deleteDatabase]
[12-59-45-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[01-03-33-Sat-Aug-2019] (1008, “Can’t drop database ‘Q6xSiLr8IaKrDt’; database doesn’t exist”)[deleteDatabase]
[01-03-33-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[01-05-18-Sat-Aug-2019] [Errno 2] No such file or directory: ‘/usr/local/lsws/conf/vhosts/Faktoringb2b.pl/vhost.conf’ [IO Error with per host config file [changePHP]
[01-11-51-Sat-Aug-2019] Websites matching query does not exist.
[01-11-51-Sat-Aug-2019] ‘tempStorage’ [119:startBackup]
[01-11-51-Sat-Aug-2019] Websites matching query does not exist.
[01-11-51-Sat-Aug-2019] ‘tempStorage’ [119:startBackup]
[01-11-51-Sat-Aug-2019] Websites matching query does not exist.
[01-11-51-Sat-Aug-2019] ‘tempStorage’ [119:startBackup]
[01-12-39-Sat-Aug-2019] Websites matching query does not exist.
[01-12-39-Sat-Aug-2019] ‘tempStorage’ [119:startBackup]
[10-49-00-Sat-Aug-2019] (1008, “Can’t drop database ‘rHrU3tXu2Qf4jZ’; database doesn’t exist”)[deleteDatabase]
[10-49-00-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[10-49-06-Sat-Aug-2019] (1008, “Can’t drop database ‘rHrU3tXu2Qf4jZ’; database doesn’t exist”)[deleteDatabase]
[10-49-07-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[10-49-08-Sat-Aug-2019] (1008, “Can’t drop database ‘rHrU3tXu2Qf4jZ’; database doesn’t exist”)[deleteDatabase]
[10-49-08-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[10-55-50-Sat-Aug-2019] (1008, “Can’t drop database ‘rHrU3tXu2Qf4jZ’; database doesn’t exist”)[deleteDatabase]
[10-55-50-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[10-58-13-Sat-Aug-2019] [Errno 2] No such file or directory: ‘/usr/local/lsws/conf/vhosts/Faktoringb2b.pl/vhost.conf’ [IO Error with per host config file [changePHP]
[10-58-23-Sat-Aug-2019] [Errno 2] No such file or directory: ‘/usr/local/lsws/conf/vhosts/Baaku.pl/vhost.conf’ [IO Error with per host config file [changePHP]
[11-01-07-Sat-Aug-2019] (1008, “Can’t drop database ‘Q6xSiLr8IaKrDt’; database doesn’t exist”)[deleteDatabase]
[11-01-07-Sat-Aug-2019] (1008, “Can’t drop database ‘Fakt_gb’; database doesn’t exist”)[deleteDatabase]
[11-01-07-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[11-01-54-Sat-Aug-2019] [Errno 2] No such file or directory: ‘/usr/local/lsws/conf/vhosts/Baaku.pl/vhost.conf’ [IO Error with per host config file [changePHP]
[11-09-16-Sat-Aug-2019] (1008, “Can’t drop database ‘Q6xSiLr8IaKrDt’; database doesn’t exist”)[deleteDatabase]
[11-09-16-Sat-Aug-2019] (1008, “Can’t drop database ‘Fakt_gb’; database doesn’t exist”)[deleteDatabase]
[11-09-16-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[11-10-16-Sat-Aug-2019] (1008, “Can’t drop database ‘Q6xSiLr8IaKrDt’; database doesn’t exist”)[deleteDatabase]
[11-10-16-Sat-Aug-2019] (1008, “Can’t drop database ‘Fakt_gb’; database doesn’t exist”)[deleteDatabase]
[11-10-16-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[11-10-19-Sat-Aug-2019] (1008, “Can’t drop database ‘rHrU3tXu2Qf4jZ’; database doesn’t exist”)[deleteDatabase]
[11-10-19-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]
[11-35-03-Sat-Aug-2019] (1008, “Can’t drop database ‘rHrU3tXu2Qf4jZ’; database doesn’t exist”)[deleteDatabase]
[11-35-03-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]

I create a users in db, databases, vhost folders and vhosts.conf from log file, and try delete again. Web still been in website list but mainlog only add one column for another delete.

[11-57-55-Sat-Aug-2019] (1452, ‘Cannot add or update a child row: a foreign key constraint fails (cyberpanel.e_domains, CONSTRAINT e_domains_domainOwner_id_581e752a_fk_websiteFu FOREIGN KEY (domainOwner_id) REFERENCES websiteFunctions_websites (id))’) [Not able to remove virtual host configuration from main configuration file.]

How to fix this? Maybe after this fix, I can delete website form list…

Okay, there is no easy solution. You must delete each link directly in the database that results in an error of the existing key. Only then, after removing from the panel and getting rid of all errors, the page can be removed from the panel. If you have a problem with this, write a private message :slight_smile: