Giter Site home page Giter Site logo

Comments (14)

skarra avatar skarra commented on July 24, 2024

I am not familiar with owncloud, but you should try this:

Use http://localhost:xxxx for the --store (try with explicit port number)

and use /owncloud/remote.php/carddav/addressbooks/me/contacts for --folder options while creating a profile

from asynk.

skarra avatar skarra commented on July 24, 2024

Two other things you could try:

a) instead of specifying a path, you could specify 'default', and let ASynK figure out the default addressbook for you (if that is what you want atleast initially)

b) If you are on a Mac, you could connect your Apple Addressbook to your owncloud; the setup is reasonably straightforward, and as a side effect you should be able to read the full path of your addressbook on the server.

from asynk.

unhammer avatar unhammer commented on July 24, 2024

I'm guessing --folder has first one arg for bbdb and then one for carddav?
Tried both
--store ~/.bbdb https://localhost:443 --folder default default
and
--store ~/.bbdb https://localhost:443 --folder default /owncloud/remote.php/carddav/addressbooks/me/contacts
with no luck :-/ both give 405: Method Not Allowed.

(BTW, the owncloud CardDAV works fine with e.g. http://dmfs.org/carddav/, where I input the full URL.) I don't have a Mac, so can't test that.

from asynk.

skarra avatar skarra commented on July 24, 2024

A few other things we could try:

a) Is there anything in the asynk log file that could tell us what's going on. Can you send it to me/
b) If that is not enlightening, I could debug this on an owncloud system if you can set me up with an account for a short period
c) If (b) is not posible, I could try installing owncloud myself and debug; however this is too much of a detour for me, and I may not get to this in the immediate future.

from asynk.

skarra avatar skarra commented on July 24, 2024

OK; thanks for creating a temporary account for me. I believe part of the reason is owncloud keeps responding with 302 redirects for pretty much everything; and the underlying caldavclientlibrary I use is not handling these redirects. I will look into this some more...

from asynk.

skarra avatar skarra commented on July 24, 2024

Kevin, I have been unable to debug this problem yet.

from asynk.

skarra avatar skarra commented on July 24, 2024

Did not mean to close the issue... Basically there is something weird happening with the way the Apple CalDAVClientLibrary is handling the responses from ownCloud. I have written to the Apple guys but no luck.

I also tried hooking up my Mac AddressBook to the ownCloud account, it could not connect either. So I am a bit stuck here. Just thought I'd let you know I tried but peace still eludes.

from asynk.

tanghus avatar tanghus commented on July 24, 2024

There's docs for syncing with OSX address book http://doc.owncloud.org/server/5.0/user_manual/pim/sync_osx.html

from asynk.

unhammer avatar unhammer commented on July 24, 2024

Note: I did get an iPhone to sync with my owncloud, but perhaps that uses some other syncing library than Mac AddressBook?

from asynk.

skarra avatar skarra commented on July 24, 2024

Thank you for sending this. Now that I look at this after a gap, I realize
I have been making a ridiculous error.... I have been using index.php
instead of remote.php/ Aaaaaaargh. I have now been able connect my Apple
Addressbook to owncloud. Atleast this is a start, and hopefully I will be
able to get to the bottom of this now.

On Thu, Aug 1, 2013 at 6:54 PM, Thomas Tanghus [email protected]:

There's docs for syncing with OSX address book
http://doc.owncloud.org/server/5.0/user_manual/pim/sync_osx.html


Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-21935736
.

from asynk.

skarra avatar skarra commented on July 24, 2024

Breakthrough... Please update to head on master - making sure you also update submodules. The configuration you need to use is:

folder id should be either "default" or "/owncloud/remote.php/carddav/addressbooks/skarra/contacts/"
store id should be like: "https://unhammer.org/owncloud/remote.php/carddav/principals/skarra"

For e.g. here is an extract from my state.json:

     "coll_1" : { "dbid" : "bb",
          "foid" : "default",
          "stid" : "/Users/sriramkarra/dotfiles/bbdb.testbbcd.own"
        },
      "coll_2" : { "dbid" : "cd",
          "foid" : "default",
          "stid" : "https://unhammer.org/owncloud/remote.php/carddav/principals/skarra"
        },
      "conflict_resolve" : "bb",

from asynk.

unhammer avatar unhammer commented on July 24, 2024

Sweet, this works :-)

I had to use the "/owncloud/remote.php/carddav/addressbooks/skarra/contacts/" style folder id, but otherwise it seems to log in correctly and fetch all the contacts. (With another bug, but that's for another report …)

from asynk.

unhammer avatar unhammer commented on July 24, 2024

And I guess this can be closed now …

from asynk.

tanghus avatar tanghus commented on July 24, 2024

Good to hear it works for you :)

from asynk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.