Hello,
I managed to install passbolt untill ./bin/cake passbolt install
The problem comes right after that when I try to visit the activation link provided in the console after successfull install : I get a connection timeout.
I have nginx server running on top of a recent standard debian distro. Here is my nginx vhost config:
server{
listen 80;
listen [::]:80;
server_name my_domain.com;
charset utf-8;
root /var/www/my_domain.com; # this is correct
index index.php index.html;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
}
location / {
try_files $uri $uri/ =404;
}
}
The healthcheck is OK for the most part. I only have ssl errors (which is natural since I don’t have ssl setup yet) and this :
[FAIL] Could not reach the /healthcheck/status with the url specified in App.fullBaseUrl
[HELP] Check that the domain name is correct in config/passbolt.php
[HELP] Check the network settings
Which I don’t understand because this parameter should be ok imo :
'App' => [
// A base URL to use for absolute links.
// The url where the passbolt instance will be reachable to your end users.
// This information is need to render images in emails for example
'fullBaseUrl' => "http://my_domain.com",
],
I think my nginx config might be wrong since original install with apache requires url rewritting, and I’m not sure how nginx handles that…
So I’ve tried different things :
- Restarting nginx server every time a change was made
- Trying an other nginx config from this post
- I’ve tried adapting config from this post as well
- I’ve tried changing fullBaseUrl to http, https, with and without subdomain
And now I’m a bit at a loss…
If it was just me, I would have used Apache and done just like in installation documentation since I’m not very good with server configuration. But my company already has a super-tiny server with nginx on it and other applications configured. So switching to Apache is not an option here.
edit : ALso, I don’t know it it’s right but every file and folder inside /var/www/my_domain.com is owned by www-data user. I don’t know if this is right but that’s how I have proceeded for other installs. I’m not very good with linux permission system so I might have messed up something here too
Any hint ?
Also, I’ve just noticed now but I have lost the activation link in the process of testing and troubleshooting… Is there anyway to recover it or do I need to install the whole thing again ?