Q: Addressbook service unreliable/sources fail/database corrupts
Hello Community,
I am at wits end on this one, and I'm losing data in the process. I could definitely use some help solving this issue before I take more drastic measures. The basic issue is that my local copy of my server-hosted addressbook repeatedly gets corrupted and then things go downhill from there.
I'm running now with Mavericks server/Mavericks client. Server hosts calendars, contacts, wikis in addition to some core services for the network. Both server and client have been recently rebuilt from scratch. The user account in question has been wiped and rebuilt with the exception of the data in the collab and caldav databases. I use Profile Manager but really had these issues before the last rebuilds and use of PM.
With yesterday mornings work to finish migrating the user to a new home directory and export/import in OD, I had finally hoped I had stabalized the addressbook service. This morning when I started working I had some trouble accessing the addressbook service and general disarray with Internet Accounts Remote Service (com.apple.preferences.internetaccounts.remoteservice). This was a pretty good indication I may not have solved my problems. I ended up rebooting the server and then was able to connect again to the services. So I set to work. One of the things I did was to create an addressbook group in Contacts and I added about 13 contacts. When I went to search for another name, everything suddendly froze and Console started reporting that the AddressBook-v22.abcddb file in the sources directory is corrupt. I also got a slew of comp.apple.quicklook.satellite errors about obtaining permanment IDs "The model configuration used to open the store is incompatible with the one that was used to create the store" and CoreData: error (3) access permission denied.
I also note that if I intentially delete an addressbook connect from Contacts, the sources directory doesn't clean up. There are now five separate folders under Addressbook/Sources with different UIDs. I've also started having files with .uknown in them being created in the Addressbook or Sources folders.
I have searched and read multiple discussions about Addressbook/Contacts issues but haven't come across anything like this yet. And if any of the solutions I've tried improve things at all, it is short-lived and I am right back to where I am now: A non-functioning addressbook for this user and lost data.
My next step is delete the source connections again in Internet Accounts, and try one again to restablish connections. I'll leave the files in the Addressbook directory alone for now.
If this doesn't work (and I doubt it will), I'm considering asking the users (luckily there are not a lot of them) to export/archive all their contacts and calendars, and then completely nuke the postgres database, and then let the users reconnect and load their data.
Is there a better way to proceed? Other things I should be looking into?
Thanks.
Tim
Mac mini, OS X Server
Posted on Jan 2, 2014 10:33 AM
After a few more days of testing, I'm going to close this thread and start one or two new ones. In general, the last complete rebuild has gotten me to the point where I can operate Contacts/addressbook server and other services from the client. I still have issues when a second network user logs into the client and I try to return to my normal user. Client apps won't connect to the services and passwords in Safari get wiped. I have to reboot the client and then I can connect to the services but the passwords in Safari are gone.
More in another thread later.
Cheers, Tim
Posted on Jan 22, 2014 9:36 AM