Check that the db config is correct on legacy config config.php
Check that the db config is correct on env.local on Suite8 root folder
If the above don’t work, could you please send a screenshot of the graqhql requests on the network tab that have an error (either a 500 or an error on the response body)? that can help in finding the root cause.
was looking into the code that outputs the above message.
Its on public/legacy/include/database/MysqliManager.php (Suite 7 code)
if (empty($this->database)) {
$GLOBALS['log']->fatal("Could not connect to DB server " . $dbhost . " as " . $configOptions['db_user_name'] . ". port " . $dbport . ": " . mysqli_connect_error());
As you can see from the above, the following message comes from the mysqli_connect_error().
It looks like mysqli is not able to reach the database.
I was looking into this issue and found this stackoverflow thread, which may help:
The link you’ve mentioned is the zip generated from github. This raises a good point and something we could make more clear on the release page on the documentation site.
I have been trying for few days to install Suite8 but nothing works.
I have za .zip version. Installed all additional tools (angular, yarn…), PHP version is correct, the database is working…
Installation from folder using command ./bin/console suitecrm:app:install.
I see in databases that data is inserted and all tables are created.
But when I go into the browser in try to open it (localhost/MY_SUITE/public) I get a blank screen.
No error is recorded.
Hi @milanraval, at the moment (SuiteCRM 8 Beta 2) the install command doesn’t allow it yet. We will be working on that in the future. However its possible to do the install steps manually.
Hi @clemente.raposo,
thank you for advice, it helped. CRM is now operating.
Now I have a new set of errors ( )
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80
Which log should a look now, beacuse there are more logs in crm folder?
Thanks, Filip
Is there a single, coherent set of install instructions anywhere? The “handy installation” instructions tell us how to set permissions, but that’s about it…
Specifically some things that would be nice to have:
Required PHP/Apache modules?
Where to point the virtualhost file?
I’ve tried to install this several times and get a 503 error each time (though the installation completes).
In regards to VHost, it is explained at the bottom the standard installation guide;
Set your web server DocumentRoot to /{root}/{suitecrm-8}/public. This is normally found in /etc/apache2/sites-available/applications.conf
It is highly recommended that you update the webroot or configure vhost to point to the public directory, as the other files and folder should not be available to the web.
You can access the instance at the https://yourcrm.com/
However please note if you do not update the Vhost you can still test the CRM by navigating to the public folder manually, I.e https://yourcrm.com/public
This will cause your instance to load as normal however it’s not the correct setup for production environments.