Error 500 after update version 8.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • enricorossa
    Senior Member
    • Jul 2018
    • 125

    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

  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    You might have removed the system user from DB manually.

    Try running:

    Code:
    php rebuild.php
    This should re-create the system user.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • SuR_Dev
      Junior Member
      • May 2022
      • 8

      #3
      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

      Comment

    • SuR_Dev
      Junior Member
      • May 2022
      • 8

      #4
      Sorry. I just forgot the sudo.
      Code:
      sudo php rebuild.php

      Comment

      • nickh
        Member
        • Jun 2018
        • 67

        #5
        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.

        Comment

        • Vadym
          Super Moderator
          • Jun 2021
          • 345

          #6
          Hi nickh,

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

          Comment

          Working...