New user emails stopped working

Checklist
[x ] I have read intro post: About the Installation Issues category
[x ] I have read the tutorials, help and searched for similar issues
[x ] I provide relevant information about my server (component names and versions, etc.)
[x ] I provide a copy of my logs and healthcheck
[x ] I describe the steps I have taken to trouble shoot the problem
[x ] I describe the steps on how to reproduce the issue

Environment:
CentOS Linux release 7.6.1810 (Core)
Passbolt version 2.10.0/2.12.0

Emails have suddenly stopped being sent

[root@passbolt ~]# tailf /var/log/passbolt.log
Email 460 was sent
Email 461 was sent
Email 462 was not sent
Email 462 was not sent
Email 462 was not sent
Email 462 was not sent
Email 463 was not sent
Email 463 was not sent
Email 463 was not sent
Email 463 was not sent

The emails are sent every minute from thie root user cron entry:

          • /var/www/passbolt/bin/cake EmailQueue.sender >> /var/log/passbolt.log

The cronjob send the following error message:

PHP Fatal error: You must enable the gnupg extension to use Passbolt. in /var/www/passbolt/config/requirements.php on line 31

When I run the test (as the web server user nginx) I get the same error:

/var/www/passbolt/bin/cake passbolt healthcheck
PHP Fatal error: You must enable the gnupg extension to use Passbolt. in /var/www/passbolt/config/requirements.php on line 31

So the fix looks easy enough but it all looks to be set up:

[root@passbolt mail]# cat /etc/php.d/gnupg.ini
extension=gnupg.so

[root@passbolt bin]# php --info | grep ‘gnupg support’
gnupg support => enabled

Doesn’t this mean it’s setup for CentOS7? I’m a bit confused as to what the problem might be. At the moment I can’t add any new users because of the email problem. Any ideas?

Cheers, Matt

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.