Neibaf
November 2, 2022, 3:41pm
1
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:
sudo -u www-data -s /bin/bash -c “/usr/share/php/passbolt/bin/cake migrations migrate”
sudo -u www-data -s /bin/bash -c “/usr/share/php/passbolt/bin/cake cache clear_all”
Hope this helps
EDIT: If you do not mind, could you edit this post and add it to the category “Installation Issues”
Regards,
Bond
Neibaf
November 2, 2022, 4:04pm
3
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:
Are you trying to locate files within your distro for debugging purposes ?
There is a package for unix named mlocate
To install it you can use the following:
// Cent OS
yum install mlocate -y && updatedb
// Debian or Ubuntu
apt-get install mlocate -y && updatedb
The first part before “&&” installs mlocate. The second command “updatedb”, updates the .db file with all files within the system.
Usage Example:
locate passbolt
Result:
[locate-passbolt]
lets say you looking for a specific fi…
if you use the above guide; you can locate the the folder using the following command;
locate ./bin/cake
Regards,
Bond
1 Like