Failed upgrade: 6.1.10->7.0.0 (Nginx)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dimyy
    Active Community Member
    • Jun 2018
    • 569

    Failed upgrade: 6.1.10->7.0.0 (Nginx)

    After upgrade client don't start (browser cache cleared)
    Nginx config applied (all /client requests is ok)
    Attached Files
  • dimyy
    Active Community Member
    • Jun 2018
    • 569

    #2
    Developer Mode bug
    If isDeveloperMode false all ok

    Comment

    • yuri
      Member
      • Mar 2014
      • 8442

      #3
      It's not a bug I guess. Developer mode is not supposed to be enabled unless you run an instance from a git repository.
      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

      • dimyy
        Active Community Member
        • Jun 2018
        • 569

        #4
        This is new behavior compared to the previous version.

        Comment

        • yuri
          Member
          • Mar 2014
          • 8442

          #5
          It was never intended to work. I don't know how it worked on downloaded version, it should have been built with grunt.
          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

          • nickt
            Junior Member
            • Aug 2019
            • 6

            #6
            My installation broke with a command line update from 6.* to 7.* as well. I had to update the NGINX configuration in order to fix this. This should have been made super clear in the release notes, but for some reason wasn't even mentioned.

            Use the new configuration for NGINX here: https://docs.espocrm.com/administrat...-configuration

            Make sure to put the "root" as the public folder.

            Code:
            root /var/www/html/public
            Then, further down, set the directory under the /client location to the parent folder.


            Code:
            location /client {
                root /var/www/html; # path to espocrm root dir
            ...
            }
            Restart NGINX and you should be working.

            Comment

          • yuri
            Member
            • Mar 2014
            • 8442

            #7
            The information about how to reconfigure webserver is supposed to be shown when you access an instance after upgrade.
            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

            • nickt
              Junior Member
              • Aug 2019
              • 6

              #8
              You're right. I spoke to soon. After upgrading a different instance I did see that message. Not sure why it didn't show up on the first site I upgraded. I also saw an email that was sent about the upgrade mentioning the NGINX configuration. Thanks!

              Comment

              Working...