Announcement

Collapse
No announcement yet.

Espo CRM Upgrade Error (500 Error)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Espo CRM Upgrade Error (500 Error)

    I recently upgraded my Espo CRM from version 7.5.6 to the latest 8.0.3. However, after completing the upgrade, my system is encountering an issue, and it's displaying a 500 error.
    I have already reviewed the system logs and found the following error message:
    "System user is not found.; GET /I18n; line: 72, file: /home/abc.com/public_html/application/Espo/Core/ApplicationUser.php."
    Can you please provide guidance on how to resolve this issue?




  • #2
    Weird. Maybe try to run

    php rebuild.php

    Comment


    • #3
      yuri Tried but still the same issue

      Comment


      • #4
        [2023-10-23 08:10:49] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/autoload.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/autoload.php because Permission denied","file":"/home/abc.com.np/public_html/application/Espo/Core/Utils/File/Manager.php","line":704}
        [2023-10-23 08:10:49] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/autoload.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/autoload.php because Permission denied","file":"/home/abc.com.np/public_html/application/Espo/Core/Utils/File/Manager.php","line":704}
        [2023-10-23 08:10:49] ERROR: Uncaught Exception RuntimeException: "Route collector cache file directory `data/cache/application` is not writable" at /home/abc.com.np/public_html/vendor/slim/slim/Slim/Routing/RouteCollector.php line 141 {"exception":"[object] (RuntimeException(code: 0): Route collector cache file directory `data/cache/application` is not writable at /home/abc.com.np/public_html/vendor/slim/slim/Slim/Routing/RouteCollector.php:141)"}
        [2023-10-23 08:10:49] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/autoload.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/autoload.php because Permission denied","file":"/home/abc.com.np/public_html/application/Espo/Core/Utils/File/Manager.php","line":704}
        [2023-10-23 08:10:49] ERROR: Uncaught Exception RuntimeException: "Route collector cache file directory `data/cache/application` is not writable" at /home/abc.com.np/public_html/vendor/slim/slim/Slim/Routing/RouteCollector.php line 141 {"exception":"[object] (RuntimeException(code: 0): Route collector cache file directory `data/cache/application` is not writable at /home/abc.com.np/public_html/vendor/slim/slim/Slim/Routing/RouteCollector.php:141)"}
        [2023-10-23 08:10:49] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/autoload.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/autoload.php because Permission denied","file":"/home/abc.com.np/public_html/application/Espo/Core/Utils/File/Manager.php","line":704}
        [2023-10-23 08:10:49] ERROR: Uncaught Exception RuntimeException: "Route collector cache file directory `data/cache/application` is not writable" at /home/abc.com.np/public_html/vendor/slim/slim/Slim/Routing/RouteCollector.php line 141 {"exception":"[object] (RuntimeException(code: 0): Route collector cache file directory `data/cache/application` is not writable at /home/abc.com.np/public_html/vendor/slim/slim/Slim/Routing/RouteCollector.php:141)"}


        latest log

        Comment


        • #5
          Hi sapyantuk,

          The following points may help resolve the issue:
          1. Set the correct permissions and ownership: https://docs.espocrm.com/administrat...-based-systems
          2. Make a rebuild via CLI: https://docs.espocrm.com/administrat...mands/#rebuild

          Comment


          • #6
            lazovic
            i have fixed the previous issue . but now login page is not loading

            Click image for larger version

Name:	image.png
Views:	377
Size:	64.5 KB
ID:	98918
            Attached Files

            Comment


            • lazovic
              lazovic commented
              Editing a comment
              Try disabling third-party extensions (all those purchased or downloaded not from the official website), make a rebuild and check if the error appears. Some of them may not be compatible with the latest EspoCRM version.

          • #7
            You can uninstall a specific extension via CLI: https://docs.espocrm.com/administrat...nds/#extension

            Print all extension with their IDs:
            Code:
            bin/command extension -l
            Uninstall:
            Code:
            bin/command extension -u --id="extension-ID"

            Comment


            • #8
              yuri lazovic Thank you so much. Problem solved

              Comment

              Working...
              X