Error when trying script passbolt_maintenance.sh

Checklist
[x ] I have read intro post: https://community.passbolt.com/t/about-the-installation-issues-category/12
[x ] I have read the tutorials, help and searched for similar issues
[x ] I provide relevant information about my server (component names and versions, etc.)
[x ] I provide a copy of my logs and healthcheck
[x ] I describe the steps I have taken to trouble shoot the problem
[x ] I describe the steps on how to reproduce the issue

hello, when i try to execute the script passbolt_maintenance.sh i have this error :

Error: Unknown short option `b`.
LDAP purge aborted due to configuration issues.

when i looking in the folder : * /usr/share/php/passbolt/bin/cake directory_sync purge_directory_reports* the option -b doesn’t exit
someone have pb like this ?

Hello @AntoineNG ,

Just to confirm, are you running the latest API version? I can see it using API 4.10.1

vagrant@debian12:~$ sudo su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake directory_sync purge_directory_reports -h" www-data
Purge directory sync report entries

Usage:
cake directory_sync purge_directory_reports -b [-h] [-q] [-v]

Options:

--before, -b   The date (format: dd-mm-yyyy) before the data will be
               purged. (required)
--help, -h     Display this help.
--quiet, -q    Enable quiet output.
--verbose, -v  Enable verbose output.

hi,
i’m on version 4.7.4, i think this is pb, i’ll update version of passbolt and tryout soon :slight_smile:

1 Like