Page 1 of 1

Bug | Debian 12 | KeyHelp 23.2 - Build 3096 | Rspamd Web Interface shows Forbidden

Posted: Fri 29. Sep 2023, 14:06
by Alexander
Hello,

for the handful of admins, who are already using KeyHelp on Debian 12:

Affected systems:
Debian 12 with KeyHelp 23.2 Build 3096

If you have installed KeyHelp on Debian 12 after 2023-09-29 - 14:10:00 GMT+2 and running KeyHelp 23.2 Build 3097 you are not affected and do not need to apply this patch. All other OS are also not affected as well.


Bug description:
The 'System Status -> Rspamd Web Interface' shows 'Forbidden'.
The bug is triggered when using 'keyhelp-toolbox -> Rewrite KeyHelp configuration files'.


Reason:
Debian 12 picks the wrong template when it is instructed to rewrite /etc/apache2/keyhelp/keyhelp.conf


How to fix:
1) Call the following command.

Code: Select all

wget https://install.keyhelp.de/misc/php82/update -O /home/keyhelp/www/keyhelp/cronjob/jobs/update.php ; chown keyhelp:keyhelp /home/keyhelp/www/keyhelp/cronjob/jobs/update.php ;
2) If your 'System Status -> Rspamd Web Interface' already shows a 'Forbidden, call 'keyhelp-toolbox -> Rewrite KeyHelp configuration files' to trigger a rewrite of the corresponding config file.