Hello,
First of all, thank you for your continued work and updates!
I would like to report an issue affecting a **fresh AlmaLinux 10 installation with CWP 1.30.8**.
Every night, the server sends a cron error email from the following task:
/usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php
The email contains these errors:
cat: /usr/local/cwp/.conf/vhosts-ssl.json: No such file or directory
PHP Warning: foreach() argument must be of type array|object, null given in /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php on line 0
This is a fresh installation with no hosting accounts or domains configured.
I suspect the AutoSSL renewal script does not properly handle servers without any domains or SSL virtual hosts.
I have other CWP servers with domains configured, and this error does not occur on those servers.
Could you please check whether the script should skip the SSL renewal checks when no domains or SSL configurations exist?
Ideally, the cron job should exit cleanly without generating unnecessary error emails.
Thank you!