"HTTP ERROR 500" New installation error

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • especial
    replied
    Originally posted by yuri
    If you took the master branch, it's not a stable. It won't work.
    Thanks for advice. Still can't install on hostinger

    Leave a comment:


  • yuri
    replied
    If you took the master branch, it's not a stable. It won't work.

    Leave a comment:


  • especial
    replied
    Also tried to deploy from github public repositories https://github.com/espocrm/espocrm, then changed the php version to 8.1, then installed successfully in a different folder from github one. If github public repositories is deleted, it won't allow me to install, either. And if php version switched back to 8.2, installation failed.
    EspoCRM version 8.4.2
    PHP version 8.1
    ​
    Who can explain this?

    Leave a comment:


  • especial
    replied
    I tried to switched to php 8.1, installation succeed, maybe it's the issue of php version?

    Leave a comment:


  • yuri
    replied
    It seems PHP is configured/built without some required extensions.

    The same issue here: https://forum.espocrm.com/forum/inst...ils-file-chown

    Leave a comment:


  • especial
    replied
    i can install this version on windows locally pretty smoothly, strange

    Leave a comment:


  • especial
    replied
    Originally posted by shalmaxb
    In config-internal file set error level to DEBUG, as this shows a bit more in the log file.
    Also check your server logs.
    Thanks for posting. This is the new espo-2024-12-07.log:
    [2024-12-07 06:38:12] ERROR: (0) Uncaught Exception RuntimeException: "Could not write file `/home/u271320918/domains/server-domain/public_html/expo/data/logs/espo-2024-12-07.log`. Error message: Call to undefined function Espo\Core\Utils\File\chgrp()" at /home/u271320918/domains/server-domain/public_html/expo/application/Espo/Core/Log/Handler/EspoFileHandler.php line 88 :: /home/u271320918/domains/server-domain/public_html/expo/application/Espo/Core/Log/Handler/EspoFileHandler.php(88)
    [2024-12-07 06:44:32] WARNING: E_WARNING: Undefined array key "errors"
    [2024-12-07 06:44:32] WARNING: E_WARNING: Attempt to read property "value" on null
    [2024-12-07 14:57:19] WARNING: E_WARNING: Undefined array key "errors"
    [2024-12-07 14:57:19] WARNING: E_WARNING: Attempt to read property "value" on null

    This is the error info in server log:
    [10-Oct-2024 01:08:40 UTC] PHP Warning: Module "mysqli" is already loaded in Unknown on line 0
    [10-Oct-2024 01:08:41 UTC] PHP Warning: Module "Phar" is already loaded in Unknown on line 0
    [10-Oct-2024 01:08:41 UTC] PHP Warning: Module "mysqlnd" is already loaded in Unknown on line 0
    [10-Oct-2024 01:08:41 UTC] PHP Warning: Module "mysqli" is already loaded in Unknown on line 0​​
    Last edited by especial; 12-07-2024, 03:43 PM.

    Leave a comment:


  • shalmaxb
    replied
    In config-internal file set error level to DEBUG, as this shows a bit more in the log file.
    Also check your server logs.

    Leave a comment:


  • especial
    started a topic "HTTP ERROR 500" New installation error

    "HTTP ERROR 500" New installation error

    HTTP ERROR 500 pops up when i click install button.

    I checked this file 'espo-2024-12-07.log', the content in this file :
    [2024-12-07 06:38:12] ERROR: (0) Uncaught Exception RuntimeException: "Could not write file `/home/u271320918/domains/server-domain/public_html/expo/data/logs/espo-2024-12-07.log`. Error message: Call to undefined function Espo\Core\Utils\File\chgrp()" at /home/u271320918/domains/server-domain/public_html/expo/application/Espo/Core/Log/Handler/EspoFileHandler.php line 88 :: /home/u271320918/domains/server-domain/public_html/expo/application/Espo/Core/Log/Handler/EspoFileHandler.php(88)

    after refresh the 500 error page, it hows permission denied.
    Searched the forums and find espo official docs, and applied the permissions as requested, but still no change, i even checked it with hostinger support but no luck.

    EspoCRM version is 8.4.2
    PHP version is 8.2
    mySQL version is
    ​
    What might be the issue? Please help.
    Last edited by especial; 12-07-2024, 03:41 PM.
Working...