You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Duplicate notes? Notes not syncing?

Is anyone having problems with duplicate notes in Mountain Lion?


When I first open up Notes.app on MacBook, I am greeted with "This Mac can't connect to iCloud because of a problem with (my iCloud account)."

User uploaded file

I open iCloud Preferences, but everything looks fine.

User uploaded file

And these settings are exactly the same on my iPhone 4S.


It looks like my MacBook thinks I have two iCloud accounts in the Note.app but I should only have one. Unchecking the Notes box in iCloud Preferences, only takes one iCloud account off of notes. So, even with iCloud turned totally off and signed out, my notes application still thinks I am signed in.

User uploaded file

So when I add a noted from the MacBook, the note gets duplicated just seconds afterwards.

Sometimes it even makes three copies.

User uploaded file

None of the notes from my Mac sync to my iPhone and none from iPhone sync to my Mac.

Sometimes, the application on the Mac will crash, interestingly enough exactly at the time when my iPhone and Mac *should* be communicating together.

From Crash Reporter:


Process: Notes [542]

Path: /Applications/Notes.app/Contents/MacOS/Notes

Identifier: com.apple.Notes

Version: 1.0 (81)

Build Info: Notes-81000000000000~3

Code Type: X86-64 (Native)

Parent Process: launchd [151]

User ID: 502



Date/Time: 2012-07-26 16:55:08.354 -0500

OS Version: Mac OS X 10.8 (12A269)

Report Version: 10



Interval Since Last Report: 37865 sec

Crashes Since Last Report: 3

Per-App Interval Since Last Report: 1636 sec

Per-App Crashes Since Last Report: 3

Anonymous UUID:



Crashed Thread: 10 Dispatch queue: NSManagedObjectContext Queue



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000



Application Specific Information:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unable to generate SQL for predicate (folder == $folder) (problem on RHS)'

abort() called

terminate called throwing an exception


Anyone else have these issues? Or just me?


Thanks in advance.

MacBook (13-inch Aluminum Late 2008), Mac OS X (10.7.4), 2.4GHz, 320GB 7,200 RPM, 4GB Memory

Posted on Jul 26, 2012 3:10 PM

Reply
166 replies

Jul 29, 2012 9:36 PM in response to graybry

I found a fix


I was having major issues with the Notes app in the new Mountain Lion update. Here are the problems I was having:



  1. Notes was displaying two iCloud accounts when I only have one.
  2. Notes on Mac were not pushing to iOS devices.
  3. Notes on Mac were duplicating over and over.


Tip: I would back up any notes that are important to you before attempting this. I didn't lose anything but you never know.


First, close the Notes app and open the Mail app. We are going to fix the duplicate iCloud accounts. You would think going to System Preferences would fix this but it's actually in the Mail app. I went to Mail > Preferences > Accounts. In this list there were two iCloud accounts which were actually the same account. I kept the iCloud account with my email address as the description and deleted the account the said "iCloud" in description.


After that you can close mail preferences. Then along the top settings in Mail click "Mailbox" and then "Rebuild". This re-syncs your email accounts.


Close the Mail app.


