Announcement

Collapse
No announcement yet.

Espo 5.5.5 " Error 403: Access denied " after Upgrade

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

  • Espo 5.5.5 " Error 403: Access denied " after Upgrade

    Good Morning,

    Looks like we got in trouble after upgrade from 5.4.5 to 5.5.5
    The problem seems to appear only when trying to create a new "USER".
    Other entities are ok for CRUD, only the User has issues.
    Any ideas ? thank you

  • #2
    Hello,
    It works fine. Could you check the log files? This can be useful https://www.espocrm.com/documentatio...ent-check-logs.

    Comment


    • #3
      Espo\data\logs\espo.log
      HTML Code:
      [2019-01-21 05:57:56] Espo.ERROR: API [POST]:/:controller, Params:Array ( [controller] => User ) , InputData: {"type":"Employee","firstName":"tt","lastName":"tt ","isActive":true,"isSuperAdmin":false,"teams":{"t eamsIds":[]},"gender":"","userName":"ttt","salutationName":"M r.","password":"*****","passwordConfirm":"*****"," passwordPreview":"*****","title":null,"emailAddres sData":[],"emailAddress":null,"emailAddressIsOptedOut":null ,"phoneNumberData":[],"phoneNumber":null,"employmentsIds":[],"employmentsNames":{},"rolesIds":[],"rolesNames":{},"isAdmin":false,"teamsIds":[],"teamsNames":{},"teamsColumns":{},"isPortalUser": false,"defaultTeamName":null,"defaultTeamId":null} - [] [] [2019-01-21 05:57:56] Espo.ERROR: Display Error: , Code: 403 URL: /api/v1/User [] []

      Comment


      • #4
        Is there any record in the web server log?

        Comment


        • #5
          HTML Code:
            [Mon Jan 21 05:52:36.608659 2019] [proxy:error] [pid 1899:tid 140054177339136] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/run/Espo.sock (127.0.0.1) failed [Mon Jan 21 05:52:36.609374 2019] [proxy_fcgi:error] [pid 1899:tid 140054177339136] [client 172.69.202.39:0] AH01079: failed to make connection to backend: httpd-UDS, referer: https://dev.empiremedia.io/
          HTML Code:
            [Mon Jan 21 05:52:33.008797 2019] [ssl:warn] [pid 1879:tid 140054655915776] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] [Mon Jan 21 05:52:33.021332 2019] [mpm_event:notice] [pid 1879:tid 140054655915776] AH00489: Apache/2.4.34 (Unix) OpenSSL/1.0.2g configured -- resuming normal operations [Mon Jan 21 05:52:33.021405 2019] [core:notice] [pid 1879:tid 140054655915776] AH00094: Command line: '/usr/local/sbin/httpd'

          Comment


          • #6
            Hi,
            maybe, I know User Entity have changed something... on 5.5.0 I think
            for me, try to verify if User Entity is same.

            Regards

            Comment


            • #7
              Do you know which files respond for this entity ? i would try to replace those with fresh ones again step by step..
              Thank you

              Comment


              • #8
                Did you upgrade something else despite upgrading Espo, (PHP, webserver, etc.)?

                Comment


                • #9
                  Originally posted by Maximus View Post
                  Did you upgrade something else despite upgrading Espo, (PHP, webserver, etc.)?
                  No. Maybe the files for the USER entity were broken, which folders are these stored to ?

                  Comment


                  • #10
                    application/Espo/Resources/metadata/entityDefs
                    Verify with your file before..

                    Have you make any customisation in User Entity ?

                    Comment

                    Working...
                    X