Announcement

Collapse
No announcement yet.

Urgent! Bad Server Response!

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

  • Urgent! Bad Server Response!

    Hello all,

    I am getting a Bad Server Response after attempting to relabel an entity.

    Here is a small snip of the log:

    [2019-01-02 16:45:56] Espo.ERROR: Uncaught Exception Slim\Exception\Stop: "" at /opt/bitnami/apps/espocrm/htdocs/vendor/slim/slim/Slim/Slim.php line 1022 {"exception":"[object] (Slim\\Exception\\Stop(code: 0): at /opt/bitnami/apps/espocrm/htdocs/vendor/slim/slim/Slim/Slim.php:1022)"} []
    [2019-01-02 16:45:56] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must implement interface Espo\ORM\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php line 105 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must implement interface Espo\\ORM\\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205 at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php:105)"} []
    [2019-01-02 16:45:57] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "ORM: Repository 'Portal' does not exist." at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php line 164 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): ORM: Repository 'Portal' does not exist. at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php:164)"} []
    [2019-01-02 16:45:58] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must implement interface Espo\ORM\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php line 105 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must implement interface Espo\\ORM\\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205 at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php:105)"} []
    [2019-01-02 16:45:58] Espo.ERROR: Display Error: System user is not found, Code: 500 URL: /espocrm/portal/partner/ [] []
    [2019-01-02 16:45:58] Espo.ERROR: Uncaught Exception Slim\Exception\Stop: "" at /opt/bitnami/apps/espocrm/htdocs/vendor/slim/slim/Slim/Slim.php line 1022 {"exception":"[object] (Slim\\Exception\\Stop(code: 0): at /opt/bitnami/apps/espocrm/htdocs/vendor/slim/slim/Slim/Slim.php:1022)"} []
    [2019-01-02 16:45:58] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "ORM: Repository 'Portal' does not exist." at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php line 164 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): ORM: Repository 'Portal' does not exist. at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php:164)"} []
    [2019-01-02 16:45:58] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "ORM: Repository 'Portal' does not exist." at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php line 164 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): ORM: Repository 'Portal' does not exist. at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php:164)"} []
    [2019-01-02 16:45:59] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "ORM: Repository 'Portal' does not exist." at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php line 164 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): ORM: Repository 'Portal' does not exist. at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php:164)"} []
    [2019-01-02 16:45:59] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must implement interface Espo\ORM\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php line 105 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must implement interface Espo\\ORM\\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205 at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php:105)"} []
    [2019-01-02 16:45:59] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must implement interface Espo\ORM\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php line 105 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must implement interface Espo\\ORM\\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205 at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php:105)"} []
    [2019-01-02 16:45:59] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must implement interface Espo\ORM\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php line 105 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must implement interface Espo\\ORM\\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205 at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php:105)"} []
    [2019-01-02 16:46:00] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must implement interface Espo\ORM\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php line 105 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must implement interface Espo\\ORM\\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205 at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php:105)"} []
    [2019-01-02 16:46:00] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must implement interface Espo\ORM\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php line 105 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must implement interface Espo\\ORM\\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205 at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php:105)"} []
    [2019-01-02 16:46:00] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must implement interface Espo\ORM\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php line 105 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must implement interface Espo\\ORM\\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 205 at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php:105)"} []
    [2019-01-02 16:46:01] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "ORM: Repository 'Portal' does not exist." at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php line 164 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): ORM: Repository 'Portal' does not exist. at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php:164)"} []
    [2019-01-02 16:46:01] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "ORM: Repository 'Portal' does not exist." at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php line 164 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): ORM: Repository 'Portal' does not exist. at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php:164)"} []
    [2019-01-02 16:46:01] Espo.ERROR: Display Error: System user is not found, Code: 500 URL: /espocrm/portal/partner/ [] []
    [2019-01-02 16:46:01] Espo.ERROR: Uncaught Exception Slim\Exception\Stop: "" at /opt/bitnami/apps/espocrm/htdocs/vendor/slim/slim/Slim/Slim.php line 1022 {"exception":"[object]

  • #2
    I am also seeing this on the portal logins:

    Attached Files

    Comment


    • #3
      I tried to do a fresh install and imported the sql database, conf, and data files and I am getting this error in the logs now:

      [2019-01-02 19:05:01] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.type' in 'field list'" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php line 73 {"exception":"[object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.type' in 'field list' at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php:73)"} []

      Comment


      • #4
        Going to try to just export the data and import via excel in a brand new system. Not sure what went wrong.

        Comment


        • #5
          Hello,
          relabel means change the label only (translation), or file renaming?
          Did you install the same version as in your backup?

          Comment


          • #6
            The version is a lot newer.

            I changed the label of an entity in the entity settings.

            Comment


            • #7
              Here are the errors the log is producing now on the bad server:

              [2019-01-02 22:25:04] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "ORM: Repository 'Portal' does not exist." at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php line 164 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): ORM: Repository 'Portal' does not exist. at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php:164)"} []
              [2019-01-02 22:26:01] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "System user is not found" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/Auth.php line 125 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): System user is not found at /opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/Auth.php:125)"} []
              [2019-01-02 22:26:03] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "ORM: Repository 'Portal' does not exist." at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php line 164 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): ORM: Repository 'Portal' does not exist. at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/EntityManager.php:164)"} []
              [2019-01-02 22:26:22] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::count() must implement interface Espo\ORM\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 455" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php line 85 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::count() must implement interface Espo\\ORM\\IEntity, null given, called in /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/Repositories/RDB.php on line 455 at /opt/bitnami/apps/espocrm/htdocs/application/Espo/ORM/DB/Mapper.php:85)"} []
              5

              Comment


              • #8
                So I did a fresh install and manually added the SQL tables from my old date. It works now but I have no idea what caused the original problem.

                Comment


                • #9
                  Somehow you removed Portal entity. Could you reproduce this (you can use demo for this), and if you could, I will ask you to share this crashing algorithm.

                  Comment


                  • #10
                    I tried but I could not reproduce.

                    Comment

                    Working...
                    X