Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: djprmf on April 25, 2020, 12:03:58 PM
-
Hi,
I have notice that the New backup (beta) script is encoded with ionCube, but is only for the PHP 5.x version.
If the PHP of CWP is changed to a more recent version, the backup script will not work.
I think is safe to say that this script should be updated to a more recent version of PHP, since PHP 5.x are in EOL.
Also this have impact in the security of CWP from itself, since if we need to use this Backup Script, then CWP needs to be in PHP 5.x....
Thanks
-
hi ensure you've latest version of cwp installed.
-
Hi,
Yes, it is in the last version
CWPpro version: 0.9.8.962
Thanks
-
Hi CWP team
The new backup beta is not working since i have updated to the latest panel still showing loading list accounts thats all no backup done
it was worked before update pls check this also restore accounts is not working atleast manual restore is posssible if we get the full account backup
Thanks in advance
-
Same problem here. The backups stopped working.
-
check "crontab -l" as root and make sure
15 23 * * * /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php
is there
(NOTE: Times may be different)
-
check "crontab -l" as root and make sure
15 23 * * * /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php
is there
(NOTE: Times may be different)
Yes:
26 14 * * * /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php
-
The issue is that "cron_newbackup.php" is encoded under a old version of ionCube (before PHP 5.x).
If you check the error log, the script outputs that error.
if you select in "PHP Version Switcher" the PHP version 5.6.40, the script runs fine.
If you update to a new version - PHP 7.x - then the script doesn't work.
PHP Version Switcher changes the PHP of CWP, that is where the cron_newbackup.php is running...
-
The issue is that "cron_newbackup.php" is encoded under a old version of ionCube (before PHP 5.x).
If you check the error log, the script outputs that error.
if you select in "PHP Version Switcher" the PHP version 5.6.40, the script runs fine.
If you update to a new version - PHP 7.x - then the script doesn't work.
PHP Version Switcher changes the PHP of CWP, that is where the cron_newbackup.php is running...
Then you probably have to follow the instruction on the 500 error posts. My version of the backup script is working perfectly fine running on php72 ioncube. Guessing that file did not get updated in your update..