Error on System Check while installing SuiteCRM 7.10.9

Hello,

I am trying to install SuiteCRM 7.10.9 on brand new server with php v7.1 on CentOS. While installing, it gives below error on System Check:

[b]"Welcome to the SuiteCRM 7.10.9 Setup Wizard
SuiteCRM
Checking Environment
Choose your language:
System Check Acceptance
Errors have been detected during compatibility check. In order for your SuiteCRM Installation to function properly, please take the proper steps to address the issues listed below and either press the recheck button, or try installing again.

StatusComponent
Writeable Custom Directory

The Custom Directory exists but is not writeable. You may have to change permissions on it (chmod 766) or right click on it and uncheck the read only option, depending on your Operating System. Please take the needed steps to make the file writeable.

Writable Cache Sub-Directories

The files or directories listed below are not writeable or are missing and cannot be created. Depending on your Operating System, correcting this may require you to change permissions on the files or parent directory (chmod 755), or to right click on the parent directory and uncheck the ‘read only’ option and apply it to all subfolders.

Please fix the following files or directories before proceeding:
/var/www/html/SuiteCRM-7.10.9/cache/
/var/www/html/SuiteCRM-7.10.9/cache/images
/var/www/html/SuiteCRM-7.10.9/cache/layout
/var/www/html/SuiteCRM-7.10.9/cache/pdf
/var/www/html/SuiteCRM-7.10.9/cache/xml
/var/www/html/SuiteCRM-7.10.9/cache/include/javascript

Writable Modules Sub-Directories and Files

Warning: Not Writable

Please fix the following module directories and the files under them before proceeding:
/modules
Writable Upload Directory

Warning: Not Writable

Location of your PHP configuration file (php.ini):
/etc/php.ini
"[/b]

Note: All the mentioned folders have permission to read and write. But still no luck.

Any luck would be appreciated.

Thanks,
Shantanu Agnihotri

Permissions depend on

  1. given rights with chmod
  2. file ownership with chown
  3. which user your web server is running under

Start by making sure of number 3. If you’re running Apache this will tell you the user name:

ps -ef | egrep '(httpd|apache2|apache)' | grep -v `whoami` | grep -v root | head -n1 | awk '{print $1}'

Use that for the chown command as given in the Docs instructions:

https://docs.suitecrm.com/admin/installation-guide/downloading--installing/

Hi,

Thanks for your reply. I tried the steps you mentioned and also referenced in the document. But still could not resolve that system check.

Any other points I need to look at?

Thanks in advance.

Are you the same person that is asking me this same issue here?

https://suitecrm.com/suitecrm/forum/installation-upgrade-help/20512-installation-issue

No.

Ok, sorry. It’s a very similar issue, and came up on the same day :slight_smile:

Can you find your web server log (maybe called php_errors.log or errors.log), it’s defined in your php.ini?

You might also need to enable PHP modules. This is what I do on Ubuntu with PHP 7.2, you can look for the equivalents in your system:

apt install php-mbstring php7.2-mbstring php-gettext php-xml php7.2-zip php7.2-imap php7.2-gd php7.2-curl php-gd phpmyadmin

Checked everything.

Only thing I think of is I have CentOS. Is this make any difference in installation?

CentOS should work, there might be some small differences, but they shouldn’t stop you…

Did you have a look at your php_errors.log? There are normally a bunch of PHP Notices there, did you see them? And nothing extra at the time of the failed install?

I don’t know why but it seems to be an issue of OS(Cent OS). Finally installed Ubuntu and it ran successfully.

Thanks,
Shantanu