Raspberry Pi install

I did follow those steps and I get, these errors, how to fix?

Fixed it by removing php sources.
But why it uses php 7.4?

Err:1 https://packages.sury.org/php bullseye/main armhf php8.3-curl armhf 8.3.2-1+0~20240120.16+debian11~1.gbpb43448
  404  Not Found [IP: 143.244.38.136 443]
Err:2 https://packages.sury.org/php bullseye/main armhf php8.3-intl armhf 8.3.2-1+0~20240120.16+debian11~1.gbpb43448
  404  Not Found [IP: 143.244.38.136 443]
Err:3 https://packages.sury.org/php bullseye/main armhf php8.3-mysql armhf 8.3.2-1+0~20240120.16+debian11~1.gbpb43448
  404  Not Found [IP: 143.244.38.136 443]
Err:4 https://packages.sury.org/php bullseye/main armhf php8.3-fpm armhf 8.3.2-1+0~20240120.16+debian11~1.gbpb43448
  404  Not Found [IP: 143.244.38.136 443]
Err:5 https://packages.sury.org/php bullseye/main armhf php8.3-gd armhf 8.3.2-1+0~20240120.16+debian11~1.gbpb43448
  404  Not Found [IP: 143.244.38.136 443]
Err:6 https://packages.sury.org/php bullseye/main armhf php8.3-pgsql armhf 8.3.2-1+0~20240120.16+debian11~1.gbpb43448
  404  Not Found [IP: 143.244.38.136 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php8.3/php8.3-curl_8.3.2-1%2b0%7e20240120.16%2bdebian11%7e1.gbpb43448_armhf.deb  404  Not Found [IP: 143.244.38.136 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php8.3/php8.3-intl_8.3.2-1%2b0%7e20240120.16%2bdebian11%7e1.gbpb43448_armhf.deb  404  Not Found [IP: 143.244.38.136 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php8.3/php8.3-mysql_8.3.2-1%2b0%7e20240120.16%2bdebian11%7e1.gbpb43448_armhf.deb  404  Not Found [IP: 143.244.38.136 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php8.3/php8.3-fpm_8.3.2-1%2b0%7e20240120.16%2bdebian11%7e1.gbpb43448_armhf.deb  404  Not Found [IP: 143.244.38.136 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php8.3/php8.3-gd_8.3.2-1%2b0%7e20240120.16%2bdebian11%7e1.gbpb43448_armhf.deb  404  Not Found [IP: 143.244.38.136 443]
E: Failed to fetch https://packages.sury.org/php/pool/main/p/php8.3/php8.3-pgsql_8.3.2-1%2b0%7e20240120.16%2bdebian11%7e1.gbpb43448_armhf.deb  404  Not Found [IP: 143.244.38.136 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Hello @martzy and welcome to the forum!

In some distributions and versions, the PHP version available from their official repositories could be a bit outdated and you need to install the newest manually.
It is because the maintainers of the distributions give you support for previously tested versions, ensuring they will work without any issues. Still, sometimes they stop updating due to the end of the support term.

For security reasons, Passbolt requires PHP 8.3 version or higher and this is why you are receiving these errors (maybe you use by default another version or you have not installed the modules to the newer version).

So, you need to install it manually if it is not on your official repository and update the source to let your system know that the default version to use is that you have installed. Then you will use PHP without providing the version every time you install or use it.

Also, you can use multiple PHP versions and just indicate the version you want to use at the moment. For example, installing mysql module for PHP 8.2:

$ sudo apt install php8.2-mysql

Did had php 8.3 installed and when running passbolt-repo-setup.ce.sh it said I had to remove all PHP, so I did, I ran the script and it installs php 7.4.

@martzy

If you are using a vanilla server with PHP8.3 already installed, you can skip the PHP validation check.

With PHP8.3 installed, download the setup script and the SHASUM:

wget "https://download.passbolt.com/ce/installer/passbolt-repo-setup.ce.sh"
wget "https://github.com/passbolt/passbolt-dep-scripts/releases/latest/download/passbolt-ce-SHA512SUM.txt"

Then execute this script with the --passbolt-migrate argument.

sha512sum -c passbolt-ce-SHA512SUM.txt && sudo bash ./passbolt-repo-setup.ce.sh  --passbolt-migrate  || echo \"Bad checksum. Aborting\" && rm -f passbolt-repo-setup.ce.sh

Hope this helps :slight_smile:

source: Passbolt Help | Migrate passbolt CE from install scripts to Debian package