Cyberpanel delete all files and directors public_html

A fatal error has just occurred on the latest version on my vps.

After I clicked on backup website, I got the message that the backup failed and the entire folder with the public_html file was deleted.

Data cannot be recovered. I lost everything.

This error should not be able to backup instead of deleting the entire public_html.

Log information:

  • Start backup

  • Backup failed because of insufficient disk space (19/32Gb)

  • public_html is completely removed.

Website cannot be displayed.
The public_html directory could not be added.
Solution:

  • Delete website
  • Create a new website

Please make sure you upgrade your cyberpanel setup. The latest version doesnt have such issues.

can you please share the cyberpanel version with us?

I had the same problem, I almost lost my job because of it, luckily I had backup, it happened on a dedicated server I want to manage, I never use Cyberpanel again.

Is this then a known issue? It was totally fixed, because of the most serious things that can happen, this is one of the worst.

Happened to me and I’m on version 2.1

Which Log file might have a clue about this?

Happened to me yesterday, deleted the whole folder but I had backup.

In the world of technology, anything can happen and having a backup ready is always a savior.

1 Like

It was reported by users back then in around august or September month but the developers were unable to reproduce this bug because it doesn’t happen with all setups… Later got to know from cyberpanel users that if the server storage is less, then this bug triggers while doing restore operation.

It was fixed immediately after identifying the issue.

You need to update cyberpanel to get those bug fixes done.

2 Likes

Do not backup if you do not have enough space or inodes.

1 Like

It’s 0H night…again the error occurred on my big website. Total website size 1.7Gb and now = 0. Public_html = 0

I went into backup to delete old backups and didn’t do anything, I got an error message and all public_html was deleted.

Just make sure you have enough server storage left.

Make sure you are using latest cyberpanel version.

Restore your backup.

1 Like

With a 2Gb website, more than 10Gb of memory is more than enough. So this time the cause is not from memory.
VPS uses the latest version of cyberpanel since it was released, because I have a server to test the version, updates are always prioritized.

If you are on latest cyberpanel version, this file deletion issue would not have occurred.

1 Like

When was the last time you performed upgrade command? Cyberpanel minor updates doesnt change the version number. If you want to check this in detail, then do check cyberpanel at github branch.

Just do a cyberpanel upgrade using the upgrade command provided here.

Secondly, this issue was occured in August-September around and it happens with server having less remaining storage when restoring a backup. This was fixed immediately and so far none reported any issues with any file deletion.

If you are by any chance even after upgrading is having such issues, please share the relevant log files to see why this happened so that the developers can fix it.

1 Like

Thanks for the support. :wink:

Did you find the reason for your issue? If so, please do share with us.

1 Like

If the updates are minor, I haven’t updated yet. Update only when the version number on versionManagement changes. Currently creating a backup for VPS before running the upgrade command. Will notify if there is a similar problem.

1 Like

Both on 2 different VPS are reporting the same warning like this.

update…

VPS 3 cant update

Please share vps provider details… Is it contabo by any chance? And the OS installed in your vps.