Announcement

Collapse
No announcement yet.

Upgrade error 403 EspoCRM 5.1.2

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

  • Upgrade error 403 EspoCRM 5.1.2

    Hi everyone,

    I was trying to upgrade EspoCRM to the last version, downloaded the zip file and after clicking the upload on the administration area an 403 access error pops up!

    Any one has experienced the same problem?

    (picture attached)
    Attached Files

  • #2
    Hello,
    where is your crm? on your server or on our?

    Comment


    • #3
      Hello tanya,

      EspoCRM is installed on our server,

      PHP version 7.0.30
      MySQL 5.6.39

      During the installation all the basic requirement where ok.

      Comment


      • #4
        check data/config.php for option 'restrictedMode'

        Comment


        • #5
          Hi tanya,

          'restrictedMode' => false,

          Comment


          • #6
            If you try to upgrade as Administartor and 'restrictedMode' => false can't get 403 error.

            Comment


            • #7
              Hi tanya,

              I am using the default created admin user and i also have created a new user with administration privileges to test it and the error is still there.

              Can EspoCRM be upgraded via FTP?

              Comment


              • #8
                https://github.com/espocrm/documenta...n/upgrading.md
                But it uses the same logic.
                You can check file permissions as well, but if the problem was here, you would get other error.
                Last edited by tanya; 06-05-2018, 07:59 AM.

                Comment


                • #9
                  Hi tanya,

                  Ok, thank you for your support,

                  I am going to check the file permissions and look into the link

                  Comment


                  • #10
                    Hi tanya,

                    I am waiting for my server hosting feedback for CLI access to be able to upgrade EspoCRM to the last version.

                    From what i understand the Advanced Pack is also installed thought the administration/extensions.

                    I thing i will have the same problem trying to install it (403 error)

                    Can the Advanced Pack be installed also using CLI?

                    Nunos.

                    Comment


                    • #11
                      Yes, in the same way, but using extension.php


                      php extension.php /path/to/upgrade/extension.zip

                      Comment


                      • #12
                        Ok, thanks tanya,

                        I have found this entry under the data/logs just after trying the upgrade:

                        [2018-06-20 09:37:56] Espo.ERROR: API [GET]:/:controller, Params:Array ( [controller] => User ) , InputData: - [] []
                        [2018-06-20 09:37:56] Espo.ERROR: Display Error: , Code: 403 URL: /api/v1/User?maxSize=5&offset=0&sortBy=userName&asc=true&w here%5B0%5D%5Btype%5D=primary&where%5B0%5D%5Bvalue %5D=active [] []

                        Any idea?

                        Comment


                        • #13
                          Does your user have access to User entity? Did you modify User controller, or Acl?

                          Comment


                          • #14
                            Hi tanya,

                            I am using the admin user account, no changes where made to this account since installation.

                            I have also created a new user account with administrator privileges, same problem. (pic attached)

                            Attached Files

                            Comment


                            • #15
                              Hello All,

                              I have the same problem, when I'm trying to upload the upgrade file, I'm receiving 403 error access denied. Unfortunately I have no CLI access.
                              Any other way to solve this?

                              Comment

                              Working...
                              X