Can't delete Websites — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

Can't delete Websites

Hi,

I am currently using the most current version of CyberPanel.

When I am deleting a website, it shows that is has been successfully deleted, but when checking under "Websites" the deleted page is still there.

Thanks in advance for helping answers and kind regards!

Comments

  • Same problem here.

    /home/website-name-xyz/* is deleted, but some entries stay behind.

    The undesired side effect is, you can't restore a website as you run into an error such as "5009" ( This website already exists.. Not able to create Account, Databases and DNS Records, aborting. )
  • edited December 2019
    If cyberpanel database is partially corrupt, it can lead to this behavior (message "website successfully deleted", but not actually fully deleted. Perhaps the admin can put together a quick guide how to remove / cleanup the website remains manually in such cases? ex.

    1. Delete /home/domain-to-delete.com/*
    2. Delete /var/lib/mysql/domai_db1, domai_db2, etc.
    3. Access phpMyAdmin with root password, open cyberpanel database and in various tables, delete all references to domain-to-delete.com and domai (DB username prefix) in specific order as the tables are linked.

    Obviously, with a BIG warning that such actions can corrupt the entire cyberpanel and require a fresh server installation, and to BACKUP beforehand.

    Or better yet, create a cli bash script to do it for you.
  • I have the same problem
  • and I have such a problem.
  • What is the proper process to delete as Delete Website does not work

    It leaves all the following directories, using example.com

    /home/example.com
    /etc/opendkim/keys/example.com

    It also leaves all configuration data in the following files:
    /etc/passwd
    /etc/shadow
    /etc/gshadow
    /etc/subgid
    /etc/dovecot/dovecot.conf
    /etc/opendkim/KeyTable
    /etc/opendkim/SigningTable
    /etc/opendkim/TrustedHosts
    /etc/opendkim/keys/mail.example.com/*
    /etc/postfix/vmail_ssl.map

    It also leaves all configuration data in the cyberpanel database in the following tables:
    e_forwardings
    loginSystem_administrator
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!