Now we are going to fix the duplicating notes issue. I found this solution on another thread(https://discussions.apple.com/thread/4137558?start=0&tstart=0). This person actually called Apple and was told to follow these steps:


  1. Click on mac HD/ library /caches. drag all the contents in the folder to the trash
  2. Click on the finder click go, hold the option key and click on libraries (will not appear if you don't hold the option key). go to the caches folder again and again drag everything in the folder to the trash.
  3. Click on the finder click go, hold the option key and click on containers. Drag com.apple.notes to the trash
  4. Restart your computer.
  5. Empty trash.
  6. Try to open notes again.


And that's it. I had a few duplicates remaining, but I just deleted them and they have not come back. Things seem to be working good now. Everything is syncing between my Mac and iOS devices, including folders. The only issue is that notes with images are not syncing at all. This may be a limitation that is fixed with iOS 6 though.


Anyways, hope everyone finds this helpful 🙂

Jul 30, 2012 9:03 AM in response to Talkingpengwin

I'm posting this to confirm that the procedure described by Talkingpenguin above does work. I've used it on several systems already, and each one now has well-behaving Notes and no new problems that I've been able to discover.


I also have a few notes to add:

1- I didn't have multiple iCloud accounts showing within Mail. I still performed the Rebuild command (be sure no mailboxes are selected when you do this) and then quit out of Mail.

2- I doubt that all those caches really need to be deleted. Probably just those related to iCloud, Mail, and Notes. But it shouldn't hurt anything to delete them all, and certainly easier than hunting just for those specific caches.

3- It is important to restart the computer as soon as possible after moving them to the Trash and to then empty the Trash after the restart is complete.

4- Note that Containers is inside the user's Library folder; you won't find it in the Finder's Go menu as seems to be implied by Talkingpenguin's instructions.


Thanks, TP! Your efforts will save a lot of people a lot of annoyance. If they find this thread...

Jul 30, 2012 12:37 PM in response to graybry

Initially, I upgraded from Lion to ML and my notes worked fine. I just did a clean install to try something else and I suddenly couldn't sync my notes. I didn't some poking around and found a solution that seems a bit loopy but it worked.


This is what I did:

Go into System Preferences

Go into iCloud

Uncheck Notes

Go back into System Preferences

Select Mail, Contacts, & Calendars

Select iCloud

Put a check in Notes

Select your regular Mail Account (username@yourprovider.com)

Put a check in Notes

Go back to System Preferences

Select iCloud

Uncheck Notes


Basically, this unchecks the iCloud in Mail that you previously put a check in. But this seemed to be the only method that worked for me. I think it's a bug with the way Notes are synced.


In the end, Notes in both the main iCloud and in the Mail iCloud account are unticked and the Notes in the personal Mail (username@yourprovider.com) is the only one left with a check, but just unchecking the others and only checking the one in your personal mail account doesn't seem to work. The 'jumping through hoops' method seems to be the way to go about it.


Hope this helps.

Jul 30, 2012 4:40 PM in response to graybry

If anyone is still experiencing duplicate notes after fixing iCloud's settings, your duplicates may be stored on your email account in a notes folder (or Notes label for Gmail). Since Apple removed notes from the mail app, to access the notes you'll need to log on through your email provider's website.


For every note, the original should have some difference that allows it to stand out from its duplicates. In my case (Gmail), all of the notes had the Notes label while the originals had both the Notes and Inbox label. I was able to isolate the notes without the Inbox label to bulk delete the duplicates. This cleared most of the duplicates for me. If anyone would like I can go into a step-by-step process how to go about this.


Cheers.

Jul 30, 2012 7:31 PM in response to graybry

I have a related, but different problem (and have not tried the talkingpenguin solution yet). I don't use iCloud for notes sync at all, only for Safari and Find My Mac at this point (and iTunes Match -- another story) -- I'm a slow adopter of everthing iCloud.


What I do have is the Notes box checked on my Gmail account on all of my devices (iMac, MBP Retina, new iPad, iPhone). I discovered that two of my notes had duplicate problems. One had about 11 copies but 10 of the 11 were identical and out of date (i.e. contained only the first line of text). The other note had two identical copies. "Be careful what you delete to clean things up." I told myself.


I'm very sorry, but I deleted the dups and honestly can't say with certainty what IOS or MAC OS Mtn Lion system displayed the dups (the apps look so similar and I wasn't being careful at the time -- not very scientific on my part). All this was before finding this thread.


I started using Notes apps across devices in a big way for a project I started last week, and I also received my new MBP Retina and upgraded my iMac and MBP to Mtn Lion the same week. That many changes confused the problem and confused me.


So, either I have a different problem, or there is a basic notes sync problem whether you sync via iCloud or some other IMAP account, GMAIL in my case.


I will be watching my systems this week to see if duplicates recur, and will have a more precise description, if and when they do.

Jul 30, 2012 8:15 PM in response to John Hammer1

I did all of the rebuilding, restarting, trashing the caches, etc.


I found nothing had changed.


Then I read the follow-up post that said the Containers was ~/Library/Containers/com.apple.Notes. I deleted that folder while Notes was not running, emptied the trash, launched Notes, and it was all working perfectly again.


So that's likely the solution, not the caches, rebuilds, etc.


Thanks.

Duplicate notes? Notes not syncing?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.