Help Search

How to install Passbolt non-interactive ?

This method is useful for automating passbolt installation and for users with specific needs.

If you don’t want to install mysql locally or you don’t want to use nginx as http server you can run the non-interactive command with --no-install-recommends param:

sudo DEBIAN_FRONTEND=noninteractive apt-get install \
  --no-install-recommends passbolt--server

You can also automate the installation by pre-fill answers with this command (run one command per parameter):

echo passbolt--server <parameter> <type> <value> | \
  sudo debconf-set-selections

Parameter and type reference table:

Parameter Type Description
passbolt/mysql-configuration boolean To enable MySQL, can be true (default) or false
passbolt/mysql-passbolt-username string Passbolt database username
passbolt/mysql-passbolt-password password Passbolt database password
passbolt/mysql-passbolt-password-repeat password Passbolt database password confirm (must be the same as passbolt/mysql-passbolt-password)
passbolt/mysql-passbolt-dbname string Passbolt database name
passbolt/nginx-configuration boolean To enable Nginx, can be true (default) or false
passbolt/nginx-configuration-three-choices select SSL configuration: When certbot package is installed, you can choose between auto, manual and none
passbolt/nginx-configuration-two-choices select SSL configuration: When certbot package is not installed, you can choose only between manual and none
passbolt/nginx-domain string Passbolt domain name (FQDN)
passbolt/nginx-certificate-file string Absolute path to SSL certificate path (applies only if nginx-configuration-*-choices is manual)
passbolt/nginx-certificate-key-file string Absolute path to SSL key path (applies only if nginx-configuration-*-choices is manual)

Once done, run the non-interactive install command:

sudo DEBIAN_FRONTEND=noninteractive apt-get install passbolt--server

Not finding what you are looking for? You can also ask the community on the forum.

Talk to a human
🍪   Do you accept cookies for statistical purposes? (Read more) Accept No thanks!