Nextcloud Sync

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    #16
    esforim no, you shouldn't change anything in htaccess. Can you tell me more about what you're trying to do? On which system? It's important to set proper endpoint. Everything is described in documentation. You can always send us an email with your issue, start conversation on chat or schedule a meeting on ms teams We'll be more than happy to assist you.

    Comment


    • esforim
      esforim commented
      Editing a comment
      Thank you. I think I'll send a chat tomorrow.

      I don't see any mention of the "Endpoint" in the documents.

      System? EspoCRM 7.5.1?
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    #17
    esforim
    can you try endpoint https://crm.domain.com/dav/server.php/files
    ?

    Comment

    • esforim
      Active Community Member
      • Jan 2020
      • 2204

      #18
      This URL look good! Working there.

      I got pass the first hurdle, now this time it ask for username and Password. But fail after I enter it.

      Looking at the URL directly with my web browser I get this error though, so I think with my current setup it not about username/password.

      Code:
       4.3.1 Sabre\DAV\Exception\NotFound File not found: server.php in 'root'
      Let me see if I can dig that file in my server.

      I can find this find on the server:

      /app/public/dav/server.php

      So it obvious the installation went well and the file exist.

      So from there I try this url instead: https://crm.webstire.com/public/dav/server.php
      But it get this error: 4.3.1 LogicException Requested uri (/public/dav/server.php) is out of base uri (/dav/)

      Sound like I must use the right url which is what you told me: https://crm.domain.com/dav/server.php/files

      So I try this instead: https://crm.domain.com/public/dav/server.php/files

      I don't see any "Files"(files) or "Files" (folder) on the server though. So no file is create yet for my installation.

      Thinking along the line of "API" I shouldn't need to add the /public/ in the URL. GET https://address_of_your_crm/api/v1/C...43ca033f7ab4c5

      Reading the error again, I can see this, server.php in 'root'
      So maybe it a permission issue, so I went to compare the API permission to the server.php. Both same to be the same 664 rw-r--r--
      There is a htaccess file in this folder, reading the code don't help solve problem.
      Last edited by esforim; 06-15-2023, 07:19 AM.

      Comment

      • emillod
        Active Community Member
        • Apr 2017
        • 1405

        #19
        esforim thank you for all information. Can you tell me more abou your setup? You're using apache, shared hosting? VPS?

        Comment


        • esforim
          esforim commented
          Editing a comment
          I believe I am using Apache (?). PHP is Apache right? Not using Docker or those Windows IISS server, not NGIX (?) either.

          And it is Shared Hosting. I believe it is a Debian system on the server host.

          PHP 8.1.18
          10.5.19-MariaDB-cll-lve
          Last edited by esforim; 06-15-2023, 02:30 PM.
      • esforim
        Active Community Member
        • Jan 2020
        • 2204

        #20
        Thinking on this logic, I guess this should be the result I want on my server when opening with a web browser:

        Click image for larger version  Name:	image.png Views:	0 Size:	24.5 KB ID:	93891

        And the result once you login:

        Click image for larger version  Name:	image.png Views:	0 Size:	55.6 KB ID:	93892

        From this conclusion my sabredav is not running at all?

        This is the error on my version, which is the same but I use different browser show differently?

        Click image for larger version  Name:	image.png Views:	0 Size:	45.2 KB ID:	93895

        Wait, why is your sabre 4.4.0 and mine is 4.3.1? Could it be the download links I received (via email) be the wrong or older bugged version?

        I'm using
        Dav Integration 0.0.2

        I'm hoping that is the case, and when I install new version it all working fine lol. But that hopeful thinking.
        Last edited by esforim; 06-15-2023, 02:48 PM.

        Comment

        • emillod
          Active Community Member
          • Apr 2017
          • 1405

          #21
          esforim i'm here to help, so don't worry
          On which stage you have problem? Have you tried to connect through winscp app?
          On windows you may have issues because windows saves credentials and you may have to remove them manually: How to Clear Windows Credential Manager Stored Passwords (intermedia.com)

          Comment

        Working...