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,