usmannasir / cyberpanel

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

Remote backup: Backup process killed without reporting any error. #385

Closed franciscopaniskaseker closed 4 years ago

franciscopaniskaseker commented 4 years ago

fresh server cyberpanel enterprise v2.0.1 litespeed enterprise

First account that I tried to retrieve from old server I get:

# left text area

############################
      Starting remote Backup
      Start date: 07.03.2020_13-59-38
############################

[07.03.2020_13-59-49] Host:XXXX.YYYY.ZZZZ.WWWW could be  down, we are continuing...
[07.03.2020_13-59-49] Currently generating local backups for: XXXX.YYYY
[07.03.2020_13-59-49] Starting local backup for: XXXX.YYYY
[07.03.2020_13-59-51] Waiting for backup to complete.. 
[07.03.2020_14-00-24] Backup process killed without reporting any error.
[07.03.2020_14-00-24]Failed to generate local backup for:XXXX.YYYY. Error message: Backup process killed without reporting any error.
[07.03.2020_14-00-24] Backups are successfully generated and received on: XXXX.YYYY.ZZZZ.WWWW

# right text area
############################
      Starting Backup Restore
      Start date: 07.03.2020_14-06-14
############################

[07.03.2020_14-06-14] Backup Restore complete
completed[success]

I checked the "status" file on remote server and I saw:

cat status 
(2006, 'MySQL server has gone away') [1084][5009]

And I can see the backup file continue growing (so on remote server the local backup continue being created, but new server stopped the process and give successfully message).

However if I do manual backup, using web gui, the backup was crated normally.

usmannasir commented 4 years ago

Please upgrade to the stable branch of v2.0.1 again as I've just addressed this issue in this branch.