Blank screen during installation

Greetings all,

This is a brand new SuiteCRM installation. I have gone through the other posts with similar issues before I wrote this one.

SuiteCRM 7.11.15
Apache 2.4.37
PHP 7.2.24
MariaDB 10.3.17

Apache is ran by apache.apache
SuiteCRM html folder belongs to apache.apache

All files/folders are chmod 755, the following ones are 775
cache custom modules themes data upload

There is no error message in the apache error logs
The install.log shows this;

root@suitecrm:/var/www/html/suitecrm> cat install.log
2020-09-16 13:25:11...Begin System Check Process *************
2020-09-16 13:25:11...XML Parsing Support Found
2020-09-16 13:25:11...MBString Support Found
2020-09-16 13:25:11...ZIP Support Found
2020-09-16 13:25:11.../custom directory and subdirectory check passed
2020-09-16 13:25:11...cache directory and subdirectory check passed
2020-09-16 13:25:11.../module directory and subdirectory check passed
2020-09-16 13:25:11.../upload directory check passed
2020-09-16 13:25:11.../zip check passed
2020-09-16 13:25:11...PCRE version check passed
2020-09-16 13:25:11...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2020-09-16 13:25:11...php.ini location found. /etc/php.ini
2020-09-16 13:25:11...Outputting HTML for System check
2020-09-16 13:25:11...No Errors were found *************
2020-09-16 13:25:11...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2020-09-16 13:25:18...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2020-09-16 13:25:31...Begin DB Check Process *************
2020-09-16 13:25:31...testing with mysql:mysqli
2020-09-16 13:25:31...Basic form info is valid, continuing Process.
2020-09-16 13:25:31...Testing user account...
2020-09-16 13:25:31...Connection made using host: localhost, usr: suitecrm
2020-09-16 13:25:31...SUCCESS:: no errors detected!
2020-09-16 13:25:31...End DB Check Process *************
2020-09-16 13:25:31...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute

And since there is no error message anywhere, I am at loss.
Anyone could share a hint?

Thank you.

