Control Web Panel

WebPanel => Updates => Topic started by: chrisg on November 15, 2026, 10:49:17 AM

Title: Automatic cwp updates were disabled - here is how to fix
Post by: chrisg on November 15, 2026, 10:49:17 AM
On my AlmaLinux 8.10 system, automatic cwp errors via cron reported these errors:
/etc/cron.daily/cwp:
Could not open input file: /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
Could not open input file: /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php

The reason was that /etc/cron.daily/cwp contained 2 lines starting with /bin/php.
This does not work because cron.php and cron_backup.php are encrypted with ioncube, resulting in the following error:
No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube restart

Solution:
Change /bin/php in /etc/cron.daily/cwp to the command
/usr/local/cwp/php71/bin/php

This uses the cwp-internal php which has ioncube built in.