Hi I have been here before (worked for a different comapany back then, user pimzwager)
I have set up a new server running Centos 10 and following the manual: Passbolt Help | Install Passbolt CE on Debian 10
at the end of step 1, there is an error:
Creating config file /etc/php/7.3/fpm/php.ini with new version
Created symlink /etc/systemd/system/multi-user.target.wants/php7.3-fpm.service → /lib/systemd/system/php7.3-fpm.service.
Setting up php-gnupg (1.4.0-3) …
Setting up php-fpm (2:7.3+69) …
Setting up php-cli (2:7.3+69) …
Setting up passbolt-ce-server (3.2.1-3~1627390708.gbp663784) …
/var/lib/dpkg/info/passbolt-ce-server.postinst: line 156: mysql: command not found
dpkg: error processing package passbolt-ce-server (–configure):
installed passbolt-ce-server package post-installation script subprocess returned error exit status 127
Processing triggers for systemd (241-7~deb10u7) …
Processing triggers for nginx-full (1.14.2-2+deb10u4) …
Triggering nginx reload …
Processing triggers for man-db (2.8.5-2) …
Processing triggers for libc-bin (2.28-10) …
Processing triggers for php7.3-fpm (7.3.29-1~deb10u1) …
Errors were encountered while processing:
passbolt-ce-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
starting step 2 you should go the the website, but it seems the webserver isn’t running.
/var/lib/dpkg/info/passbolt-ce-server.postinst: line 156: mysql: command not found
It seems passbolt-ce-server post-configuration scripts didn’t find the mysql command who should be installled as a dependency of the package.
I was able to reproduce your issue by adding --no-install-recommends to the apt install command. Do you have any configuration on your Debian server who tells to apt to not install recommended packages ?
root@pb:~# sudo apt-get --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up passbolt-ce-server (3.2.1-3~1627390708.gbp663784) …
Well done! Visit http://_ to finish installation
=====================================================================
Processing triggers for nginx-full (1.14.2-2+deb10u4) …
Triggering nginx reload …
Processing triggers for php7.3-fpm (7.3.29-1~deb10u1) …
root@pb:~#
this issue was already solved when you posted this. the problem now is that i do get a reply on the browser, but not the page to continue the configuration.
You have “default” and “nginx-passbolt.conf” in your /etc/nginx/sites-enabled folder.
In nginx-passbolt.conf server_name is set to an underscore. It means it will reply to any request:
server_name _;
I guess it is the same in your default.conf file. As both files define themselves as the default website to serve, nginx choose the first one, who is default.conf.
If you want to see Passbolt, define a server_name like this in the nginx-passbolt.conf file
server_name put.here.your.passbolt.domain;
Or delete the default.conf file and restart nginx.