Error while creating database. fresh install

Hi, I have this issue both with 7.11 and the LTS Version

fresh installs on Xubuntu 20.04 and Ubuntu 20.04 following the official install guide.

On Install I get an error while creating the database.
The database will always be partially created. Not all necessary tables will be there.

suitecrm.log

Fri Oct 9 10:46:59 2020 [7480][-none-][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Fri Oct 9 10:46:59 2020 [7480][-none-][FATAL] “name” field does not exists in field definition.
Fri Oct 9 10:46:59 2020 [7480][-none-][FATAL] Mysqli_query failed.
Fri Oct 9 10:46:59 2020 [7480][-none-][FATAL] Error creating table: : Query Failed: CREATE TABLE ( NULL ) CHARACTER SET utf8 COLLATE utf8_general_ci: MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( NULL ) CHARACTER SET utf8 COLLATE utf8_general_ci’ at line 1
~

An help would be appreciated.

Is your PHP version within the Compatibility matrix?

Which version are you installing exactly? I’ve seen a similar bug that is already fixed in the very latest versions.

Hi, thanks for the reply.
Yea in the meantime I have found the compatibility matrix.

Xubuntu and ubuntu 20.04 come per default with PHP 7.4
Guess this is the issue.
Installing 7.2 now and trying it again.

1 Like