Symptoms
A recent update to version 11.132.0.0, may cause errors with Dovecot-SOLR. It is running, but the status checks fail and return an error.
Description
The error happens when the cron job for cpanel-dovecot-solrdisable and solr_commit are run.
/usr/bin/test -e /etc/cpanel-dovecot-solrdisable || /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit
Use of uninitialized value $current_username in concatenation (.) or string at /var/cpanel/perl/Cpanel/Dovecot/Solr/Utils.pm line 82.
Use of uninitialized value $current_password in concatenation (.) or string at /var/cpanel/perl/Cpanel/Dovecot/Solr/Utils.pm line 82.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-49530. Follow this article to receive an email notification when a solution is published in the product.
Workaround
Reinstall the cpanel-dovecot-solr package by running:
dnf reinstall cpanel-dovecot-solr
/usr/local/cpanel/3rdparty/scripts/setup_cpanel_dovecot_fts