Hi @farfade, did you have a previously working setup? I would think it should still work.
If you are starting fresh, another user in the past previously used a guide on the web - I just confirmed it is live still. I would pay attention to just section 5 as everything else is outdated. I have not tested to see if this will currently work but if you’re using Apache on your own hopefully you are comfortable with Apache.
Maybe your files need to be accessible by the apache webserver user.
Thank you for answering.
I had (and I can still revert to) a working setup (passbolt 2 installed by script in another folder)
It seems to me that something brand new in passbolt 3 is the installation of proxy_fcgi and php7.3-fpm debian packages.
I was instructed to run a2enmod proxy_fcgi and a2enconf php7.3-fpm and I did it.
But I’m not sure how it was working with passbolt 2… I was thinking I already used php7.3 with passbolt 2. Is proxy_fcgi a new requirement ?
Sure ! The only change I’ve done is changing the old DocumentRoot and Directory directives from my custom folder to the one installed by the deb package :
LogLevel debug
ServerName passbolt.myhost.fr
#Turn on SSL
Include configuration-blocks/ssl/pub-ssl
DocumentRoot /usr/share/php/passbolt/webroot
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /usr/share/php/passbolt/webroot>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<FilesMatch “\.(php)$”>
SSLOptions +StdEnvVars
</FilesMatch>
</VirtualHost>
If I try to access a static php page I drop in the webroot, just printing basic php info, it works.
But as soon as I load the passbolt index.php, it tries to load /usr/share/php/passbolt/webroot/auth/login instead of trying to rewrite it to target the correct URL passbolt is expecting.
@diego Should the new debian package take into consideration previous installation script files related to Apache? (Like the .htaccess file as noted above.)
Yeah we could add the htaccess mention on the documentation. As a side note support for apache built-in on the debian/ubuntu package should come in the following version(s) as it is on the backlog.