All articles

Automating Passbolt Maintenance, Part 2: Prepare the first run on large databases

5 min. read

Antony Bartolomucci

Antony Bartolomucci

23 March, 2026

Automating Passbolt Maintenance Part 2: Prepare the first run on large databases

  • Slower queries and degraded responsiveness, especially on the first login that display all the resources. 
  • More disk pressure because even if you delete rows, InnoDB won’t necessarily return space to the OS immediately.
  • Potential operational risks since large deletion operations can lock, stall or timeout resulting in long downtime for your production environment. 
  • A fresh snapshot of the virtual machine or a verified full backup.
  • A clearly communicated maintenance window because users may be impacted.
  • If you can, a rehearsal on a pre-production environment.
sudo ./passbolt_maintenance.sh -r 730 --limit 1000000
sudo ./passbolt_maintenance.sh -r 455 --limit 1000000
sudo ./passbolt_maintenance.sh -r 365 --limit 1000000
sudo ./passbolt_maintenance.sh -r 180 --limit 1000000
sudo ./passbolt_maintenance.sh -r 90 --limit 1000000
  • It will lock the action_logs table during the operation, since I told you above that every action is logged, this will obviously make passbolt unusable at all for the duration.
  • This can take 30 to 60+ minutes (sometimes even more) depending on the table size and hardware
  • You may need roughly up to table size worth of additional free disk space temporarily because the rebuild copies data during optimization. 
OPTIMIZE TABLE action_logs;

Post maintenance validation

  • Is passbolt responsive again? 
  • Does login and core operations work?
    • Do you see some improvements in terms of speedness? 
  • Did the row counts and/or table sizes have dropped materially?

Continue reading

Ansible lookup plugin is back, rewritten for Passbolt 5

9 min. read

Ansible lookup plugin is back, rewritten for Passbolt 5

Manage secrets securely in Ansible with the newly rewritten Passbolt 5 lookup plugin. Support for encrypted metadata, account kits, TOTP, and custom fields is finally here. Explore the new architecture and try it out with our ready-to-use Docker playground.

Antony Bartolomucci

Antony Bartolomucci

18 March, 2026

Passbolt Safari Extension: Now Available in Open Beta

4 min. read

Passbolt Safari Extension: Now Available in Open Beta

The Passbolt Safari extension is now in open beta! Install it via TestFlight on your Mac, recover or set up your account, and share early feedback with the team.

Stephane

Stephane

11 March, 2026

Flag of European UnionMade in Europe. Privacy by default.