How to "blow out" Messages.app history, etc.?

I'm trying to write a logout hook to blow out the Messages.app chat history (and other things) when the user logs out. I've tried deleting the following:
rm -rf /Users/MyUsername/Library/Messages
rm /Users/MyUsername/Library/Preferences/com.apple.iChat.*
rm /Users/MyUsername/Library/Preferences/com.apple.imessage*
rm /Users/MyUsername/Library/Preferences/com.apple.imservice.*
rm /Users/MyUsername/Library/Preferences/ByHost/com.apple.iChat.*
rm /Users/MyUsername/Library/Preferences/ByHost/com.apple.imservice.*
rm -rf /Users/MyUsername/Library/Caches/com.apple.Messages
rm -rf /Users/MyUsername/Library/Caches/com.apple.ichat.TranscriptRenderingService
rm -rf /Users/MyUsername/Library/Caches/com.apple.iChat
rm -rf /Users/MyUsername/Library/Containers/com.apple.iChat
There's absolutely nothing left in the ~/Library folder with the words "iChat", "iMessage" or "Messages" left in them, yet I can't get the Messages.app to do any of the following:
- delete/remove chat history
- reset preferences
- "forgot" passwords
- remove accounts
If anyone has any suggestions in terms of what I'm missing, it'd be greatly appreciated.
Thanks,
Kristin.

Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
The title of the Console window should be All Messages. If it isn't, select
          SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
          View ▹ Show Log List
from the menu bar at the top of the screen.Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
Some private information, such as your name, may appear in the log. Anonymize before posting.

