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.)
[] 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
Hi, I am trying to setup Passbolt to test on our server however, I am running into some problems at the MySQL stage. We are hosting the server on an Azure VM and would like to connect to a Azure MySQL db. We have already created a new user on the Azure MySQL db. On the installation page, my config goes something like:
Here is the error message I get: “A connection could not be established with the credentials provided. Please verify the settings”. There are no logs in error.log either. The healthcheck link was broken so I am unsure on how to generate that.
I have already added the server to the security policy, and have verified that I can connect to the database via the terminal. Generally, when we connect via PHP we do something like this:
You can provide information about SSL certificate in the configuration. Under the database section in config/passbolt.php you can add information such as
If you used Docker / environment variables to configure, you can use the following: DATASOURCES_DEFAULT_SSL_KEY, DATASOURCES_DEFAULT_SSL_CERT, DATASOURCES_DEFAULT_SSL_CA.
I am currently still on the web installer portion, so it looks like my passbolt.php file hasn’t been created yet. Should I be manually copying this over from passbolt.default.php? I unfortunately am not using Docker, so I am not sure how to pass those variables over php-fpm.
Thanks @remy, that pointed me in the right direction. I am now trying to run: sudo su -s /bin/bash -c "./bin/cake passbolt install" www-data but am having some issues with my license.
When I run the license check from my user, I am able to see my details and the check passes. When running through www-data, I get an error saying that the license is invalid. I ran a healthcheck and everything is passing with no errors or warnings, any idea what the problem could be?
www-data:
user@server:/var/www/passbolt$ sudo su -s /bin/bash -c "./bin/cake passbolt license_check" www-data
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
---------------------------------------------------------------
Subscription key error: The license content or signature is not valid.
It looks like you could use some help.
We are here for you. You can contact us at sales@passbolt.com
user:
user@server:/var/www/passbolt$ bin/cake passbolt license_check
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
---------------------------------------------------------------
Thanks for choosing Passbolt Pro
Below are your subscription key details
# Removed license details
For any question / feedback / subscription renewal,
kindly contact us at sales@passbolt.com