imessage not showing old messages on Macbook Pro

Hi everyone!


I give up now, I have checked lots of threads and can't find a solution.


After the latest OS update my whole iMessage history disappeared from the Messages App. Where there once were conversations it's now blank. I have tried logging out on both my iPhone and Macbook, but nothing helps. Scrolling upwards in a conversation doesn't load the history either!


I have checked and all my chat history is in my "User Library" so they haven't been deleted, it's just as though the Macbook can't sync the history. Since I have checked a lot of threads I'm puzzled by one thing. I do not seem to have a chat.db file but on the other hand I have checked my girlfriends MBP (the same model) and she doesn't have it either and hers is working perfectly.


Any help would be much appreciated.

MacBook Pro (13-inch Mid 2012), OS X Yosemite (10.10.3)

Posted on Apr 26, 2015 2:46 AM

Reply
24 replies

Apr 26, 2015 1:38 PM in response to PharmacyWreck

HI,


You should be looking in ~/Library/Messages

This is the Library in your Home Holder (The Little House Icon one) - but it has been hidden since Lion.

In a Finder window hold the ALT key down and then use the Go Menu - the Library will now show in the list.

Select it and then navigate to Messages


The three chat.db items in here hold the history to the iMessages conversations.


Saved Chats if you were making them are stored in ~/Library/Containers/com.apple.iChat/Data/Library/Messages/Archive


Back when the Messages beta came out it stored the Saved Chats in a different place but it could also read the iChat storage place that was ~/Documents/iChats.

Now that Yosemite is here the places have changed and become deeper in the Home folder and it does not seem able to read older chats or show them as "history" the way earlier versions did.

The Chat.db items also seems to be limited to go back to the Upgrade day only.


I am unable at this time to say if this is the way Yosemite works or the way I upgraded to Yosemite (I fear the later)



User uploaded file

9:38 pm Sunday; April 26, 2015


 iMac 2.5Ghz i5 2011 (Mavericks 10.9)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad

Apr 26, 2015 2:00 PM in response to PharmacyWreck

Hi,


Spotlight does not search some folders and ~/Library is one of them (This is now a bit generalized as it does tend to find Saved Chats which are buried much deeper)


You can delete the Chat.db items and you will lose the "History" to Active chats that might still show in the main Messages window.

I have not tried deleting it - so you might find it also clears the active chats of the iMessages as well.


This is my Messages Folder (see the Path Bar displayed across the bottom).

User uploaded file

If it were removed AND you had lost permissions to Write to the Folder then it would not be recreated.


As I Save chats I and not sure if the chat.db is searchable in the sense that Spotlight might be able to read it like it can the Saved chats.

Saved Chats are all chats, iMessages, AIM, Jabber as well as Bonjour and Yahoo chats if you have set up these accounts.




User uploaded file

10:00 pm Sunday; April 26, 2015


 iMac 2.5Ghz i5 2011 (Mavericks 10.9)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad

Apr 27, 2015 1:38 PM in response to PharmacyWreck

Hi,


IF it is only iMessages items that you are looking for and the chat.db items seems to go back to when you set up the computer I am not sure what to suggest.


The Chat.db items can be opened in TextEdit but they are not that readable and it would take a long time to find the oldest chats.

Even then I can see it might not explain why only some of them display.



User uploaded file

9:38 pm Monday; April 27, 2015


 iMac 2.5Ghz i5 2011 (Mavericks 10.9)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad

Apr 27, 2015 1:58 PM in response to PharmacyWreck

Hi,


The Chat.db items and the Archive folder's contents only display "history" to chat that are currently going on.


It seems the app keeps a list of Open chats somewhere (I have not found out where) along with a record of the displayed text (which I also have not found).


If you chat to these same people is anything showing up then ?





User uploaded file

9:58 pm Monday; April 27, 2015


 iMac 2.5Ghz i5 2011 (Mavericks 10.9)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad

Apr 28, 2015 12:46 PM in response to PharmacyWreck

Hi,


I have looked at the contents of .plists in ~/Library/Preferences and ~/Library/Containers/com.apple.soagent/Data/Library/Preferences that relate to the Messages app and cannot find anything that seems to point to the List of chats and their contents.


This includes the MessageHelper items in the SOAgent folder as well as iChat and Messages items in the regular Preferences folder.


I don't have anything else to add at this time.




User uploaded file

8:46 pm Tuesday; April 28, 2015


 iMac 2.5Ghz i5 2011 (Mavericks 10.9)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad

May 11, 2015 11:41 AM in response to PharmacyWreck

Hi! I got such amnesia. Messages continue to be archived in the Archive folder, but the messages and threads of old messages are not loaded in Messages. so I can not access to them from the Messages app. I tried this: https://gist.github.com/nschum/1cf00aee2f1ac8869df4

But the terminal told the version of OSX is not the expected one, so I could not merge these databases. Maybe somebody will know how to modify this script for it to work with 10.10.3?

I don't know what to do for Messages to work properly.
Desperate.

May 11, 2015 12:06 PM in response to davidich

Hi,


I would guess (and it is only a guess) that the following needs to reflect the current Darwin version


if os.popen("uname -sr").read() != "Darwin 14.0.0\n":

print("This is not for your OS X version")

sys.exit(1)


This may or may not have changed at OS X updates (I would have thought it was more likely at named Upgrades rather than updates though).


Using System Info rather than About this Mac will tell you the version (See Software)



User uploaded file

8:06 pm Monday; May 11, 2015


 iMac 2.5Ghz i5 2011 (Mavericks 10.9)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad

May 11, 2015 12:21 PM in response to davidich

Well, this script will probably dont help much as it was solving a different problem than the one we are facing now with 10.10.3.


The script is solving a bug in early betas of OS X Yosemite where the library of old messages wasn't migrated. Instead a new library was created and all old messages were gone. The script is merging old and new message libraries/databases.


In our case, there is no migration problem. We are not facing 2 databases. We still have 1 database/library.

Problem seems that 10.10.3 dont access messages in the database (if they are still there) stored previously to 10.10.3.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

imessage not showing old messages on Macbook Pro

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