Installation failed to the last step

Ubuntu 18.02
php 7.2
mysql 5.7
apache 2.4

Every time I install to the last step, I stop when I start creating databases and tables. I queried the database and created the library I named, but I didn’t create any one. I changed a lot of environments and didn’t know where the problem was. There are no records for suitecrm.log at the same time.
I hope to get help, thank you very much.

Hi,

Have you made sure to set the correct permissions? I would also check to see if there is anything in the install.log.

Have you checked your apache logs?

hi.
Dillon-Brown
What permissions do I need to set? The following is the content of my install.log, thank you very much.

2019-06-28 15:33:52…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-06-28 15:34:09…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-06-28 15:35:06…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-06-28 15:35:10…Begin System Check Process *************
2019-06-28 15:35:10…XML Parsing Support Found
2019-06-28 15:35:10…MBString Support Found
2019-06-28 15:35:10…ZIP Support Found
2019-06-28 15:35:10…/custom directory and subdirectory check passed
2019-06-28 15:35:10…cache directory and subdirectory check passed
2019-06-28 15:35:10…/module directory and subdirectory check passed
2019-06-28 15:35:10…/upload directory check passed
2019-06-28 15:35:10…/zip check passed
2019-06-28 15:35:10…PCRE version check passed
2019-06-28 15:35:10…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-06-28 15:35:10…php.ini location found. /usr/local/php/etc/php.ini
2019-06-28 15:35:10…Outputting HTML for System check
2019-06-28 15:35:10…No Errors were found *************
2019-06-28 15:35:11…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-06-28 15:35:15…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-06-28 15:35:49…Begin DB Check Process *************
2019-06-28 15:35:49…testing with mysql:mysqli
2019-06-28 15:35:49…Basic form info is valid, continuing Process.
2019-06-28 15:35:49…Testing user account…
2019-06-28 15:35:49…Connection made using host: localhost, usr: root
2019-06-28 15:35:49…SUCCESS:: no errors detected!
2019-06-28 15:35:49…End DB Check Process *************
2019-06-28 15:35:51…installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2019-06-28 15:35:51…calling handleSugarConfig()
2019-06-28 15:35:51…calling handleHtaccess()
2019-06-28 15:35:51…calling handleDbCreateDatabase()

You can find documentation on installing here (It lists what permissions to set): https://docs.suitecrm.com/admin/installation-guide/downloading-installing/. It looks like it failed when attempting to create the database, what version of SuiteCRM are you running?

suitecrm 7.11.5

I have run these

sudo chown -R www:www .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload
sudo chmod 775 config_override.php 2>/dev/null

help me。。。。

Did you manually create the database before install?

No manual creation
thanks

Try increasing memory limit in php config. I’ve seen this issue previously

My setup is memory_limit = 256M