Can't delete a website

I can’t delete a website created.

Deleted:

On List website page the site is there yet.:

Ubuntu 22.04

I have that same problem. It came with the last update.

1 Like

same here with version Latest Version:

2.3

Latest Build:

4

Latest Commit:

5aee24ae593cdbbf5b1ccea5ad3f9c8898d5a7b1

1 Like

same problem…
today make a update in new commit and test again

1 Like

I tried, still the same.

@josephgodwinke now when I try to update to vs 2.3.4 thinking maybe the problem of deleted websites still in the list, show me this:

Current Commit:  sudo: unable to resolve host villasweb: Name or service not known 5aee24ae593cdbbf5b1ccea5ad3f9c8898d5a7b1


PS.: This issue is because the hostname on my VPN was villasweb.us and I changed to just villasweb . Now I changed again to the old hostname and the sudo is gone. The DELETE problem still exists.

Changed where ?

On VPN console
hostnamectl set-hostname villasweb.us

Same issue here, after this last update the websites are not deleting. I had to delete two websites that were filling my quota because they were dead projects and they won’t delete at all and have to set up a new website for a client proto, I deleted all DNS information and files wont show, and even in PHPMYADMIN it wont allow me to delete. I am at a stand still and need to upload the files for my new client to show off litespeed and cyberpanels capabilities but I cant. I am able to set up new sites but it wont issue SSL and am scared that itll show me over quota… would really hate to have to use my shared hosting (ick) account. Is there a fix around this? maybe through CLI?

1 Like

Same problem.
Website show delete sucessfull but still remain.
Here the log:

[05.04.2023_05-00-44] (1008, "Can't drop database 'digi_taldps'; database doesn't exist")[deleteDatabase]
[05.04.2023_05-00-44] (1146, "Table 'cyberpanel.websiteFunctions_backupsv2' doesn't exist") [Not able to remove virtual host configuration from main configuration file.]
[05.04.2023_05-11-30] (1008, "Can't drop database 'digi_taldps'; database doesn't exist")[deleteDatabase]
[05.04.2023_05-11-30] (1146, "Table 'cyberpanel.websiteFunctions_backupsv2' doesn't exist") [Not able to remove virtual host configuration from main configuration file.]
[05.04.2023_05-35-21] (1008, "Can't drop database 'digi_taldps'; database doesn't exist")[deleteDatabase]
[05.04.2023_05-35-21] (1146, "Table 'cyberpanel.websiteFunctions_backupsv2' doesn't exist") [Not able to remove virtual host configuration from main configuration file.]

Same problem in CyberPanel (Lastest verison)

Current Version: 2.3
Build: 4
Current Commit: 5aee24ae593cdbbf5b1ccea5ad3f9c8898d5a7b1
Latest Version: 2.3
Latest Build: 4
Latest Commit: 5aee24ae593cdbbf5b1ccea5ad3f9c8898d5a7b1

@daotiendung Have you tried to create the table websiteFunctions_backupsv2 in cyberpanel database

How to create them?

I upgraded to the latest version of CyberPanel and had this problem.

Thanks

Go to Databases in your side menu and choose PHPMYAdmin - this will redirect to phpmyadmin where you will look for cyberpanel database

panel-safaricom-com-8090-localhost-phpMyAdmin-5-1-3

Try scaffold with columns id and name - check mariadb docs and just see if the issue goes away.

This is a workaround not the fix

1 Like

I added the websiteFunctions_backupsv2 table but still not resolved the error.

I think many people will encounter this error when upgrading to this version of CyberPanel

1 Like

Let me check the code I will get back to you here

1 Like

Thanks, I tried upgrading some other VPS to new CyberPanel

Current Version: 2.3
Build: 4
Current Commit: 5aee24ae593cdbbf5b1ccea5ad3f9c8898d5a7b1
Latest Version: 2.3
Latest Build: 4
Latest Commit: 5aee24ae593cdbbf5b1ccea5ad3f9c8898d5a7b1

and same problem.

Same problem here

Build: 4
Current Commit:
5aee24ae593cdbbf5b1ccea5ad3f9c8898d5a7b1

Latest commit fixed. You guys need upgrade to latest

1 Like

Usman - looks like its resolved now. Deleting is working with: 6eeaca15d3bb0defa1ef76bbaec642fb82230570

Thank you