CyberPanel Upgrade fails on CSF

As seen below, the upgrade process fails because it does not account for scenarios when CSF is not installed. It would be great if this upgrade process was better tested before being released.

[02.07.2025_06-32-22] #########################################################################

[02.07.2025_06-32-22] fix csf if there successful.

[02.07.2025_06-32-22] #########################################################################

Restoring files...
Traceback (most recent call last):
  File "/root/cyberpanel_upgrade_tmp/upgrade.py", line 3983, in <module>
    main()
  File "/root/cyberpanel_upgrade_tmp/upgrade.py", line 3979, in main
    Upgrade.upgrade(args.branch)
  File "/root/cyberpanel_upgrade_tmp/upgrade.py", line 3610, in upgrade
    restore_files()
  File "/root/cyberpanel_upgrade_tmp/upgrade.py", line 3592, in restore_files
    shutil.copy(backup_file, file)
  File "/usr/lib/python3.10/shutil.py", line 417, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.10/shutil.py", line 256, in copyfile
    with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/etc/csf/csf.allow'
above command failed...

still haveing this issue please open a ticket at our email [email protected]