-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac client syncs only contacts, assigned to latest address book #399
Comments
So basically you say, that MacOS and Windows have problems while syncing the contacts? What Software are you using on Windows? Or does it provide a native client for that? Same question for MacOS. Is anyone able to reproduce this? Not sure with the current state of information if this is a problem in the client applications you are using, the CardDAV backend in nextcloud/server or our application. |
Only Mac client has issues Windows syncs only Contacts from default "contact" and not from "archive" but this is ok |
hm could you pls check it? |
could you elaborate on this error? It is also unclear to me what you mean by 'second "archive"'. Our app doesn't allow addressbooks with the same name. Or was the addressbook created in another client?
Overall the issue seems to lie somewhere else, as there is at least one client (iOS) which seems to be fine with the contacts created in Nextcloud. |
Can someone with a Mac reproduce this issue given the instructions in this issue? |
@PaddyPat I found a thread in the ownCloud forums, which deals with syncing problems on Mac OS. Maybe you are able to find a workaround/configuration over there! (https://central.owncloud.org/t/owncloud-9-1-1-1-2-macos-sierra-carddav-not-working-solved/3481) |
same Problem with my MacBook running OSX Lion |
i use this carddav link: |
I have seen the same problem with the contacts app (Version 10.0 (1756.20) on Sierra. I added some contacts to the default contacts address book and synced them to my Mac and my iPhone. Then i created a new address book called Archive in the webgui and moved some contacts to the new address book. After a while only those contacts where shown on the Mac, although all contacts where still visible on the iPhone and in the Web GUI. During testing with new address books i found that this behavior is not always triggered. For example if i name the address book shared or testbook, everything is fine. Only if i name it Archive, this problem occurs for me. |
@abuzze It appears that contacts on Sierra only syncs the first address book it finds based on alphabetical order (of the address book uri), which is why you only saw the issue when you changed the name of the new address book to "Archive" one thing you can do is create a new address book prefixed with an underscore (e.g. '_Contacts') and use this as your new default calendar. This way it will appear alphabetically before any other address books. You can always change the display name to something else without the underscore after it is created and the uri will remain as '_Contacts' and thus still be the first when synced on Sierra |
Unfortunately this is not a bug related to contacts. I'll close this one. |
Which does not solve the issue. Egroupware, the software I used before, had not those struggles in combination with macOS. |
@waja The contacts app is just a vcard editor linked to nextcloud. |
This bug now hit me too, very frustrating: To use features like sharing contacts with different groups you have to use several address books. TB/Lightning and DAVdroid work fine but one cannot use OS native apps like MacOS contacts/calendar properly with NC. I urge you to reopen this bug since there IS a hint how it IS solvable in NC: https://help.nextcloud.com/t/high-sierra-address-book-does-not-sync/23007/19 This probably is not the FAULT of NC, but with an increasing Apple device NC user base please consider implementing a workaround. I do not know how to properly debug the protocol but I volunteer to coordinate the bug report against Apple if that is of any help and if some dev provides me with the technical detail that proves MacOS's fail along with a proposed change (that won't break their systems). For the time being there is another workaround: Create dummy users that get additional address books shared and add those users to macOS contacts as suggested by Bernie_O in https://help.nextcloud.com/t/discussion-adressbooks-sync-with-macos/25760/10 |
@nursoda so if I get this right:
If so all addressbooks appear in macOS? Sorry, we'll have to be very precise here, because that mean we can fix things on nextcloud then! :) |
I did not try to modify my error pages since that would mean that I need to alter my production environment (which is still on NC 13 anyway). So I was just citing what I found. That forum user did solve it in NGINX, I use Apache. But it sounds as if NC sends error pages in cases where macOS app requests something different. And since Egroupware solved it, it might be worth asking them or looking into their code (which is out of my abilities). I DID however do the workaround with the dummy users for each address book that was unsynced and that seems to for fine for now. |
in recent NC configs for nginx those error_page statements are not existing anymore. Those are also not in mine. |
Thanks both of you! |
Had the same problem with Mojave. Fixed it like this, as suggested in https://help.nextcloud.com/t/high-sierra-address-book-does-not-sync/23007/19:
Commented out the following lines:
Changed Then:
After this, contacts sync smoothly between macOS, iOS, and the Nextcloud browser app. Some version numbers for the record:
|
@skjnldsv: Unfortunately this fix doesn't work for me. There is still only one addressbook synched to MacOS X. iOS works fine with more than one addressbook. I don't see why changing this directive should make any difference. The from nginx delivered error code stays the same whether From reading the according thread in the forum, the proposed solution is for another issue: synching stops after some contacts were synched. The title of this issue is about synching more than one addressbooks to Mac OS X. @wolframroesler: could you please write precicely whether you can sync more than one addressbook (edit: from a single account!) with Mac OS X?? A while ago, I did some tests and also creating a new addressbook with an addressbook name "earlier in the alphabetical order" like suggested here #399 (comment) did work reliably on Mac OS X. The problem though is if you use the same account on iOS and Mac OS, that in iOS the alphabetical order doesn't make any difference and you can't choose which addressbook is the default addressbook (where new created contacts are saved). So they might show up then in the one addressbook Mac OS is able to deal with or not. This is the nginx access log (nothing is written to the error log) when adding an account containing three different addressbooks to iOS and Mac OS X (no
As you can see, iOS finds all three addressbooks (neuesRom, Familie_shared_by_Caesar, default) while Mac OS seems to just not look for any addressbook and only syncs the one named default, which is the first one in alphabetical order. |
Everything what @BernieO has written here counts also for me, I just was so lame to report it back. With this change as done with hoellen/dockerfiles#20 does not change anything when using more than one address book for one user. That's really annoying as sharing contacts with other also does not work since this is done by a separate address book (as far I can remember). |
@BernieO I have really no ideas! |
@skjnldsv I see and understand - no problem. I investigated a bit further: The link you posted is irrelevant for this issue, but it made me look around and I found this where some interesting links regarding this issue are collected: The apple discussion led me to sabre.io: http://sabre.io/dav/clients/osx-addressbook/ Egroupware which has been used by @waja merges multiple addressbooks of one user into a single one if it detects Mac OS X as client, which explains why @waja claims that Mac OS X supports multiple addressbooks, though it doesn‘t. The according comment from egroupware can be found here: Conclusion: Mac OS X does not support multiple addressbooks from a single user. This issue is not an issue of Nextcloud or the nextcloud contacts app, but from Mac OS X. |
I've tested it with a single address book only. |
Are there any news about this issue? |
Sorry, PascalTurbo. Nothing new will happen here - please see the very good conclusion from BernieO, March 3rd 2019. This is NOT a NextCloud or NextCloud Contacts app issue, it's a MacOS issue and needs to be solved there. |
Hi, Do you think this would be a feasible solution? Best, |
No, that might lead to a crazy amount of issues. Conflicts and all. Contacts are unique within their addressbook. Merging them all could lead to duplicate unique IDs and break other apps. |
This comment has been minimized.
This comment has been minimized.
I just filed a feedback with apple (feedback assistant on MacOS - feel free to dupe it FB9836060) |
Oh great, after searching, if my nextcloud installation with nextcloudpi (on ssd drive, not on sd-card, which avoids many I/O-errors coming after about 0.5-1 years if server runs 24/7 ... had a bad experience with this on a raspberry pi 2, which boots only from sd-cards, but my nextcloud on raspberry pi 4 8GB runs since about 1.5 years without any problems and I never needed the regularly made backups) has bug with contacts. I thought it is a bug in nextcloud because iOS/iPadOS has now problem with several contact lists per user/account. But now this site tells me that macOS 13.5 (old numbering MacOS X 10.13.5) has this problem yet. This is really sad as macOS has no problem with several calendars per user/account. Please tell me if I can help or at least how I can beg Apple that they implement the several contact lists per user/account. I think, as more user beg for this of Apple, the more likely it will be Apple implements this feature finally. Thank you all! |
i've created an "archive" address book in Contacts (Web Gui), add a contact to this "archive" addressbook.
iOS: I see all Address Books in Contacts app (all contacts also)
MacOS (latest) all contacts from default address book are not displayed, I see only the one contact from the latest created (archive) address book
Windows: Syncs only contacts from "contacts" address book
tryed to sync directly the "contact" addressbook via direct link to /user/contacts/ (macos) but it doesn't accept (account is not available)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: