Error at chown checking when install ESPO 8.2.4 on nginx

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trungtvmso
    Member
    • Jun 2022
    • 70

    Error at chown checking when install ESPO 8.2.4 on nginx

    Dear All,

    Pls kindly help me on this issue, i'm trying to install ESPOCRM on Ubuntu 20.04 - nginx + php 8.2 + Mariadb.

    I set Nginx Webserver done already but when the installation went to this step, it could not went through.

    Click image for larger version

Name:	image.png
Views:	247
Size:	41.1 KB
ID:	106598

    I tried to use the suggestion command but still got this error. Pls help me to resolve it. I want to run it on my VPS instead of Localhost.

    This is my errors_logs:


    ​[2024-05-24 10:28:39] ERROR: Uncaught Exception RuntimeException: "Could not write file `/webserver-domain/public_html/data/logs/espo-2024-05-24.log`. Error message: Call to undefined function Espo\Core\Utils\File\chown()" at /webserver-domain/public_html/application/Espo/Core/Log/Handler/EspoFileHandler.php line 88 {"exception":"[object] (RuntimeException(code: 0): Could not write file `/webserver-domain/public_html/data/logs/espo-2024-05-24.log`. Error message: Call to undefined function Espo\\Core\\Utils\\File\\chown() at /webserver-domain/public_html/application/Espo/Core/Log/Handler/EspoFileHandler.php:88)"}
    [2024-05-24 10:28:58] WARNING: E_WARNING: Undefined array key "errors" {"code":2,"message":"Undefined array key "errors"","file":"/webserver-domain/public_html/install/vendor/smarty/libs/sysplugins/smarty_internal_templatebase.php(143) : eval()'d code","line":4}
    [2024-05-24 10:28:58] WARNING: E_WARNING: Attempt to read property "value" on null {"code":2,"message":"Attempt to read property "value" on null","file":"/webserver-domain/public_html/install/vendor/smarty/libs/sysplugins/smarty_internal_templatebase.php(143) : eval()'d code","line":4}
    [2024-05-24 10:31:14] WARNING: E_WARNING: Undefined array key "errors" {"code":2,"message":"Undefined array key "errors"","file":"/webserver-domain/public_html/install/vendor/smarty/libs/sysplugins/smarty_internal_templatebase.php(143) : eval()'d code","line":4}
    [2024-05-24 10:31:14] WARNING: E_WARNING: Attempt to read property "value" on null {"code":2,"message":"Attempt to read property "value" on null","file":"/webserver-domain/public_html/install/vendor/smarty/libs/sysplugins/smarty_internal_templatebase.php(143) : eval()'d code","line":4}
    [2024-05-24 10:32:24] WARNING: E_WARNING: Undefined array key "errors" {"code":2,"message":"Undefined array key "errors"","file":"/webserver-domain/public_html/install/vendor/smarty/libs/sysplugins/smarty_internal_templatebase.php(143) : eval()'d code","line":4}
    [2024-05-24 10:32:24] WARNING: E_WARNING: Attempt to read property "value" on null {"code":2,"message":"Attempt to read property "value" on null","file":"/webserver-domain/public_html/install/vendor/smarty/libs/sysplugins/smarty_internal_templatebase.php(143) : eval()'d code","line":4}
  • victor
    Active Community Member
    • Aug 2022
    • 727

    #2
    Did you specify Permissions: https://docs.espocrm.com/administrat...n/#permissions in the EspoCRM files folder before installation?

    Comment

    • trungtvmso
      Member
      • Jun 2022
      • 70

      #3
      Originally posted by victor
      Did you specify Permissions: https://docs.espocrm.com/administrat...n/#permissions in the EspoCRM files folder before installation?
      Hi Victor, I did it already.

      Click image for larger version

Name:	image.png
Views:	107
Size:	65.8 KB
ID:	106607
      Click image for larger version

Name:	image.png
Views:	100
Size:	24.3 KB
ID:	106608

      ​But nothing changes...

      Comment

      • trungtvmso
        Member
        • Jun 2022
        • 70

        #4
        This is Espo installation check permissions right before the red page shown up.

        Click image for larger version

Name:	image.png
Views:	110
Size:	33.7 KB
ID:	106612

        Comment

        Working...