Similar Messages

  • Cant Figure out how to get out of App's like Twitter

    I just got my new Q5 (Traded in Curve)  \i figured out most of the phone but have not been able to figure out how to get out of App's like Twitter or any browser Apps once \i am in there.  I used to have the nice little "back button" on the Curve but no more Back Button on this one  Ive tried swipping every which way but loose with no luck.  Even when I am in my photos, I can figure out how to go back to the main menu (other than to turn the phone off and turn it back on)   Is there a Back button somewhere or is my phone just not working right.  please help
    Solved!
    Go to Solution.

    Hello tomanator
    To close app, swipe up from the bottom of the screen, and tap X at bottom right of each app.
    • Click Likes to appreciate those who helps you
    • If your issue solved, mark the best post in your thread as Solution

  • HT201322 How can I delete my app history from apps that are no longer on my 4s

    How can I delete my App history from my iPhone 4s

    Delete the references to them in the iTunes library, and then download them.
    (120512)

  • HT201269 I got a new iphone but the laptop I used to set up the old phone died, so now all I have is an iPad. How do I get my apps, contacts etc on to my new phone?

    I got a new iphone but the laptop I used to set up the old phone died, so now all I have is an iPad. How do I get my apps, contacts etc on to my new phone?

    sign in with your apple id on the new phone, then go to app store - update - purchase - all/not on this phone and hit the cloud next to the app to downlaod.

  • HT4943 I am deploying to Afghanistan and I will not have wifi access.  I will have a hardline access to internet.  How do I sync my apps, newsstand, etc without wifi connection?

    I am deploying to Afghanistan and I will not have wifi access.  I will have a hardline access to internet.  How do I sync my apps, newsstand, etc without wifi connection?

    About the only other way I can think of is to have a computer with you or use one there, if you can put iTunes on it and download all your new stuff to the computer, then sync your iPad to that computer.
    In switching computers you will lose previous content, but, as I understand it anyway, downloaded content will be the same as long as the same apple ID is used.

  • How can find out what app was charged on my account. I don't recall buying one

    How can I find out what app what charged to my account. I don't remember downloading a non free one on sept 22,2013

    The last four digit of what?
    Why are you telling us?
    We are itunes users just like you.  You are not addressing Apple here.
    Look in your purchase history to see what you have purchased.

  • How can I use Messages app on non-Verizon phone?

    Hi. I have two phones: A VZW personal phone and a T-Mobile phone from my employer. I wish to carry only one device when I'm at work (my T-Mobile work phone) but I wish to be able to get texts from my personal VZW number on that phone. I know I can't forward texts, so I installed the Verizon Messages Android app on my work phone, but I can't set it up with my VZW number (I figured it should work because I was able set it up on my tablet at home and it works fine there).
    After I install the app on the non-Verizon phone, I open it and I get a screen asking me if I want to use the app for my default messaging app. If I click no, the app closes without giving me a chance to set it up with my personal account like it did when I installed it on my tablet.
    I also noticed after I installed it, it's called Messages+ instead of Messages. Are they the same thing?

    Hi, has this been resolved? I am in a very similar situation and need the app to work on my new Sprint LG G3 exactly the way it operated on my Sprint iPhone 5S. Here is how it worked on my Sprint iPhone: downloaded the VZ Messages app, followed the prompts to tie it into my work Verizon Galaxy S5 number, and started to receive texts sent to my S5 on my iPhone but in the separate VZ Messages app and not in the native iPhone messages app.
    But when I install the VZ Messages app on my Sprint LG G3, it only asks if I want to "Change default message app? Use Message+ instead of Messaging as your default message application?" That is not what I want so I tap "Cancel" and the app closes. I am not prompted with the opportunity to tie it to my Verizon S5 number like I was on the iPhone. The ability to have the VZ Messages app on my Sprint LG G3 along side the native G3 messaging app, the exact same way it worked on my Sprint iPhone, is very important and the whole reason I switched from AT&T to Verizon for my work phone.

  • How can I reset messages.app?

    I'm going to be completely honest here, a while ago I spammed a friend to the point where I froze my own messages app on my mac and now when I try to re-open it the spinning colorful pinwheel just pops up and never stops. Yes I learned a lesson but I'd like to obviously use the app again so I was wondering how I can reset the app. Thanks for everyones support! 

    HI,
    I have never come across a situation like this.
    If you try to send a Super IM over the AIM service it normally will take a few minutes (literally) to come back with a  response that it has messed up
    I have not tried it with a Jabber service.
    There are ways of deleting one or some of the .plists involved that can cause a reset of sorts but these are normally used for other things.
    I have never had a Message "Stuck" in such a way that the App Hangs so that a .plist might have details of the IM it is sending.
    With Messages shut down open the Console app (In Applications/Utilities)
    In the System Diagnostic Reports do you have anything for Messages
    It may look like this
    Date/Time:  
    2012-08-09 22:56:48 +0100
    OS Version: 
    10.8 (Build 12A269)
    Architecture:
    x86_64
    Report Version:  11
    Command:    
    Messages
    Path:       
    /Applications/Messages.app/Contents/MacOS/Messages
    Version:    
    7.0 (3103)
    Build Version:   2
    Project Name:
    iChat
    Source Version:  3158000000000000
    Parent:     
    launchd [139]
    PID:        
    8786
    Event:      
    hang
    Duration:   
    3.14s
    Steps:      
    32 (100ms sampling interval)
    Hardware model:  iMac12,1
    Active cpus:
    4
    Free pages: 
    34044 pages (-990)
    Pageins:    
    11 pages
    Pageouts:   
    0 pages
    Process:    
    Messages [8786]
    Path:       
    /Applications/Messages.app/Contents/MacOS/Messages
    Architecture:
    x86_64
    Parent:     
    launchd [139]
    UID:        
    503
    Task size:  
    63716 pages
    CPU Time:   
    1.925s
    This Hang was for only 3 and a bit secs  (yours will probably list a longer period).
    Now go to the All Messages section of Console and try starting Messages.
    Do you get additional info (there may be a reveal triangle to open) ?
    Things to try.  (one at a time)
    Use the Finder > Go Menu > Hold ALT key > Select Library method to open the Home Folder/Library (That is normally invisible)
    Open Preferences.
    In here find the following .plists
    com.apple.ichat.AIM.plist
    com.apple.ichat.Jabber.plist
    com.apple.imagent.plist
    If it was an AIM Message try deleting (Drag to Trash) the AIM one.
    If Jabber (GoogleTalk or Facebook or other) they try the Jabber one.
    After the deletion restart Messages.
    If deleting the service .plist did not work try deleting com.apple.imagent.plist
    If it happens to be an iMessages IM then delete both of these
    com.apple.imessage.bag.plist
    com.apple.imservice.iMessage.plist
    You will need to restart Messages again.  The second of these is likely to need you to re-enter your Apple ID.
    To be clear.
    Qith Messages shut down then Delete one .plist (AIM or Jabber)
    Restart Messages.
    If it does not work shut down (force Quit) Mesages
    Remove the  imagent .plist
    Restart Messages.
    If a iMessages conversation then delete both .plists and restart Messages (you may need to re-enter your Apple ID)
    7:38 PM      Sunday; September 16, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Since few days iPhone 4 suddenly uses huge amount of data and battery, how to find out which App is guilty?

    Hi Community,
    since Friday my iPhone 4 startet using huge amounts of mobile data and rapidly wastes battery lifetime (50% in 3 hous!) It also gets quite warm even when I don't use it at all.
    I suspect an app does this, because in flight mode battery is ok.
    How do I find out which app is to blame without having to uninstall all apps?
    Thanks for your help.
    Kind regards
    Nymphenburg

    You need to look into using the SQL*Loader utility:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/part2.htm#436160
    Also, Oracle supports BULK inserts using PL/SQL procedures:
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/05_colls.htm#28178

  • How to reset the Messages app on my imac?

    Hello! 
    I've tried a lot of the solutions presented here and either I'm doing something wrong or I don't understand the instructions to reset the messages app.  All I need to do is delete an icloud account from it. 
    Please help!  Thank you!!

    Hi,
    As Eric says it is Launch the app and then go to Preferences > Accounts.
    However you cannot delete the iMessages account (you can Disable it or remove the Apple ID by Signing out) or the Bonjour account (which by default is not Enabled)
    You might be using an Apple ID issued by Apple (@mac.com @me.com if registered with iCloud or an @iCloud.com ID) as an Valid AIM Screen Name.
    These you can delete using the Minus  icon after highlighting the Account in the List.
    Signing out of the iMessages account tends to show the app with the Apple ID you did use waiting for your to re-activate it with the password but you can enter a new Apple ID and it's password instead.
    Other accounts can also be created in the System Preferences > Internet Accounts pane by enabling the Messages option.
    Removing the Account in Messages should turn the option off in Internet Accounts and vice versa.
    This of course is what we would do to "reset" the app and have it with no running accounts.
    Is this what you meant ?
    8:15 pm      Saturday; March 7, 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

  • I need to know how to open the messages app without reading a message someone sent to me..

    I have my read receipts on because I like for people to know that I got their messages (most of the time).. But somebody texted me and I don't want to read their message. If I tap the messages app, then it will automatically pull that message up. Is there any way I can set my phone to where I can click the messages app to create a new message without reading the one this person sent to me?

    Turn off Send Read Receipts.  Then open the Messages app.

  • How can I silence Messages app?

    With iChat I could CMD-q the programm and it was silent and turned off as supposed.
    With Messages.app I still get the plopp plopp sounds and badges in the Dock icon even though I quitted it.
    That's kinda annoying when I want all the apps turned off and listen to some podcast until I sleep. So: where can I silence this and why doesn't it behave like EVERY app should when quitted?

    With iChat I could CMD-q the programm and it was silent and turned off as supposed.
    With Messages.app I still get the plopp plopp sounds and badges in the Dock icon even though I quitted it.
    That's kinda annoying when I want all the apps turned off and listen to some podcast until I sleep. So: where can I silence this and why doesn't it behave like EVERY app should when quitted?

  • Everytime I sync iTunes blows out my apps and I have to set up all of the groups and apages again.  How do I stop this?

    I'm so tired of having or reorganize my iphone every single time I sync.
    I'm to the point I wish there was another way to manage my phone (I've never liked iTunes for managing my music).
    Bucky

    It is on DHCP & NAT under router mode yet my isp is still the one issuing ip addresses to my devices instead of the router issuing them

  • How do I view messages chat history?

    I have been using my Ipad to message with friends.  I wanted to look at the history of a recent chat, but don't want to click at the top of the chat to load more.  Is there a way I can see all my history?

    skype histories are saved locally, or in the computer where the chat conversations happened.  If you no longer have access to your old machine, there is no way to restore your chat history.
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES

  • Problem -How to figure out "message could not be saved" alternate location?

    Hmmmm.... what could be causing this?
    Does Mail or the computer do an 'auto-save' somewhere when I get the message "The message could not be saved." It's very frustrating as I don't know how to tell if a message has gone, or who it's gone to. It only starting doing this recently; any possible solutions?
    I checked autosave (not there). Any other place to look?
    I'm concerned because I did not want an email to reply to cc: all and I may have done that unintentionally. Any way to tell if I have egg on my face?
    Thanks!!
    Mac Mini Dual   Mac OS X (10.4.9)  

    > The account is Mail (sometimes synced with .Mac) on an outgoing smtp server through Comcast.
    Does this mean the account in question is a .Mac account and you are accessing the account with the Mail application as a .Mac type account?
    And if yes to both, you are storing Drafts and Sent messages on the server?
    If so, your account in Mail is not sometimes synched with the .Mac server - all server stored mailboxes in Mail are automatically synchronized with the server when first launching Mail when connected to the internet and there is no way to turn this off. And when selecting a server stored mailbox in the mailboxes drawer, the selected mailbox is re-synchronozed with the server.
    The error message provided does not include or involve the account's Drafts mailbox - it is the account's server stored Sent mailbox only and successfully sent messages are not being saved on the server?

Maybe you are looking for

  • How to call routine and pass data to routine in vofm

    Hi Experts, I need to update KBETR and KWERT values present in 'Conditions Tab' in Purchase Order (ME21N/ME22N). I have created a new customer tab in which we enter amount field and  percentage filed. When user enters some value in this and clicks on

  • ORA-12528 after each reboot

    Howdy all. I have Oracle 10g database Standard Edition installed on a Win2K Server machine. Each time I reboot the machine, the database does not fully open on its own. After a reboot, when I try to connect to the database using SQL*Plus, I get the f

  • Error I-200 while activating Adobe Muse..

    I suscribed for a month plan but I can't activate Muse.. what do I have to do please?

  • Column Sets

    We are defining FSG reports for approx 30 different entities. Each entity has been defined with its own Set Of Books. I believe Column Sets can be defined once and used across multiple sets of books, however, row sets can't. Is there a way to define

  • Why does system exec cause a memory leak to occur?

    Sorry if this has been posted before, but I can't quite figure out why this VI is causing a gigantic memory leak (losing nearly 500K of memory a second). It's a simple system exec call, and I even trivialized everything in order to try and discover t