Installation issues

I install passbolt on my website when I trying
PHP GPG Module is installed and loaded. but showing
“The environment variable GNUPGHOME is set to /home/wbadmin8ty6/.gnupg, but the directory does not exist.”

Hi @pritesh and welcome to Passbolt Community Forum :handshake:

According to your screenshot, I guess you are using a CentOS 7. Did you installed Passbolt following Passbolt Help | Install Passbolt CE on CentOS 7 ?

If yes, did you encounter any issue ? Is your server a fresh server without anything else ? Do you have selinux enabled ?

By default, GNUPGHOME is set to the web server home path.

I guess there is something wrong with your nginx user permissions.

yes i am using CENTOS 7.9 kvm [fete5]

Did you try to login as wbadmin8ty6 user and launch this command ?

gpg --list-keys

It will create your missing folder.

Thanks _jc .
pass bolt installed but not sending emails

Hi @pritesh, you will find email troubleshooting how-to here: Passbolt Help | Why are my emails not being sent?

hello @_jc when i run this

$ ./bin/cake passbolt send_test_email

It showing email send successfully but I don’t get any email


Can you send the full output of the command ?

Thanks :slight_smile:

[wbadmin8ty6@fete5 isec]$ ./bin/cake passbolt send_test_email

 ____                  __          ____
/ __ \____  _____ ____/ /_  ____  / / /_

/ // / __ `/ / / __ / __ / / _/
/ / // ( |
) /
/ / /
/ / / /
/ _

Open source password manager for teams

Debug email shell

Email configuration

Port: 587
Password: *********
TLS: true
Sending email from: isec 8ty6
Sending email to:

[220] ESMTP Exim 4.94.2 #2 Tue, 05 Oct 2021 02:27:02 -0700
[220] We do not authorize the use of this system to transport unsolicited,
[220] and/or bulk e-mail.

EHLO localhost
[250] Hello localhost []
[250] SIZE 52428800
[250] 8BITMIME
[250] HELP
[220] TLS go ahead
EHLO localhost
[250] Hello localhost []
[250] SIZE 52428800
[250] 8BITMIME
[250] HELP
[235] Authentication succeeded
[250] OK
[250] Accepted
[354] Enter message, ending with “.” on a line by itself
From: isec 8ty6 <
Date: Tue, 05 Oct 2021 09:27:02 +0000
Subject: Passbolt test email
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

If you receive this email, it means that your passbolt smtp configuration is working fine.

[250] OK id=1mXgj1-00028G-Ea

The message has been successfully sent!
[wbadmin8ty6@fete5 isec]$

when i run this
./bin/cake EmailQueue.sender
i got mail only on this admin email(
not other mails ids

Hi, the send_test_email command show us than the mail has been sent to your server on port 587.
At this point, you should have a look at Exim logs, as it seems this server uses Exim as MTA. You should have a look at your spam folder too.

this cronjob is right or wrong

/usr/local/bin/php /home/wbadmin8ty6/public_html/platform/isec/bin/cron >> /var/log/passbolt.log


A cronjob must contains a cron schedule expression. You can use to test it.
But as Passbolt cron job must be run every minute, this expression must be * * * * *

You must edit the cronjob as the web server user who will execute this cronjob:

$ sudo -H -u replace-this-with-your-nginx-user crontab -e

Add your cronjob as follow:

* * * * * /bin/bash /root/path/to/passbolt/bin/cron

If you look at Passbolt source code, you will see than the cron task script is a bash script: passbolt_api/cron at master · passbolt/passbolt_api · GitHub so it cannot be launched with php.

Another remark, if you execute the cron script as your nginx user, and if you want to redirect output of cron to /var/log/passbolt.log, you should take care to filesystem rights as this user won’t be able to write to this file without set proper rights before.

You can create this file and set correct rights like this:

$ sudo touch /var/log/passbolt.log # if this file doesn't exist
$ sudo chown your-nginx-user:your-nginx-user /var/log/passbolt.log


whan i command this on terminal I got error

bash: ./bin/cake: Permission denied


This command must be executed as the user who is running the nginx server. It is usually the nginx user on CentOS7 and www-data on Debian family distros.

This command should work for you:

sudo su - nginx -s /bin/bash -c "/var/www/passbolt/bin/cake EmailQueue.sender"

im trying this command but i get error wbadmin8ty6 is not in the sudoers file. This incident will be reported.

If your current user is not in sudoers file, execute the command as root user :slight_smile: