I’m experiencing issues installing SuiteCRM version 8.7.1 on a server running PHP 8.1.2. During the installation, several errors appeared in the log file that are preventing the setup from completing. Here’s a sample of the log output:
Fri Nov 8 13:38:16 2024 [105847][1][SECURITY] OutboundEmail::checkSavePermissions - not logged in - skipping check
Fri Nov 8 13:38:16 2024 [105847][1][FATAL] User update error: Temp User is not retrieved at ID 1, boolean given
Fri Nov 8 13:38:16 2024 [105847][1][FATAL] Email address save error
Fri Nov 8 13:38:24 2024 [105847][1][SECURITY] Invalid ext logger_file_ext : ''.
Fri Nov 8 13:38:24 2024 [105847][1][SECURITY] Setting logger_file_ext to '.log'.
Fri Nov 8 13:38:24 2024 [105847][1][SECURITY] Log file extension can't be blank.
All tables are created correctly in the database during the installation process. Admin user exists in the users table.
If anyone else has run into similar issues using PHP 8.1.2 with SuiteCRM 8.7.1 or has troubleshooting suggestions, I would be grateful for any guidance. Thank you!
The user and group name (in the above example www-data ) needs to be replaced by the actual system user and group that your webserver runs under. This varies depending on your operating system. Common web server users are as follows:
I even rebuilt the droplet on Ubuntu 22.04, only installed Apache2, and ran the setup script from the GitHub code. I can see the installation page and enter all configuration settings. However, on the login page, the form does not display normally. Unlike on my local setup where input fields and placeholders are visible, here they don’t appear as expected.
Fri Nov 8 16:25:08 2024 [75862][1][SECURITY] OutboundEmail::checkSavePermissions - not logged in - skipping check
Fri Nov 8 16:25:08 2024 [75862][1][FATAL] User update error: Temp User is not retrieved at ID 1, boolean given
Fri Nov 8 16:25:08 2024 [75862][1][FATAL] Email address save error
Fri Nov 8 16:25:11 2024 [75862][1][SECURITY] Invalid ext logger_file_ext : ''.
Fri Nov 8 16:25:11 2024 [75862][1][SECURITY] Setting logger_file_ext to '.log'.
Fri Nov 8 16:25:11 2024 [75862][1][SECURITY] Setting logger_file_name to ''.
Fri Nov 8 16:25:11 2024 [75862][1][SECURITY] Log file extension can't be blank.
Fri Nov 8 16:25:11 2024 [75862][1][SECURITY] Setting logger_file_name to ''.
Fri Nov 8 16:25:11 2024 [75862][1][SECURITY] Log file extension can't be blank.
This is prod.log file
[2024-11-08 16:25:12] php.CRITICAL: Uncaught Exception: You have requested a non-existent parameter "2Cb4". {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException(code: 0): You have requested a non-existent parameter \"2Cb4\". at /var/www/html/crm/cache/prod/ContainerDVfIqrK/App_KernelProdContainer.php:2089, Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException(code: 0): You have requested a non-existent parameter \"2Cb4\". at /var/www/html/crm/cache/prod/ContainerDVfIqrK/App_KernelProdContainer.php:2089, Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException(code: 0): You have requested a non-existent parameter \"2Cb4\". at /var/www/html/crm/cache/prod/ContainerDVfIqrK/App_KernelProdContainer.php:2089)"} []
[2024-11-08 16:46:34] request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException: "You have requested a non-existent parameter "2Cb4"." at App_KernelProdContainer.php line 2089 {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException(code: 0): You have requested a non-existent parameter \"2Cb4\". at /var/www/html/crm/cache/prod/ContainerDVfIqrK/App_KernelProdContainer.php:2089)"} []
[2024-11-08 16:47:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException: "You have requested a non-existent parameter "2Cb4"." at App_KernelProdContainer.php line 2089 {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException(code: 0): You have requested a non-existent parameter \"2Cb4\". at /var/www/html/crm/cache/prod/ContainerDVfIqrK/App_KernelProdContainer.php:2089)"} []
[2024-11-08 16:47:01] request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException: "You have requested a non-existent parameter "2Cb4"." at App_KernelProdContainer.php line 2089 {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException(code: 0): You have requested a non-existent parameter \"2Cb4\". at /var/www/html/crm/cache/prod/ContainerDVfIqrK/App_KernelProdContainer.php:2089)"} []
If possible, try to run the scrip on a Ubuntu without any of these previous installed. The cleaner the better. I think there is a serious of conflicts in your machine.
The script is meant to be run on a clean server.