3

I just hit a nasty bug in Calendar.app and Reminders.app on Yosemite.

For some reason, calendars also appear in Reminders.app as empty reminder lists and reminder lists also appear in Calendar.app as empty Calendars. Even if I delete all of my calendars and reminder lists (I've got them all backed up), they get created back again.

I've noticed both calendars and reminders get stored under ~/Library/Calendars. I've been trying a lot of things to fix this up. As suggested in other articles I've tried deleting these files:

  • ~/Library/Caches/com.apple.iCal (didn't exist)
  • ~/Library/Calendars/Calendar Cache*
  • ~/Library/Containers/com.apple.CalendarAgent/
  • ~/Library/Containers/com.apple.CalendarAgent.CalNCService/
  • ~/Library/Containers/com.apple.iCal/
  • ~/Library/Containers/com.apple.iCal.CalendarNC/
  • ~/Library/Preferences/com.apple.iCal.plist
  • ~/Library/Preferences/com.apple.iCalExternalSync.plist
  • ~/Library/Preferences/com.apple.iCal.helper.plist (didn't exist)

I've also tried deleting the whole ~/Library/Calendars directory and I've restarted my mac many times during this whole process.

Yet every time I go back to Calendar.app or Reminders.app, the buggy calendars and reminder lists keep creeping back again.

I don't know what to do anymore now... any suggestions would be welcome!

Edit: I seem to have reached a state of sanity out of this mess... at last!

Searching up the ~/Library/ directory, I found what appears to be the culprit causing me this problem. There is a file that's being generated by some sync services from Apple located at ~/Library/Application\ Support/SyncServices/Local/TFSM/com.apple.Calendars/data.syncdb. I'm not sure what process is updating this, but I'm using iTunes to sync local calendars to my iPhone and I suspect it probably has something to do with this. So perhaps the bug is not in Calendar/Reminders but really in iTunes or the SyncServices.

So I've deleted that file as well as all files under ~/Library/Containers/com.apple.CalendarAgent/Data/Library/Calendars/ and restarted OS X. When I opened Calendar.app, the calendars one should get by default on a new user account were there: Home and Work, and in my case Birthdays and Holidays too. Reminders.app also showed an empty Reminders list, which is fine too. So then I proceeded to restore my calendars and reminders from my backups.

Synchronization in iTunes is now OK, but the reminder lists still shows up as calendars for some reason (seems like a bug here too). If I manually select calendars from Calendar.app, everything seems to work just fine.

My last resort would have been to move all my stuff to a new user account (assuming the problem was due to a buggy state with my current user account - as suggested by bmike), but luckily I don't have to do that tedious task, at least for now.

Using OS X 10.10.5 and iTunes 12.2.2.25.

  • Issue is similar to discussions.apple.com/thread/6799745 – djule5 Sep 3 '15 at 15:33
  • And discussions.apple.com/message/27798154 – djule5 Sep 3 '15 at 15:42
  • 1
    I'll answer how I would fix things - hopefully someone has a nice list to nuke all the data, but it depends on many factors. I've always found it easier to pick apart the issue and isolate one app or just set up a new user account rather than muck with undocumented clean up steps. – bmike Sep 3 '15 at 15:51
  • worked for me: mv Calendars/ Containers/com.apple.Calendar* /tmp/ && reboot – Du Song Jan 8 '16 at 15:55
1

I would say, you're off the wrong foot deleting files in ~/Library since the storage there changes from version to version (and sometimes even build to build).

If I have AppleCare - I just call them and they have internal documents and the ability to get you the exact steps for your exact situation.

If I don't want to call Apple or I have time to work on the issue - Here's the strategy I've employed to clean things out when iCloud is messed up. It takes me far less time to do it this way. :-)

  1. Make a new account on your Mac
  2. Log into iCloud.com and check if the cloud "truth" is correct.
  3. If it is, sync one bucket of data to the new account. (Calendars)
  4. If it's correct, turn that bucket off and let it delete all the local data if it prompts you.
  5. Repeat the "sync one bucket" until you've checked all the buckets you wish to be correct.

If there were issues syncing one bucket - contact Apple Support or install a new OS and re-test on the new OS.

If there are no issues - then turn on all of the buckets in the new account to verify things are OK.

At that point, you know these things:

  1. iCloud has good data
  2. Your Mac has good software
  3. The settings you want will work

At that point, you can make a decision to migrate the user from the broken user (it might be broken from you deleting things or a bug or just bad luck - but it's clearly broken).

If you really want to clear things out, it would be best to just ask separately. The steps to clear Calendar are not the same as clearing Reminders.

Also keep in mind - other devices can inject data into the cloud - you might have to isolate the problematic Mac and the Cloud data in some cases.

  • Thx for the help! I don't have AppleCare so that's off the list. But I did create a new user to help me diagnose and compare expected vs unexpected behaviors. I'm not using iCloud but was using Google through Exchange. It seems what's been causing me problem has to do with some Apple sync services. I've edited the question to detail that further. – djule5 Sep 3 '15 at 20:57
  • You're syncing thru iTunes?? How about using iCloud itself, thereby eliminating that unnecessary piece of bloat. Set up in System Preferences/iCloud and Internet Accounts, – Zo219 Sep 4 '15 at 2:28
  • @Zo219 I know I could use iCloud but I choose not too, even though iTunes is bloat. Anyhow, I don't know if it would have changed something in my case, perhaps. But if Apple is going to enable that feature in iTunes they should support it and fix its bugs. – djule5 Sep 4 '15 at 3:20
  • There's lots of things Apple should do and should support; they seem as paralyzed by iTunes as the rest of us, Too many functions. Here's the Feedback page: apple.com/feedback – Zo219 Sep 7 '15 at 2:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .