AH01630 error after migration to new server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Moose999
    Junior Member
    • Oct 2019
    • 5

    #1

    AH01630 error after migration to new server

    I migrated an instance to a new server. I am fairly sure most of the server configuration is OK, as I have another instance on the same server that has no problems.

    In the apache error log I can see:

    AH01630: client denied by server configuration: /home/public_html/api

    and I can see similar errors in my browser console.

    there's nothing related in my Espo logs.

    File permissions seem OK.

    What is the best way for me to track down this problem?

    Many thanks!


  • emillod
    Active Community Member
    • Apr 2017
    • 1592

    #2
    Did you tried to set permissions based on documentation to not guess?

    Comment

    • Moose999
      Junior Member
      • Oct 2019
      • 5

      #3
      Hi,

      I have now run:

      find . -type d -exec chmod 755 {} + && find . -type f -exec chmod 644 {} +;
      find data custom client/custom -type d -exec chmod 775 {} + && find data custom client/custom -type f -exec chmod 664 {} +;
      chmod 754 bin/command;


      but I still have the same error.

      Many thanks

      Comment

      • emillod
        Active Community Member
        • Apr 2017
        • 1592

        #4
        Normally api folder is in public folder. Are you sure that you correctly configured everything? Normally it should be everything in public_html, there should be also public folder from Espo, and inside of it there should be api folder.

        Comment

        • Moose999
          Junior Member
          • Oct 2019
          • 5

          #5
          Yes, I can see those folders in my file system.

          Is there a URL I should be able to access? /public/api/v1/index.php gives me 404 Not Found - but it does on my working instance as well, so I'm not sure that's a valid test.

          Comment

          Working...