Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    UNSOLVED DAV support

    Monica
    4
    18
    90
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fbartels
      fbartels App Dev @yusf last edited by

      @yusf said in DAV support:

      http auth dropdown in Firefox

      Have you also tried an actual dav client?

      yusf 1 Reply Last reply Reply Quote 0
      • yusf
        yusf @fbartels last edited by

        @fbartels Yes of course, Contacts in macOS. 🙂

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @yusf last edited by

          @yusf said in DAV support:

          I got the URLs from monica.domain.tld/settings/dav

          Per the docs this should be monica.domain.tld/dav , I think.

          yusf 1 Reply Last reply Reply Quote 0
          • yusf
            yusf @girish last edited by yusf

            @girish Yes. What I mean is that the monica.domain.tld/settings/dav page provides the full DAV URL, which I've also tested.

            The same page also states that the normal password can be used, which I can't even use for HTTP Auth in the browser.

            This page also provides a link for a downloadable export of the contacts, https://monica.domain.tld/dav/addressbooks/user@domain.tld/contacts?export which also throws 404.

            I've also tried connecting CalDAV with the same result as CardDAV.

            1 Reply Last reply Reply Quote 0
            • yusf
              yusf last edited by

              Now I've tried macOS, iOS and Thunderbird. They all fail 🤔

              1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff last edited by

                I can confirm that it does not work with evolution/thunderbird/davx
                The logs show a PROPFIND /.well-known/caldav HTTP/1.1" 301 which seems to be correct, but then nothing happens further.

                1 Reply Last reply Reply Quote 0
                • nebulon
                  nebulon Staff last edited by

                  Actually the well-known just redirects to /dav/ which is correct, but at least in my case I can't get over the authentication issue then. Both username/password nor api token allow me to access the dav resources. Always get 401 status code.

                  1 Reply Last reply Reply Quote 0
                  • nebulon
                    nebulon Staff last edited by

                    I was able to get it working with using api tokens, however they are very long and evolution for example would not accept that as a password.

                    I've created an upstream issue at https://github.com/monicahq/monica/issues/4295

                    yusf 1 Reply Last reply Reply Quote 1
                    • nebulon
                      nebulon Staff last edited by

                      So according to the upstream project, the api tokens are actually the only way to do so. The text in monica is just wrong by now.

                      1 Reply Last reply Reply Quote 1
                      • yusf
                        yusf @nebulon last edited by

                        @nebulon Thank you. Which client did you succeed with?

                        On a sidenote my first post in this subject was technically regarding a DAV client feature in Monica meaning that it will be able to latch on to already existing contact databases such as one served from Radicale or SOGo. That seems like a better solution to me, but the feature is WIP still.

                        girish 1 Reply Last reply Reply Quote 0
                        • girish
                          girish Staff @yusf last edited by

                          @yusf said in DAV support:

                          regarding a DAV client feature in Monica

                          That does make is much more useful that having to put all contacts into Monica.

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post