Error 500 after update version 8.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Vadym
    replied
    Hi nickh,

    Please try to run:
    Code:
    sudo php rebuild.php​

    Leave a comment:


  • nickh
    replied
    Hi
    We are also getting this error but on V 7.5.6.

    After running "php rebuild.php":​

    PHP Warning: file_put_contents(/opt/bitnami/espocrm/data/logs/espo-2023-09-27.log): Failed to open stream: Permission denied in /opt/bitnami/espocrm/application/Espo/Core/Utils/File/Manager.php on line 331
    Error: Error while clearing cache
    PHP Warning: file_put_contents(/opt/bitnami/espocrm/data/logs/espo-2023-09-27.log): Failed to open stream: Permission denied in /opt/bitnami/espocrm/application/Espo/Core/Utils/File/Manager.php on line 331​

    We checked permissions as per https://docs.espocrm.com/administrat...sed-systemslaz

    Now when we run "php rebuild.php" we get :
    Error while clearing cache

    yuri Any suggestions?
    Last edited by nickh; 09-28-2023, 07:21 AM.

    Leave a comment:


  • SuR_Dev
    replied
    Sorry. I just forgot the sudo.
    Code:
    sudo php rebuild.php

    Leave a comment:


  • lazovic
    commented on 's reply
    Please check required permissions: https://docs.espocrm.com/administrat...-based-systems

  • SuR_Dev
    replied
    We do have the same Problem after Upgrade to version 8.0

    After running "php rebuild.php" I getthis error:​

    PHP Warning: file_put_contents(/opt/bitnami/espocrm/data/logs/espo-2023-09-08.log): Failed to open stream: Permission denied in /opt/bitnami/espocrm/application/Espo/Core/Utils/File/Manager.php on line 331
    Error: Error while clearing cache
    PHP Warning: file_put_contents(/opt/bitnami/espocrm/data/logs/espo-2023-09-08.log): Failed to open stream: Permission denied in /opt/bitnami/espocrm/application/Espo/Core/Utils/File/Manager.php on line 331

    ​

    Leave a comment:


  • yuri
    replied
    You might have removed the system user from DB manually.

    Try running:

    Code:
    php rebuild.php
    This should re-create the system user.

    Leave a comment:


  • enricorossa
    started a topic Error 500 after update version 8.0

    Error 500 after update version 8.0

    I find this information in the log

    [2023-09-07 13:12:09] ERROR: (0) System user is not found.; GET /Settings; line: 72, file: /application/Espo/Core/ApplicationUser.php
    [2023-09-07 13:12:10] ERROR: (0) System user is not found.; GET /I18n; line: 72, file: /application/Espo/Core/ApplicationUser.php

    ​
Working...