Error when creating a password

Hi,
I have install Passbolt on Debian 11.
When I try to create a new password, I have this error : “There was an unexpected error…”
I have found this : After install "An Internal Error Has Occurred." when trying to create new password - #2 by keupoftea
but I don’t have the cake folder

Can U help me please ?

Hi @Neibaf,

Welcome to the Forum.

If you installed Passbolt from the packages your commands would be as follows:

  1. sudo -u www-data -s /bin/bash -c “/usr/share/php/passbolt/bin/cake migrations migrate”
  2. sudo -u www-data -s /bin/bash -c “/usr/share/php/passbolt/bin/cake cache clear_all”

Hope this helps :slight_smile:

EDIT: If you do not mind, could you edit this post and add it to the category “Installation Issues”

Regards,
Bond

Hi,
I have this :
migrations: ligne 1: “/usr/share/php/passbolt/bin/cake: Aucun fichier ou dossier de ce type
cache: ligne 1: “/usr/share/php/passbolt/bin/cake: Aucun fichier ou dossier de ce type

How did you install passbolt ?

If you are the root user you can use the following guide to locate the passbolt folders:

if you use the above guide; you can locate the the folder using the following command;

locate ./bin/cake

Regards,
Bond

1 Like

Hi.
It works. Thanks

2 Likes