Apache returns 404 " /setup/install/e7bbc5ac... was not found on this server." after installing Passbolt V2

I set up Passbolt behind Nginx proxy, i configured domain with letsencrypt on proxy server and I am able
to access Apache welcome page with http://mydomain/passbolt, but when i installed passbolt successfully and tried to access the link that i get at the end of installation, Apache returns ERROR 404 from the title above:
" /setup/install/e7bbc5ac… was not found on this server."

in passbolt.php file my url looks like this:

'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/passbolt'

Anyone has an idea?


If you are running passbolt in a directory you should not add the directory in the fullBaseUrl, it will be detected automatically.

@remy Ok, i changed that in the meantime, but now when i enter username and password, it gets stuck on
"Loading, please wait… “, when i go rightclick + inspect, i get : Failed to load resource: the server responded with a status of 404 (Not Found)” and the critical js file is steal.production.js

Hi @Miodragl,

I’m not sure what’s wrong with your setup, but I just tested running the v2.0.3 in a subdirectory with apache rewriting enabled at the top level and it worked (with fullBaseUrl set to www.passbolt.test). See apache config bellow:

Apache config:

<IfModule mod_ssl.c>
        <VirtualHost _default_:443>
                ServerAdmin webmaster@localhost
                ServerName www.passbolt.test
                DocumentRoot /var/www

                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined

                SSLEngine on
                SSLCertificateFile    /etc/apache2/ssl/passbolt.crt
                SSLCertificateKeyFile /etc/apache2/ssl/passbolt.key

                <FilesMatch "\.(cgi|shtml|phtml|php)$">
                                SSLOptions +StdEnvVars
                <Directory /usr/lib/cgi-bin>
                                SSLOptions +StdEnvVars

        <Directory /var/www>
            Options FollowSymLinks
            AllowOverride All
            Require all granted


# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

@remy can i do this somehow without ssl with port 80 ?

Most likely it works without SSL, as long as URL rewriting is enabled. See. https://book.cakephp.org/3.0/en/installation.html for more information.

can i send you my configuration ? i’ve already enable rewrite module, but still doesn’t work.

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName passbolt

DocumentRoot /var/www/passbolt

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

<Directory /var/www/passbolt>
    Options FollowSymLinks
    AllowOverride All
    Require all granted

I’m not sure how it work with /var/www/passbolt as DocumentRoot, you notice mine point to /var/www like you would get with hosting provider like GoDaddy or what not. You probably need to play around the config and the rewrite rules.

@remy, when i set appurl to ‘https://my_domain’ , it gets stuck on “loading, please wait”, but when i set appurl to
“https://my_domain/passbolt”, i loged sucessfully and my profile page looks just fine, but login page looks like this:

Hi @remy, i am new to passbolt and i just followed as per the documentation in this link https://help.passbolt.com/hosting/install/ce/centos-7.html

when i perform ./bin/cake passbolt healthcheck it shows me below 5 errors,

[FAIL] Could not reach the /healthcheck/status with the url specified in App.fullBaseUrl
[FAIL] SSL peer certificate does not validate
[FAIL] Hostname does not match when validating certificates.
[FAIL] Passbot is not configured to force SSL use.
[FAIL] App.fullBaseUrl is not set to HTTPS.

I am not sure how to solve these errors as i havent configured https. Also i am using nginx and am getting the 404 error when i try to register the passbolt.

Do i need to write any rewrite rule if i use apache or nginx? i dont find any information about this in the documentation too… Please guide me

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.