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
I installed the community version of Passbolt following the documentation available on the platform Passbolt Help | Install Passbolt CE on Red Hat 8.
Tool Successfully Installed and had all the initial configuration done, able to authenticate,
Each HEALTHCHECK I perform It fails with an error and I also ran the Status-report command and it failed as well with a similar error. That is the first problem i noticed, Error says operation not permitted so this may be a permission issue but I am not sure at what level
The second Issue I see is I had the once to have healthcheck display on the browser (once) and it one error that it mentioned there was the PASSBOLT Repo is not able to check for updates even though it is properly configured. while browsing the help center I noticed my install does not have the new update/feature of folders so I will do with some help looking into this as wells
ERROR WHILE RUNNING COMMAND
Command = sudo /usr/share/php/passbolt/bin/status-report
OUTPUT
PHP 8.1.16 (cli) (built: Feb 14 2023 18:59:41) (NTS gcc x86_64)
mysql Ver 15.1 Distrib 10.3.35-MariaDB, for Linux (x86_64) using readline 5.1
gpg: out of core handler ignored in FIPS mode
gpg (GnuPG) 2.2.20
ERROR: /usr/share/php/passbolt/bin/utils.sh: line 64: composer: command not found
PHP Warning: include(/etc/passbolt/passbolt.php): Failed to open stream: Operation not permitted in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Core/Configure/Engine/PhpConfig.php on line 89
PHP Warning: include(): Failed opening '/etc/passbolt/passbolt.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php:/usr/share/pear:/usr/share/php') in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Core/Configure/Engine/PhpConfig.php on line 89
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
-------------------------------------------------------------------------------
Healthcheck shell.......Exception: ltrim(): Argument #1 ($string) must be of type string, null given
In [/usr/share/php/passbolt/src/Utility/Migration.php, line 52]
Command = sudo -H -u nginx bash -c “/usr/share/php/passbolt/bin/cake passbolt healthcheck”
OUTPUT
PHP Warning: include(/etc/passbolt/passbolt.php): Failed to open stream: Operation not permitted in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Core/Configure/Engine/PhpConfig.php on line 89
PHP Warning: include(): Failed opening '/etc/passbolt/passbolt.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php:/usr/share/pear:/usr/share/php') in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Core/Configure/Engine/PhpConfig.php on line 89
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
-------------------------------------------------------------------------------
Healthcheck shell.......Exception: ltrim(): Argument #1 ($string) must be of type string, null given
In [/usr/share/php/passbolt/src/Utility/Migration.php, line 52]
********************************************************************************************
LINES ERRORS IS COMPLAINING ABOUT IN THE FILES
PHP Warning: include(): Failed opening '/etc/passbolt/passbolt.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php:/usr/share/pear:/usr/share/php') in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Core/Configure/Engine/PhpConfig.php on line 89
80 * @throws \Cake\Core\Exception\CakeException when files don't exist or they don't contain `$config`.
81 * Or when files contain '..' as this could lead to abusive reads.
82 */
83 public function read(string $key): array
84 {
85 $file = $this->_getFilePath($key, true);
86
87 $config = null;
88
**89 $return = include $file;**
90 if (is_array($return)) {
91 return $return;
92 }
93
LINES ERRORS IS COMPLAINING ABOUT IN THE FILES
Healthcheck shell.......Exception: ltrim(): Argument #1 ($string) must be of type string, null given
In [/usr/share/php/passbolt/src/Utility/Migration.php, line 52]
50 {
51 $remoteVersion = ltrim(Migration::getLatestTagName(), 'v');
**52 $localVersion = ltrim(Configure::read('passbolt.version'), 'v');**
53
54 return version_compare($localVersion, $remoteVersion, '>=');
55 }
56
Thank you for helping