After migrating Passbolt to Postgresql following this guide ( https://www.passbolt.com/blog/how-to-configure-passbolt-with-postgresql-experimental - Using Option 3 ), I saw some errors in the Passbolt logs regarding the id columns in different tables.
After looking myself and asking some AIs, i saw ALL IDs where using char(36) type for them. Tho Cake excpect in Postgresql a type of uuid. After running some SQL commands to changes the IDs into a uuid type ( as well as foreign keys, like created_by ) I no longer have errors in the Passbolt logs.
If some of you have a similar issue, you can take a look at my conversation with claude to fix it ( https://claude.ai/share/350a56f0-357a-480b-8d7c-5021b0751962 )
And if possible, can the Passbolt Team add a specific migration in the migrate_postgres command to convert the id columns to uuid types, that would be perfect.
Installations informations
- K8S install (via helm)
- Version 5.9.0
- Old mariaDB from the helm (iirc mariadb 10 or 11)
- new Psql is a cloudnative PG 17 cluster
- Using Redis