System:
Ubuntu Server 20.04.04 LTS
Apache2 2.4.41
mysql 8.0.28-0ubuntu0.20.04.3
PHP 7.4.3
passbolt (github link GitHub - passbolt/passbolt_api: Passbolt CE Backend, a JSON API written with CakePHP)
Hello everyone,
Once the installation of passbolt was completed, I went to the installation link allowing me to create and configure the administrator account. At the end of the account creation, an error occurs:
I tried to add the debug mode (‘debug’ => ‘true’,) in /var/www/passbolt/config/passbolt.php but it didn’t change anything.
Here are the logs of /var/www/passbolt/logs/error.log:
2022-04-22 14:19:30 Warning: Warning (512): SplFileInfo::openFile(/var/www/passbolt/tmp/cache/models/myapp_cake_model_default_roles): failed to open stream: Permission denied in [/var/www/passbolt/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 387]
2022-04-22 14:19:30 Warning: Warning (512): SplFileInfo::openFile(/var/www/passbolt/tmp/cache/models/myapp_cake_model_default_roles): failed to open stream: Permission denied in [/var/www/passbolt/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 387]
2022-04-22 14:19:31 Warning: Warning (512): SplFileInfo::openFile(/var/www/passbolt/tmp/cache/models/myapp_cake_model_default_roles): failed to open stream: Permission denied in [/var/www/passbolt/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 387]
2022-04-22 14:19:31 Warning: Warning (512): SplFileInfo::openFile(/var/www/passbolt/tmp/cache/models/myapp_cake_model_default_roles): failed to open stream: Permission denied in [/var/www/passbolt/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 387]
2022-04-22 14:28:09 Warning: Warning (512): SplFileInfo::openFile(/var/www/passbolt/tmp/cache/models/myapp_cake_model_default_roles): failed to open stream: Permission denied in [/var/www/passbolt/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 387]
2022-04-22 14:28:09 Warning: Warning (512): SplFileInfo::openFile(/var/www/passbolt/tmp/cache/models/myapp_cake_model_default_roles): failed to open stream: Permission denied in [/var/www/passbolt/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 387]
2022-04-22 14:28:10 Warning: Warning (512): SplFileInfo::openFile(/var/www/passbolt/tmp/cache/models/myapp_cake_model_default_roles): failed to open stream: Permission denied in [/var/www/passbolt/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 387]
2022-04-22 14:28:10 Warning: Warning (512): SplFileInfo::openFile(/var/www/passbolt/tmp/cache/models/myapp_cake_model_default_roles): failed to open stream: Permission denied in [/var/www/passbolt/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 387]
2022-04-22 14:28:28 Warning: Warning (512): SplFileInfo::openFile(/var/www/passbolt/tmp/cache/models/myapp_cake_model_default_roles): failed to open stream: Permission denied in [/var/www/passbolt/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 387]
2022-04-22 14:28:28 Warning: Warning (512): SplFileInfo::openFile(/var/www/passbolt/tmp/cache/models/myapp_cake_model_default_roles): failed to open stream: Permission denied in [/var/www/passbolt/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 387]
2022-04-22 14:28:29 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/login.json?api-version=v2
Client IP: 192.168.133.772022-04-22 14:34:41 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/verify.json?api-version=v2
Client IP: 192.168.133.772022-04-22 14:34:51 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/login.json?api-version=v2
Client IP: 192.168.133.772022-04-25 06:20:46 Error: [Authentication\Authenticator\UnauthenticatedException] Authentication is required to continue in /var/www/passbolt/vendor/cakephp/authentication/src/Controller/Component/AuthenticationComponent.php on line 177
Request URL: /auth/is-authenticated.json
Client IP: 192.168.133.712022-04-25 08:01:36 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/verify.json?api-version=v2
Client IP: 192.168.133.772022-04-25 08:19:34 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/verify.json?api-version=v2
Client IP: 192.168.133.772022-04-25 08:19:34 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/verify.json?api-version=v2
Client IP: 192.168.133.772022-04-25 08:19:45 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/login.json?api-version=v2
Client IP: 192.168.133.772022-04-25 08:31:33 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/verify.json?api-version=v2
Client IP: 192.168.133.772022-04-25 08:31:39 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/login.json?api-version=v2
Client IP: 192.168.133.772022-04-25 08:31:50 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/verify.json?api-version=v2
Client IP: 192.168.133.772022-04-25 08:31:56 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/login.json?api-version=v2
Client IP: 192.168.133.772022-04-25 08:32:42 Error: [Cake\Http\Exception\InternalErrorException] The authentication failed. in /var/www/passbolt/src/Controller/Auth/AuthLoginController.php on line 93
Request URL: /auth/verify.json?api-version=v2
Client IP: 192.168.133.77
Bests regards,
Thanks for the help!
Samuel