SuiteCRM 8 Beta - Install Questions

Hi @Robin17

Thank you for trying out SuiteCRM 8 and for the feedback.

From the errors you are getting I imagine you have installed from the repo? and not from the pre-bundled package zip, is that correct?

Regarding the issues described:

1. CSS issue
From the issue description it seems that the legacy theme css hasn’t been built.

To fix this issue you should only need to build the legacy them sass. for that follow step 3) and 4) of the Development install guide:

  1. Run composer install in legacy directory (/public/legacy )
  2. Run legacy theme compile in the legacy directory (/public/legacy )
  • NOTE: the ./vendor/bin/pscss is added as a composer dev dependency, so you need to run composer install without --no-dev
./vendor/bin/pscss -f compressed themes/suite8/css/Dawn/style.scss > themes/suite8/css/Dawn/style.css

2. Login issue

Things to check:

  1. Check that you have executed:
    • composer install on Suite 8 root folder
    • composer install on legacy folder (public/legacy)
  2. Check that the db config is correct on legacy config config.php
  3. 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.

I am trying without any socket, getting following message in log.

Could not connect to DB server localhost as root. port : No such file or directory

Hi Clemente,

I put the content via filezila then I made a classic installation.

For do that, I need to use a terminal ?

Cordialy,

Hi @Robin17,

For the code are you using the zip? or the code from the repo?

The steps differ for both, however there is at least one common step:

  • Running ./bin/console suitecrm:app:install on the command line / terminal.

There is some more info on this on the documentation page:

Hi @cherub-chum,

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:

Could you try with 127.0.0.1 instead of localhost, please?

Note:

  • as far as I’m aware this code hasn’t changed in the current SuiteCRM 8 beta release, so it should be the same as the current SuiteCRM 7 version.

Hope this helps.

Suite7 DB credentials that are working on this same instance are

‘dbconfig’ =>
array (
‘db_host_name’ => ‘localhost’,
‘db_host_instance’ => ‘SQLEXPRESS’,
‘db_user_name’ => ‘root’,
‘db_password’ => ‘mypassword’,
‘db_name’ => ‘suitecrm7’,
‘db_type’ => ‘mysql’,
‘db_port’ => ‘’,
‘db_manager’ => ‘MysqliManager’,
‘collation’ => ‘utf8_general_ci’,
‘charset’ => ‘utf8’,
),

When you say install from zip , you are referring to zip @ https://docs.suitecrm.com/8.x/admin/releases/8.0-beta/#_8_0_beta_2, or from any other place ?

Hi @milanraval,

Thank you for trying out SuiteCRM 8 Beta version.

You can find the link to official package on the Download and install section here: https://suitecrm.com/suitecrm-8-beta-preview/

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.

Thank you

1 Like

How to configure MSSQL as database during installation ?

Hi,

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.

Any advice?
Thanks, Filip

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 @fcorluka,

Thank you for trying out SuiteCRM 8 Beta and for the feedback.

Could you check the graphql requests in the browser network tab, please?
And check see if they match the errors described on this post here:

Thank you ! Could you tell me where can I find steps to do it manually ? Or the configuration file path and name, where database setting is stored.

Hi @clemente.raposo,
thank you for advice, it helped. CRM is now operating.
Now I have a new set of errors ( :rofl:) :rofl:

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

Hi @fcorluka,

Glad that we were able to make at least some progress.

When do you get the Internal Server error? in which request? Could you look in the network tab please?

Hi
i have been facing a issue during installation of suitecrm8 beta
can you help me,How to install suitrecrm8?

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).

Hi all,

Any questions or issues please let us know specifics, if your unsure, screenshots are the next best thing!


For installing from the package obtainable on the SuiteCRM downloads page -
Use this installation guide;

Else if you take the package from the release notes, or clone/download via github -
Use the developer installation guide;

In regards to requirements please ensure you take a look at both the 7 and 8 requirements as you need both;
Suite7 - https://docs.suitecrm.com/admin/compatibility-matrix/
Suite8 - https://docs.suitecrm.com/8.x/admin/compatibility-matrix/


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.

Hi @sikander568 @RMN,

Could you let me know some specific info? What stage are you getting issues at, what issues are you getting, screenshots appreciated :+1:

@Mac-Rae

I first installed LAMP stack on a Ubuntu 20.04 VPS. I installed the same PHP components I would on a SuiteCRM 7 install.

I enabled mod_rewrite and followed the permissions-granting steps in the “handy installation instructions.”

I ran the installer, and I get the “install complete” message. I can see the newly created files in the directory, but I get a 503 message.

I know the webserver at least “works” since if I stick a “Hello World” index.html file in there, I can see it.

Could you possibly post an example of: 1) basic PHP configuration required and 2) what the virtualhost file needs to look like?