I am trying to install SuiteCRM 8.8.0 on my laptop but run into the following issue when trying to install:
Warning: Not Writable
ā/logs/install.logā
After this change has been made, please revisit / reload this page to continue.
As there was no install.log file I created it
-rwxr-xr-x. 1 apache apache 0 Mar 14 17:04 install.log
Php version 8.3.17, mariadb-10.11.10-1.fc41.x86_64, httpd-2.4.63-1.fc41.x86_64
Operating system: Fedora core 41
Config file looks like this:
<VirtualHost *:80>
DocumentRoot /var/www/html/suitecrm/public
DirectoryIndex index.html index.htm index.php
<Directory /var/www/html/suitecrm/public>
AllowOverride All
Order Allow,Deny
Allow from All
I checked apacheās acces_log and error_log, but cannot find an error there.
<VirtualHost *:80>
ServerName suitecrm88.demo
DocumentRoot /var/www/suitecrm88.demo/public
<Directory /var/www/suitecrm88.demo/public>
Options Indexes FollowSymLinks
AllowOverride All
Order Allow,Deny
Allow from All
Require all granted
</Directory>
ErrorLog /var/log/apache2/suitecrm88.demo-error.log
CustomLog /var/log/apache2/suitecrm88.demo-access.log combined
</VirtualHost>
And after following the installation docs:
I usually work / execute things as:
sudo -u www-data ...
so I wonāt have to worry about permissions / ownership.
(Actually, you could do wget and unzip already as www-data as well, just to be sure)
Check out the installation video, maybe that helps as well:
And one more idea:
cd /var/www/
sudo chown www-data:www-data -R html
the html folder per default on ubuntu belongs to root.
Thank you for your responses.
I am getting closer. I donāt think it is a problem of missing php modules. I used the installation guide to set the permissions
I then ran the CLI installer. That went through and threw out messages.
There could be something missing with the Apache config, but I am not sure what.
httpd.service is running without an error.
2025-03-15 08:38:21] install.log.ERROR: [] []
[2025-03-15 08:38:21] install.log.ERROR: cURL error (7): Failed to connect to localhost port 443 after 0 ms: Could not connect to server [] []
[2025-03-15 08:38:21] install.log.ERROR: The url used for the call was: https://localhost/ [] []
[2025-03-15 08:38:21] install.log.ERROR: The result of the call was: [] []
[2025-03-15 08:38:21] install.log.ERROR: Empty [] []
[2025-03-15 08:38:21] install.log.INFO: Running curl for Api [] []
[2025-03-15 08:38:21] install.log.INFO: Calling Graphql api [] []
[2025-03-15 08:38:21] install.log.ERROR: [] []
[2025-03-15 08:38:21] install.log.ERROR: cURL error (7): Failed to connect to localhost port 443 after 0 ms: Could not connect to server [] []
[2025-03-15 08:38:21] install.log.ERROR: The url used for the call was: https://localhost/api/graphql [] []
[2025-03-15 08:38:21] install.log.ERROR: The result of the call was: [] []
[2025-03-15 08:38:21] install.log.ERROR: Empty [] []
and
[2025-03-74 08:38:21] install.FATAL: Begin DB Check Process *************
[2025-03-74 08:38:21] install.FATAL: testing with mysql:mysqli
[2025-03-74 08:38:21] install.FATAL: Basic form info is valid, continuing Process.
[2025-03-74 08:38:21] install.FATAL: Testing user account...
[2025-03-74 08:38:21] install.FATAL: Connection made using host: localhost, usr: suitecrmuser
[2025-03-74 08:38:21] install.FATAL: ERROR: Cannot create writable dir cache/upload/import
[2025-03-74 08:38:21] install.FATAL: installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
[2025-03-74 08:38:29] install.SECURITY: OutboundEmail::checkSavePermissions - not logged in - skipping check
[2025-03-74 08:38:29] install.FATAL: User update error: Temp User is not retrieved at ID 1, boolean given
"i
After a few weeks I had time to try the installation again.
The error message was caused by selinux. Once fixed, I could finish installation and start testing.