I have a 10.6.8 server that provides services (DNS, DHCP, OD, AFP, Mail, Calendar, Address Book, Web, and Push notification) to my home/business network. I use network accounts with AFP network home folders. All services and apps have been working flawlessly with 10.6.xx clients.
I recently purchased a new MacBook Air that is running 10.7.2 Lion. I also recently upgraded my Mac Pro to 10.7.2 Lion from 10.6.8 Snow Leopard.
After the upgrade, I am now seeing multiple copies of files appear in the Trash such as:
This happens whenever any app that accesses the Address Book database for autocomplete is launched (Mail, Skype, etc.). Emptying the trash fails because the files are in use. If I close all apps, sometimes the Trash will empty and sometimes it won't. Have had to clean out the .Trash folder with rm -Rfd * in the terminal; sometimes I have to ssh into my network account on the server to get this to work. Running the command in the terminal on the locally mounted network home does not work.
I have a CARDDAV account with all my addressbook entries on the 10.6.8 server; this problem seems to be worse if the CARDDAV account is configured in Address Book on the 10.7.2 client. I have tried removing the CARDDAV account and also moving the ~/Library/Application Support/Addressbook/ folder and relaunching Address Book. Neither results in the cessation of creation of the AddressBook-v22.abcddb.1.incompatible files in the Trash.
Also, when the CARDDAV account is configured in Address Book on the 10.7.2 client, it constantly tries to sync with the 10.6.8 server, and makes substantial numbers of duplicated groups call "Addressbook" and "My Contacts." However, the contacts are not duplicated in the Address Book on the 10.7.2 client. The Address Book server log shows continuous connections and PROPFIND requests from the 10.7.2 client. The CARDDAV data on the server appears to be intact as it works perfectly with iOS 5 clients (iPhone 4, and iPad) and 10.6.8 clients and is not damaged or duplicated.
I am using the same network account on both my Mac Pro and the MacBook Air. On the MAcBook Air, the account is mobile, with a synced portable home directory. I am no longer logging into 10.6.8 systems with this account as I have migrated all the preferences to 10.7.2. I have the same issues when using either computer.
I'm not sure if these two behaviours are related? Is anyone else having similar issues?
All the other services are configued and working fine on the 10.7.2 clients (iCal, Mail, etc).
Hey Stefan and mbraun1973,
After recognizing some of the similiarities of the problems that mbraun1973 was having to my own, I became more convinced that syncservices was the culprit behind this nasty problem. So I did some Google searching on syncservices and came across this article from the apple knowledge base.
It is for advanced troubleshooting of syncservices; oddly enough, if you read the section on correcting issues with syncing address books contacts and groups, their solution is almost exactly what I have figured out empirically.
In addition to what Apple has outlined above, I think it is still wise to delete the .db.sqlite database file on the 10.6.8 Address Book Server to reset everything to a baseline.
I sure wish I had came across this several weeks ago!!!
I think this is why both of you have continued to see issues even after going to iCloud. The problem is with syncservices, not the Address book app or the AddressBook Server.
Take a look and see if it helps!