Upgrade passbolt -ce 4.12 to 5.1 while upgrading ubuntu 22.04 to 24.04

I had an Ubuntu Server 22.04 running passbolt-ce 4.12. Recently, I realized that I could no longer install updates. The reason was that newer passbolt versions require at least PHP 8.2. Ubuntu 22.04 comes with php 8.1

So I decided to switch to Ubuntu 24.04.

To do this, I moved the passbolt.sources file from the /etc/apt/sources.list.d/ directory to my home directory.

I then installed all updates using apt update and apt upgrade. I was then able to perform a distribution upgrade to Ubuntu 24.04 using do-release-upgrade.

Since Passbolt uses the same packages for both Focal and Noble, i thought it should be okay to move the passbolt.sources files back to /etc/apt/sources.list.d/ after the distribution upgrade.

Then I installed the Passbolt upgrade using apt update && apt upgrade.

Finally, I just had to adjust my Nginx configuration to correct the connection to PHP. To do this, I replaced unix:/run/php/php8.1-fpm.sock; with unix:/run/php/php8.3-fpm.sock;.

Now everything seems to be working again.

Maybe someone has any suggestions as to whether anything else needs to be changed.

EDIT: The new Meta Encryption is not configured. So meta data will not be encrypted. I leave this at it is for now.