error 404 : Not Found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MATO
    Member
    • Jun 2019
    • 98

    error 404 : Not Found

    Hi Team

    Just upgraded from 5.8.5 to 5.9.3 and now getting an error 404.

    Any ideas on why this would happen?

    Thank you in advance

    MATO
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hi,
    please check a log file to get more info. Also on the blank page with 404 error, press F12 button -> refresh a web page -> check the console and network tab for possible errors.

    Comment

    • MATO
      Member
      • Jun 2019
      • 98

      #3
      Hi Maximus

      I had to quickly go back to version 5.8.5 due to User complaints oh the joys.

      I will create a test site and try that later today and get back to you.

      Thank you for your help so far

      MATO

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        If you are using Apache web server, probably the error might be caused by the changes in the .htaccess file in the EspoCRM root directory. Try this:
        1. Open the .htaccess file
        2. Replace the string
        Code:
        RewriteRule /?web\.config - [F]
        with
        Code:
        RewriteRule reset/?$ reset.html [QSA,L]
        3. Refresh the EspoCRM web page.

        Comment

        • MATO
          Member
          • Jun 2019
          • 98

          #5
          Hi Maximus

          No joy with the .htaccess file

          Just to point out we can never get the CLI upgrade working with 1and1 so have to always go down the UI route.

          MATO

          Comment

          • Maximus
            Senior Member
            • Nov 2018
            • 2731

            #6
            Perhaps your issue is linked to this problem https://forum.espocrm.com/forum/anno...9740#post59740.

            Comment

            • MATO
              Member
              • Jun 2019
              • 98

              #7
              Have run the update via the Cli on a test site.

              Current version is 5.8.5.
              Downloading...
              Upgrading... This may take a while...
              Upgrade is complete. Current version is 5.9.3.
              You have the latest version.

              And still get error 404 with no entries within a new log file.


              Comment

              • Maximus
                Senior Member
                • Nov 2018
                • 2731

                #8
                Have you read this https://forum.espocrm.com/forum/anno...sed#post59740?
                Did you try to get more info about the error with the ways I described here https://forum.espocrm.com/forum/inst...726#post59726?

                Please try to get the error description first (F12 debug console)

                Comment

                • MATO
                  Member
                  • Jun 2019
                  • 98

                  #9
                  Hi Maximus

                  We can't see if we have the issue described in the https://forum.espocrm.com/forum/anno...sed#post59740? due to not being able to get to the crm.

                  We are seeing the following errors on F12

                  Failed to load resource: the server responded with a status of 404 (Not Found) /ESPOCRM/api/v1/Settings:1

                  Failed to load resource: the server responded with a status of 404 (Not Found) /ESPOCRM/api/v1/I18n?default=true:1

                  DevTools failed to load SourceMap: Could not load content for http://domainname/salescrm/purify.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

                  Thank you for your help on this

                  MATO

                  Comment

                  • MATO
                    Member
                    • Jun 2019
                    • 98

                    #10
                    Hi Maximus

                    After looking at the F12 status of 404 we worked out it was the .htaccess file path

                    Broken version - RewriteBase /api/v1/

                    Now working - RewriteBase /ESPOCRM/api/v1/

                    Not sure why an upgrade is changing the .htaccess as we haven't seen this issue before.

                    Thank you for your help on this

                    MATO

                    Comment

                    Working...