root@suitecrm:/var/www/html/suitecrm> l
total 1608
drwxr-xr-x   20 apache apache    4096 Sep 16 13:25 .
drwxr-xr-x.   3 apache apache      67 Sep 16 13:22 ..
drwxr-xr-x    5 apache apache      57 Jun 10 09:42 Api
drwxrwxr-x    9 apache apache     100 Sep 16 13:25 cache
-rwxr-xr-x    1 apache apache    3477 Jun 10 09:42 campaign_tracker.php
-rwxr-xr-x    1 apache apache    3475 Jun 10 09:42 composer.json
-rwxr-xr-x    1 apache apache  301116 Jun 10 09:42 composer.lock
-rwxr-xr-x    1 apache apache    5091 Jun 10 09:42 cron.php
-rwxr-xr-x    1 apache apache    2290 Jun 10 09:42 crossdomain.xml
drwxrwxr-x    4 apache apache      56 Jun 10 09:42 custom
drwxrwxr-x    3 apache apache     104 Jun 10 09:42 data
-rwxr-xr-x    1 apache apache    1898 Jun 10 09:42 deprecated.php
-rwxr-xr-x    1 apache apache    2240 Jun 10 09:42 dictionary.php
-rwxr-xr-x    1 apache apache   13033 Jun 10 09:42 download.php
-rwxr-xr-x    1 apache apache    2246 Jun 10 09:42 emailmandelivery.php
-rwxr-xr-x    1 apache apache    4007 Jun 10 09:42 export.php
-rwxr-xr-x    1 apache apache 1077613 Jun 11 09:28 files.md5
-rwxr-xr-x    1 apache apache    2656 Jun 10 09:42 HandleAjaxCall.php
-rwxr-xr-x    1 apache apache    2222 Jun 10 09:42 ical_server.php
drwxr-xr-x   57 apache apache    4096 Jun 10 09:42 include
-rwxr-xr-x    1 apache apache    2371 Jun 10 09:42 index.php
drwxr-xr-x    6 apache apache    4096 Jun 10 09:42 install
-rwxr-xr-x    1 apache apache    3290 Sep 16 13:38 install.log
-rwxr-xr-x    1 apache apache   32277 Jun 10 09:42 install.php
-rwxr-xr-x    1 apache apache    2275 Jun 10 09:42 json_server.php
drwxr-xr-x    3 apache apache     125 Jun 10 09:42 jssource
drwxr-xr-x    9 apache apache     104 Jun 10 09:42 lib
-rwxr-xr-x    1 apache apache   34539 Jun 10 09:42 LICENSE.txt
-rwxr-xr-x    1 apache apache    2157 Jun 10 09:42 log_file_restricted.html
-rwxr-xr-x    1 apache apache    2226 Jun 10 09:42 maintenance.php
drwxr-xr-x    2 apache apache    4096 Jun 10 09:42 metadata
drwxr-xr-x    3 apache apache     102 Jun 10 09:42 ModuleInstall
drwxrwxr-x  119 apache apache    4096 Jun 10 09:42 modules
-rwxr-xr-x    1 apache apache    2751 Jun 10 09:42 pdf.php
-rwxr-xr-x    1 apache apache     390 Jun 10 09:42 phpcs.xml
-rwxr-xr-x    1 apache apache     306 Jun 10 09:42 php_version.php
-rwxr-xr-x    1 apache apache    4969 Jun 11 09:28 README.md
-rwxr-xr-x    1 apache apache     306 Jun 10 09:42 RoboFile.php
-rwxr-xr-x    1 apache apache      73 Jun 10 09:42 robots.txt
-rwxr-xr-x    1 apache apache    3477 Jun 10 09:42 run_job.php
drwxr-xr-x   12 apache apache     133 Jun 10 09:42 service
drwxr-xr-x    2 apache apache     294 Jun 10 09:42 soap
-rwxr-xr-x    1 apache apache    4025 Jun 10 09:42 soap.php
-rwxr-xr-x    1 apache apache    5902 Jun 10 09:42 SugarSecurity.php
-rwxr-xr-x    1 apache apache     154 Jun 10 09:42 sugar_version.json
-rwxr-xr-x    1 apache apache    2293 Jun 10 09:42 sugar_version.php
-rwxr-xr-x    1 apache apache       0 Sep 16 13:25 suitecrm.log
-rwxr-xr-x    1 apache apache     166 Jun 11 09:28 suitecrm_version.php
drwxrwxr-x    4 apache apache      35 Jun 10 09:42 themes
-rwxr-xr-x    1 apache apache    6051 Jun 10 09:42 TreeData.php
drwxrwxr-x    2 apache apache      24 Jun 10 09:42 upload
-rwxr-xr-x    1 apache apache    2248 Jun 10 09:42 vcal_server.php
-rwxr-xr-x    1 apache apache    2686 Jun 10 09:42 vCard.php
drwxr-xr-x   41 apache apache    4096 Jun 10 15:00 vendor
drwxr-xr-x    2 apache apache      37 Jun 10 09:42 XTemplate
drwxr-xr-x    7 apache apache     198 Jun 10 09:42 Zend

Hello,
welcome to the community!!
I appreciate you share all basic information. Do you have anything related to this in your apache log?

Hi,

Apache error logs show nothing at all.
If I go to wrong pages, then I see the logs filling up, so I know this part (the error logging) is working.

The apache access log shows that I go to the install, but that’s it:
(...)suitecrm/install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15"

My webInspector shows that it’s calling install.php , I see the request being sent with all the information from the 2nd screen of the installation (DB, username, password, etc…) but after that no response from the server…

What is your distro? Are you running it with SELinux?

Distribution is CentOS 8
I disabled SELinux

I have a vague memory of CentOS requiring some extra configuration in order to let the web server write to the files (which is a requirement for SuiteCRM). Maybe SELinux, maybe htaccess… I don’t recall.

Maybe you can find some older threads in these forums with details?

Or if you can switch to Ubuntu, it’s easier for SuiteCRM.

I turned off SElinux … There is no error message anywhere so I don’t even know where to start troubleshooting … :confused: It’s painful.

I installed suiteCRM over nginx (still on centOS) and now have more explanation of what’s going on:

2020/09/17 14:47:21 [error] 28997#0: *9 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /var/www/html/suitecrm/install/performSetup.php:53

Stack trace:

#0 /var/www/html/suitecrm/install/performSetup.php(58): installStatus('', NULL, true, '')

#1 /var/www/html/suitecrm/install.php(793): require('/var/www/html/s...')

#2 {main}

thrown in /var/www/html/suitecrm/install/performSetup.php on line 53" while reading response header from upstream, client: x.x.x.x, server: y.y.y.y, request: "POST /install.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "z.z.z.z", referrer: "http://z.z.z.z/install.php"

I installed the php-json package, and it’s now working.

1 Like