Checklist
[x] I have read intro post: About the Installation Issues category
[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.)
[ ] 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
I have installed passbolt version 2.12.1 on a centOS 7 vm without any problems. The wizard displays that environment and GPG are both configured correctly and SSL is not enabled (I don’t want to use it). I followed the steps of the wizard but at step 7 I get an error: Error! An Internal Error Has Occurred. Debug information is empty.
If I reload the page, only the dead bird appears with the following text: An Internal Error Has Occurred, Not Found The only way to start the wizard again is to reset my server to the snapshot I took before starting the wizard.
I have tried this multiple times. For the database connection I tried to use root, root@localhost and the user I created in the installation progress. I have also checked that mariadb runs on the server and both my database and users exist.
I can’t find any helpful log-files. Is there a possibility to log the sql command that crashes the system?
You can check the logs in /logs/error.log in your passbolt installatiion directory on the server.
One reason could be that you used " or ’ in the mysql password, which is known to create some issues (since these are stored as string in the config file).
thanks for the tip. I can see that I have a SQL problem, but not what command is tried.
The file shows the following:
2020-05-18 12:15:59 Error: [PDOException] SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘-db COLLATE utf8mb4_unicode_ci’ at line 1 (/var/www/passbolt/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php:168)
Request URL: /install/installation/do_install.json
Referer URL: http://pcs033.goetz.lan/install/installation
2020-05-18 12:22:52 Error: [Cake\Routing\Exception\MissingRouteException] A route matching “/install/installation” could not be found. (/var/www/passbolt/vendor/cakephp/cakephp/src/Routing/RouteCollection.php:216)
Request URL: /install/installation
Referer URL: http://pcs033.goetz.lan/install/account_creation