Rocky 8 - Install Loop - Roundcube Related

When installing ApisCP on Rocky 8 it gets stuck in an endless loop.
The log shows the following:

2026-03-09 19:10:34,772 p=921178 u=root n=ansible | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Could not find or access '/var/www/html/roundcube/config/config.template.inc.php' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}

To allow the install to complete, a simple touch /var/www/html/roundcube/config/config.template.inc.php is sufficient.

Once the install completes, Roudcube will be broken because it’s missing both the config.template.inc.php and config.inc.php files.

The solution:

dnf remove -y roundcubemail
rm -rf /var/www/html/roundcube
dnf install -y roundcubemail-1:1.5.5-1.apnscp.noarch
upcp -sbf mail/webmail-roundcube
dnf update -y roundcubemail

This then allowed ApisCP to reconfigure Roundcube properly and updates it to the latest 1:1.6.13-1.apnscp version.

Thanks for the bug report. Fixed. :+1: