If you've read this:
Originally Posted by kaebot
The first method of fixing this is by far the easiest, but it will reset every application that interacts with Sync Services, effectively making the application appear as if it's never synced. For some people who need to maintain a sync history, this might not be the best approach but for most applications, it should be okay. Please feel free to get in touch
or post here if you have questions.
For method one, please paste the following into Terminal.app (found in the Utilities subfolder of the Applications folder on your hard drive):
Then, press return. You may get a 'no such process' response. That's okay. That just means that SyncServer wasn't running when we told it to stop.
Next, enter the following command into Terminal and press Return again:
rm -rf ~/Library/Application\ Support/SyncServices/*
If no error messages appear, you can quit Terminal. (If one does appear during the second step, please copy it into a message to us at the address above.) The second command totally resets the Sync Service database, forcing it to rebuild everything from scratch.
...then perhaps I can help you reset only the OmniFocus sync information without destroying sync data for you other applications. I did the following:
0. Close OmniFocus.app
1. cd ~/Library/Application Support/SyncServices/Local/clientdata
This appears to be where the Apple stores the sync data for all syncing applications.
2. grep -ri omnifocus *
This showed me which clientdata files related to OmniFocus. I got this output:
Binary file 0b1e938420001fb48bd1f805dba85b411524e968/changestore.changedb matches
Binary file 0b1e938420001fb48bd1f805dba85b411524e968/data.syncdb matches
Binary file 4e82de4aa49721652fa53fb53cc2774862e5c8b1/changestore.changedb matches
Binary file 4e82de4aa49721652fa53fb53cc2774862e5c8b1/data.syncdb matches
Binary file 7fef3df625cf55044d6bb962d9afcdcb3f182ede/data.syncdb matches
Binary file a42ff0467db06327510fd9af046aea90e00da9c8/data.syncdb matches
Binary file com.apple.DotMacSync/data.syncdb matches
Binary file com.apple.Keychain/changestore.changedb matches
Binary file com.apple.Keychain/data.syncdb matches
Binary file com.apple.Mail/changestore.changedb matches
Binary file com.apple.Mail/data.syncdb matches
Binary file com.apple.PreferenceSync/data.syncdb matches
Binary file com.apple.PreferenceSync/recordids.synciddb matches
Binary file com.apple.Safari/data.syncdb matches
Binary file com.busymac.busycal/changestore.changedb matches
Binary file com.busymac.busycal/data.syncdb matches
Binary file dc840cbe2aa73a713813aa1bcff80243b42babc1/changestore.changedb matches
Binary file dc840cbe2aa73a713813aa1bcff80243b42babc1/data.syncdb matches
Binary file e91660c392db590ccb318d50e0089cc12c0874ba/changestore.changedb matches
Binary file e91660c392db590ccb318d50e0089cc12c0874ba/data.syncdb matches
Binary file ef5c023652c350b22b47d3e083534ca101217f1f/data.syncdb matches
Binary file ef5c023652c350b22b47d3e083534ca101217f1f/recordids.synciddb matches
This line caught my eye: "e91660c392db590ccb318d50e0089cc12c0874ba/clientname.txt:com.omnigroup.OmniFocus"
I guess that this was the sync data just for OmniFocus, so I tried deleting it.
3. rm -fR e91660c392db590ccb318d50e0089cc12c0874ba/
Your folder name will differ. I hope there's only one folder with a clientname.txt file that matches OmniFocus. If I saw more than one, then I would probably delete them all and hope for the best.
4. Re-open OmniFocus.app.
You should see that the sync settings remain, but have no OmniFocus tasks on your iCal.
5. In OmniFocus: Sync with iCal.
I make no warranty, but I hope this helps you.