Bad checksum Aborting - Rocky Linux Installation

Checklist
I have read intro post: About the Installation Issues category
I have read the tutorials, help and searched for similar issues
I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue

My Server information:

O.S = Rocky Linux 9.2 (Blue Onyx) 64 bits
Web Server = nginx
Database = MariaDB 10.6.12
PHP = PHP 8.2.10
Passbolt = Last version

Steps to reproduce this issue:
What steps did you take?
1.- Download passbolt-repo-setup.ce.sh
2.- wget ā€œhttps://github.com/passbolt/passbolt-dep-scripts/releases/latest/download/passbolt-ce-SHA512SUM.txtā€
3.- sha512sum -c passbolt-ce-SHA512SUM.txt && sudo bash ./passbolt-repo-setup.ce.sh || echo ā€œBad checksum. Abortingā€ && rm -f passbolt-repo-setup.ce.sh

– What happened?
Log:

passbolt-repo-setup.ce.sh: La suma coincide
Error al cargar el complemento ā€œconfig_managerā€: ā€˜*prog’
advertencia:Signature not supported. Hash algorithm SHA1 not available.
error: rpmdbNextIterator: omitiendo h# 1258
EncabezadoV3 RSA/SHA1 Signature, ID de clave bdda8475: BAD
EncabezadoSHA256 digest: OK
EncabezadoSHA1 digest: OK
PHP is already installed, you must execute this script on a vanilla server
Exit
Bad checksum. Aborting

– What did you expect instead?
The script create a new repository to able install passbolt-ce-server

OK, this is related with this:

To solve this, edit this file:

sudo nano passbolt-repo-setup.ce.sh

add LANG=C.UTF-8 before dnf like this:

LANG=C.UTF-8 dnf

This no solve the issue at all.

Another option is edit passbolt-repo-setup.ce.sh

sudo nano passbolt-repo-setup.ce.sh

Change values

LC_ALL=ā€œen_US.UTF-8ā€
LC_CTYPE=ā€œen_US.UTF-8ā€

to:

LC_ALL=ā€œC.UTF-8ā€
LC_CTYPE=ā€œC.UTF-8ā€

After make this changes I get this messages:

sudo sha512sum -c passbolt-ce-SHA512SUM.txt && sudo bash ./passbolt-repo-setup.ce.sh || echo ā€œBad checksum. Abortingā€

passbolt-repo-setup.ce.sh: La suma no coincide
sha512sum: ATENCIƓN: 1 suma calculada NO coincidió
Bad checksum. Aborting

The repository is not created…

Hi :wave:
@ricardoalx.perez

Welcome to the community.

I am hoping this link might help you.

Step 1. Download our dependencies installation script:

wget "https://download.passbolt.com/ce/installer/passbolt-repo-setup.ce.sh"

Step 2. Download our SHA512SUM for the installation script:

wget https://github.com/passbolt/passbolt-dep-scripts/releases/latest/download/passbolt-ce-SHA512SUM.txt

Step 3. Ensure that the script is valid and execute it:

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

Hi :wave:,

I don’t think this is passbolt related. It is another issue on your setup.

This is your issue. The setup script stops if a PHP installation is found. This script is intended to be executed on a vanilla server.

Bad checksum is not the issue.

Best,

1 Like

Hi, what version of PHP is required to Passbolt? I have installed PHP 8.2.10

Hi,

Passbolt works with PHP from 7.4 to 8.2.

But the installation script handle PHP setup. That’s why the script stops if PHP is already installed.

Cheers,