usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.6k stars 613 forks source link

[critical bug] Backup will fail if is not a regular file or if file was removed #565

Closed franciscopaniskaseker closed 3 years ago

franciscopaniskaseker commented 3 years ago

envrironment

issues related

how to reproduce

I am using cyberpanel cli commnad to create backups.

/usr/bin/cyberpanel createBackup --domainName xyz.com

If some file disappear during the process or is not a regular file, the entire cyberpanel backup process fail.

the problem relevance

THIS IS CRITICAL. I found a lot of backups not happening due this problem (mainly due temporary files being removed during the process).

what I expect

It is unbeliavable that entire backup process will fail due those reasons.

usmannasir commented 3 years ago

Install v2.1.1 and see if same happens, I made some tweaks.

franciscopaniskaseker commented 3 years ago

I am testing the new version. Seems to be fixed, but I will return when I have more feedbacks.

usmannasir commented 3 years ago

So I will close this now. if there is anything else let me know.

franciscopaniskaseker commented 3 years ago

i am considering thia fixed. Everything worked in this 8 days.