Errors in log during installation

Hello folks,

I’m trying to install SuiteCRM 8.3 for hours now… but I’m getting to the finish line. I was able to install SuiteCRM and now I have tables in my database. However, when I try to access the home page, I get an HTTP 500 error.

In the log I find the following entries and unfortunately I have no idea at all where to look. The necessary rights I have made so far. My system is a Debian 11 with PHP 7.4.

[2023-07-07 22:50:38] request.INFO: Matched route "index". {"route":"index","route_parameters":{"_route":"index","_controller":"App\\Engine\\Controller\\IndexController::index"},"request_uri":"https://hello.netpla.net/","method":"GET"} []
[2023-07-07 22:50:38] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-07-07 22:50:38] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppJsonLoginAuthenticator"} []
[2023-07-07 22:50:38] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppJsonLoginAuthenticator"} []
[2023-07-07 22:50:39] php.WARNING: User Warning: sugar_file_put_contents_atomic() : fatal rename failure '/tmp/tempVqEVIK' -> 'cache/modules/Users/Uservardefs.php' {"exception":"[object] (ErrorException(code: 0): User Warning: sugar_file_put_contents_atomic() : fatal rename failure '/tmp/tempVqEVIK' -> 'cache/modules/Users/Uservardefs.php' at /var/www/vhosts/netpla.net/hello.netpla.net/public/legacy/include/utils/sugar_file_utils.php:228)"} []
[2023-07-07 22:50:39] php.WARNING: User Warning: sugar_file_put_contents_atomic() : fatal rename failure '/tmp/tempCgLcTK' -> 'cache/modules/Employees/Employeevardefs.php' {"exception":"[object] (ErrorException(code: 0): User Warning: sugar_file_put_contents_atomic() : fatal rename failure '/tmp/tempCgLcTK' -> 'cache/modules/Employees/Employeevardefs.php' at /var/www/vhosts/netpla.net/hello.netpla.net/public/legacy/include/utils/sugar_file_utils.php:228)"} []
[2023-07-07 22:50:39] php.WARNING: User Warning: sugar_file_put_contents_atomic() : fatal rename failure '/tmp/temp6NNodJ' -> 'cache/modules/UserPreferences/UserPreferencevardefs.php' {"exception":"[object] (ErrorException(code: 0): User Warning: sugar_file_put_contents_atomic() : fatal rename failure '/tmp/temp6NNodJ' -> 'cache/modules/UserPreferences/UserPreferencevardefs.php' at /var/www/vhosts/netpla.net/hello.netpla.net/public/legacy/include/utils/sugar_file_utils.php:228)"} []
[2023-07-07 22:50:39] php.WARNING: User Warning: sugar_file_put_contents_atomic() : fatal rename failure '/tmp/tempq3jjDM' -> 'cache/modules/Administration/Administrationvardefs.php' {"exception":"[object] (ErrorException(code: 0): User Warning: sugar_file_put_contents_atomic() : fatal rename failure '/tmp/tempq3jjDM' -> 'cache/modules/Administration/Administrationvardefs.php' at /var/www/vhosts/netpla.net/hello.netpla.net/public/legacy/include/utils/sugar_file_utils.php:228)"} []
[2023-07-07 22:50:39] request.CRITICAL: Uncaught PHP Exception RuntimeException: "Please run ng build from terminal" at /var/www/vhosts/netpla.net/hello.netpla.net/core/backend/Engine/Controller/IndexController.php line 87 {"exception":"[object] (RuntimeException(code: 0): Please run ng build from terminal at /var/www/vhosts/netpla.net/hello.netpla.net/core/backend/Engine/Controller/IndexController.php:87)"} []

Thanks in advance for giving some hints for me.

Cheers,
Besim

Which tutorial or documentation are you following, exactly?

Hello pgr,

I’m following the official install manual. The neccessary permissions are given.

One difference is that I fixed the “api-platform/core” module to version 2.6 in PHP Composer , since the newer version generated additional errors in the log.

Besim

Which one, exactly?

I’m not trying to be annoying, there are several and there has been confusion between them.

Hi pgr,

feel free to ask me anything, you’re far away to annoying me. :slight_smile:

I’m going after this documentation:

I’m using plesk for PHP Composer and Hosting but that’s streamline to configure (so I think).

Besim

That page sends you to download files from a Releases page that is for 8.0. You probably went somewhere else to get 8.3, where was it? Which package did you get?

Did the installer run without errors?

Your runtime error is strange, it seems as if the front-end is not compiled yet, but that should be pre-compiled in the package, I think.

I thought I was on the right track with these instructions because it says version “8+”. Is there a separate tutorial for 8.3? I have not found it.

I installed via cli and this worked.

The tutorial is that one, but when it says “go download the files”, that link is old. And knowing which package you got is crucial for me to know what’s in it :slight_smile:

So your installation is working now?

I downloaded the actual file via the download button on the front page.

I’m giving up to install SuiteCRM for now. It’s obviously too complicated for me to install it.

Please don’t ask me what I did differently now, but on the umpteenth installation attempt it now worked without any errors.

2 Likes