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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Monica
  3. DAV support

DAV support

Scheduled Pinned Locked Moved Monica
19 Posts 4 Posters 6.4k Views 4 Watching
  • 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.
  • yusfY Offline
    yusfY Offline
    yusf
    wrote on last edited by yusf
    #3

    Wrong again! Seems like DAV support was added in after the creation of the app package and ENABLE_DAV is not present in the .env file. Adding it should enable this mighty fine feature of a built-in DAV server.

    🔔 Requesting @nebulon or @girish for an update. Check out the latest env example file as there are some other new settings present as well.

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #4

      @yusf I have updated it now. Can you tell me how well the dav support works?

      yusfY 1 Reply Last reply
      1
      • girishG girish

        @yusf I have updated it now. Can you tell me how well the dav support works?

        yusfY Offline
        yusfY Offline
        yusf
        wrote on last edited by yusf
        #5

        @girish Not so good. I get an http auth dropdown in Firefox and the server accepts my credentials (API key for password, not actual password) but throws a 404 after that.

        37b64bcc-d979-4a8f-b48e-dd06e65b75ff-bild.png

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

        fbartelsF girishG 2 Replies Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #6

          @yusf Does this doc help - https://github.com/monicahq/monica/blob/master/docs/user/carddav.md ?

          yusfY 1 Reply Last reply
          0
          • girishG girish

            @yusf Does this doc help - https://github.com/monicahq/monica/blob/master/docs/user/carddav.md ?

            yusfY Offline
            yusfY Offline
            yusf
            wrote on last edited by
            #7

            @girish No. I'm doing exactly this but on macOS. I don't know if the fact that the API key is 953 charachters long affects the process, but it shouldn't.

            1 Reply Last reply
            0
            • yusfY yusf

              @girish Not so good. I get an http auth dropdown in Firefox and the server accepts my credentials (API key for password, not actual password) but throws a 404 after that.

              37b64bcc-d979-4a8f-b48e-dd06e65b75ff-bild.png

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

              fbartelsF Offline
              fbartelsF Offline
              fbartels
              App Dev
              wrote on last edited by
              #8

              @yusf said in DAV support:

              http auth dropdown in Firefox

              Have you also tried an actual dav client?

              yusfY 1 Reply Last reply
              0
              • fbartelsF fbartels

                @yusf said in DAV support:

                http auth dropdown in Firefox

                Have you also tried an actual dav client?

                yusfY Offline
                yusfY Offline
                yusf
                wrote on last edited by
                #9

                @fbartels Yes of course, Contacts in macOS. 🙂

                1 Reply Last reply
                0
                • yusfY yusf

                  @girish Not so good. I get an http auth dropdown in Firefox and the server accepts my credentials (API key for password, not actual password) but throws a 404 after that.

                  37b64bcc-d979-4a8f-b48e-dd06e65b75ff-bild.png

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

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #10

                  @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.

                  yusfY 1 Reply Last reply
                  0
                  • girishG girish

                    @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.

                    yusfY Offline
                    yusfY Offline
                    yusf
                    wrote on last edited by yusf
                    #11

                    @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
                    0
                    • yusfY Offline
                      yusfY Offline
                      yusf
                      wrote on last edited by
                      #12

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

                      1 Reply Last reply
                      0
                      • nebulonN Away
                        nebulonN Away
                        nebulon
                        Staff
                        wrote on last edited by
                        #13

                        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
                        0
                        • nebulonN Away
                          nebulonN Away
                          nebulon
                          Staff
                          wrote on last edited by
                          #14

                          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
                          0
                          • nebulonN Away
                            nebulonN Away
                            nebulon
                            Staff
                            wrote on last edited by
                            #15

                            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

                            yusfY 1 Reply Last reply
                            1
                            • nebulonN Away
                              nebulonN Away
                              nebulon
                              Staff
                              wrote on last edited by
                              #16

                              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
                              1
                              • nebulonN nebulon

                                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

                                yusfY Offline
                                yusfY Offline
                                yusf
                                wrote on last edited by
                                #17

                                @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.

                                girishG 1 Reply Last reply
                                0
                                • yusfY yusf

                                  @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.

                                  girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #18

                                  @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
                                  1
                                  • yusfY Offline
                                    yusfY Offline
                                    yusf
                                    wrote on last edited by
                                    #19

                                    This feature is supposed to be done now 🎉 https://github.com/monicahq/monica/issues/2738

                                    1 Reply Last reply
                                    1
                                    • jamesJ james marked this topic as a regular topic on

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Bookmarks
                                    • Search