Changelog background image

Never miss a release, subscribe to our product updates.

We protect your privacy.

Thank you!

You will now be informed about our future product updates.

Star Passbolt on Github

It’s the best way to receive release notes instantly and show that you support Passbolt.

Star Passbolt repo
Github illustration
All articles

How to Set-Up a Highly-Available Passbolt Environment

8 min. read

LV

Louis Vallat

3 July, 2025

Passbolt Highly-Availability

mysql -u <the Passbolt database user> -p <the Passbolt database name>
CREATE TABLE `sessions` (
  `id` char(40) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
  `created` datetime DEFAULT CURRENT_TIMESTAMP, -- Optional
  `modified` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- Optional
  `data` blob DEFAULT NULL, -- for PostgreSQL use bytea instead of blob
  `expires` int(10) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
'Session' => [
    'defaults' => 'database'
],
[galera]
# Mandatory settings
wsrep_on                   = ON
wsrep_provider             = /usr/lib/galera/libgalera_smm.so
wsrep_cluster_name         = "Passbolt HA Galera"
wsrep_cluster_address      = gcomm://<ha-1 IP>,<ha-2 IP>,<ha-3 IP>
binlog_format              = row
default_storage_engine     = InnoDB
innodb_autoinc_lock_mode   = 2
innodb_force_primary_key   = 1

# Allow server to accept connections on all interfaces.
bind-address               = 0.0.0.0

# Optional settings
#wsrep_slave_threads       = 1
#innodb_flush_log_at_trx_commit = 0
log_error                  = /var/log/mysql/error-galera.log
$ mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 36
Server version: 10.11.11-MariaDB-0+deb12u1 Debian 12

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help.  Type '\c' to clear the current input statement.

MariaDB [(none)]> show status like 'wsrep_cluster_size';
+--------------------+-------+
| Variable_name      | Value |
+--------------------+-------+
| wsrep_cluster_size | 1     |
+--------------------+-------+
1 row in set (0.001 sec)

MariaDB [(none)]>
bind-address = 0.0.0.0
mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 49
Server version: 10.11.11-MariaDB-0+deb12u1 Debian 12

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help.  Type '\c' to clear the current input statement.

MariaDB [(none)]> show status like 'wsrep_cluster_size';
+--------------------+-------+
| Variable_name      | Value |
+--------------------+-------+
| wsrep_cluster_size | 3     |
+--------------------+-------+
1 row in set (0.001 sec)

MariaDB [(none)]>
sudo -u www-data bash -c "/usr/share/php/passbolt/bin/cake passbolt healthcheck"
[PASS] No error found. Nice one, sparky!

Continue reading

Passbolt 5.2 Introduces Multiple URIs and Custom Icons

3 min. read

Passbolt 5.2 Introduces Multiple URIs and Custom Icons

Passbolt v5.2 brings personalised resource icons, multiple URIs per resource and adds Slovenian and Ukrainian language support. Check out all the details!

Passbolt team

Passbolt team

17 June, 2025

Passbolt 5.3 Introduces Custom Fields and Performance Improvements

4 min. read

Passbolt 5.3 Introduces Custom Fields and Performance Improvements

Passbolt 5.3 introduces custom fields, allowing structured key-value data alongside credentials and includes performance enhancements.

Passbolt team

Passbolt team

16 July, 2025

Flag of European UnionMade in Europe. Privacy by default.