Automatic Backup not working after CyberPanel Update

After the CyberPanel update, the Automatic Backup is not working. I also tried to do it manually by using this command /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py Daily
Still not working.
Any fix?
After the last few days hack I really need this feature to be working. Thank you!

root@Ubuntu-2204-jammy-amd64-base ~ # /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py Daily
950,0.095000095000095
8466,0.8466008466008467
11343,1.1343011343011342
1123,0.1123001123001123
2,0.0002000002000002
1978,0.1978001978001978
2315,0.2315002315002315
4342,0.4342004342004342
896,0.0896000896000896
[11.02.2024_09-18-58] Starting local backup for: (here would be the website.com)

/usr/local/CyberCP/lib/python3.10/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
[11.02.2024_09-18-58] 'tempStorage' [119:startBackup]
[11.02.2024_09-18-58] Local backup creating failed for (here would be the website.com), Error message: 'tempStorage'

[11.02.2024_09-18-58] Starting local backup for: (here would be the website.com)

/usr/local/CyberCP/lib/python3.10/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
[11.02.2024_09-18-58] 'tempStorage' [119:startBackup]
[11.02.2024_09-18-58] Local backup creating failed for (here would be the website.com), Error message: 'tempStorage'

[11.02.2024_09-18-58] Starting local backup for: (here would be the website.com)

/usr/local/CyberCP/lib/python3.10/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
[11.02.2024_09-18-59] 'tempStorage' [119:startBackup]
[11.02.2024_09-18-59] Local backup creating failed for (here would be the website.com), Error message: 'tempStorage'

job com[leted
[11.02.2024_09-18-59] [Errno 2] No such file or directory: '/home/cyberpanel/git'. [IncScheduler.git:90]
local
[11.02.2024_09-18-59] Starting local backup for: (here would be the website.com)

/usr/local/CyberCP/lib/python3.10/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
[11.02.2024_09-18-59] 'tempStorage' [119:startBackup]
[11.02.2024_09-18-59] Local backup creating failed for (here would be the website.com), Error message: 'tempStorage'

Traceback (most recent call last):
  File "/usr/local/CyberCP/plogical/IncScheduler.py", line 1707, in <module>
    main()
  File "/usr/local/CyberCP/plogical/IncScheduler.py", line 1698, in main
    IncScheduler.startNormalBackups(args.function)
  File "/usr/local/CyberCP/plogical/IncScheduler.py", line 599, in startNormalBackups
    adminEmail = open(adminEmailPath, 'r').read().rstrip('\n')
FileNotFoundError: [Errno 2] No such file or directory: '/home/cyberpanel/adminEmail'

Not only schedule backup. Normal Create backup is also not working.

Same problem, any solution? It is important to make backups especially with this instability that the cyberpanel is facing.

I’ve updated the CyberPanel. The issue still persists.

Me too have an issue the schedule backup after upgrade to the latest version:

Same problem with remote backups when transferring websites between two Cyberpanel servers which I both upgraded today.

Destination server:

[11.04.2024_15-00-06] Backups are successfully generated and received on: xxx.xxx.xxx.xxx

Remote server:

[11.04.2024_15-00-08] Backup Restore complete
completed[success]

But nothing happened.

I see this errors with evey Cyberpanel update:

Also…

On destination server, I see this error in cyberCPMainLogFile:

[11.02.2024_22-55-51] ‘list’ object has no attribute ‘find’

And on the remote server I see this error:

[11.02.2024_22-55-52] port on server B-------------- 22
[11.02.2024_22-55-54] ‘tempStorage’ [119:startBackup]

This should be a top priority fix because ppl need to transfer websites from infected servers, to the new ones.

Try to upgrade CyberPanel to the latest version and check again. Chown errors during the upgrade are common, and they don’t prevent the process from completing successfully.

Still doesnt work, although it say its completed.

[11.05.2024_09-33-02] Currently generating local backups for: mywebsite.com
[11.05.2024_09-33-02] Starting local backup for: mywebsite.com
[11.05.2024_09-33-04] Waiting for backup to complete.. 
[11.05.2024_09-33-15] Backup Completed for: mywebsite.com
[11.05.2024_09-33-15] Local Backup Completed for: mywebsite.com
[11.05.2024_09-33-15] Sending /home/backup/transfer-1234/backup-mywebsite.com-11.05.2024_09-33-02.tar.gz to xxx.xxx.xxx.xxx.
[11.05.2024_09-33-17] Sent /home/backup/transfer-1234/backup-mywebsite.com-11.05.2024_09-33-02.tar.gz to xxx.xxx.xxx.xxx.
[11.05.2024_09-33-17] #############################################
[11.05.2024_09-33-17] Backups are successfully generated and received on: xxx.xxx.xxx.xxx.


############################
      Starting Backup Restore
      Start date: 11.05.2024_09-33-17
############################


[11.05.2024_09-33-17] Backup Restore complete
completed[success]

But the website was not created or restored on the destination server.

Nothing in the cyberCPMainLogFile logs on the destination server.

On remote server there are logs:

[11.05.2024_09-33-02] port on server B-------------- 1234
[11.05.2024_09-33-02] Domains matching query does not exist.. [179:prepMeta]
[11.05.2024_09-33-02] /home/mywebsite.com/backup/
[11.05.2024_09-33-02] /home/mywebsite.com/backup/backup-mywebsite.com-11.05.2024_09-33-02
[11.05.2024_09-33-15] habbi--------open file:/home/cyberpanel/remote_port
[11.05.2024_09-33-17] This back file is not run

Can it be the problem that I have the custom ssh port?

There is also a problem with my backup!

Looks like it works after the latest update.

Remote backups still dont work for me. I get this message, but nothing happens:

############################
      Starting Backup Restore
      Start date: 11.21.2024_09-46-06
############################




[11.21.2024_09-46-06] Backup Restore complete
completed[success]

Both panels were upgraded to the latest versions/commits today.