What to Do When Messages App Hangs or Crashes After Mojave Upgrade

Messages Apps

The Messages app makes sending and receiving iMessages on your Desktop a lot easier for Mac users. You don’t have to grab your phone just to send or reply to a message. Just open the Messages app, type your message, and send it just like how you do it on your phone.

Some Mac users, though, have encountered a critical error when opening the Messages app after updating to Mojave. The Messages app hangs or crashes after a Mojave upgrade, making it impossible for the users to read their messages or send a reply. Because of this error, the Messages app freezes, can’t sync, won’t load new messages, gets stuck in updating status, or won’t open at all.

This issue is usually accompanied by the following error message:

An internal Messages error occurred.

There was a problem with Messages. You need to quit and open Messages again.

However, quitting the app doesn’t help. Users who have encountered this error reported that the same message would appear every time they try to open the app. They have reported this error to Apple Support, and the team has acknowledged it as a bug related to Mojave. Some of them tried to downgrade to High Sierra and found no error when using the Messages app.

The engineers at Apple are already aware of the bug and are working on a patch to resolve the issue. There is no update, though, on when the official fix will be released. Instead of waiting for the official fix, you can use the solutions below to resolve this problem.

How to Fix Messages App Crashes After Mojave Update

If your Messages app freezes after a Mojave update, the first step you should do is to log out and quit the app completely. Force-quit Messages if necessary. Deleting your Mac’s junk files using Outbyte MacRepair would make troubleshooting easier and faster. Next, reboot your Mac to refresh macOS before you start fixing the Messages app.

Fix #1: Log Out Then Log Back Into Your Messages App.

Messages App Log In

If you are able to open the messages app, log out of your account by clicking Messages at the top menu. From the dropdown menu, click Log Out. Close the app completely, then launch it again. Sign back in by clicking Messages > Log In. Your messages should be reloaded after signing in. Look around to see if everything is working fine. If you come across any problem, then jump to the other fixes below.

Fix #2: Check Your Date and Time Settings.

Incorrect date and time information may cause your Messages app to act up. Check your date and time settings to make sure they are consistent with your location, particularly after a major system update. There are instances when these settings are affected during the update, causing errors not only for the Messages app but other programs as well.

To check this:

  1. Go to Apple menu > System Preferences > Date & Time.
  2. Click on the Time Zone tab.
  3. Tick off Set date and time automatically if the checkbox is unchecked.
  4. If it is, click on it to unselect the option. Wait for a few seconds before checking the box again.
  5. Enter your admin password if prompted.

After making sure that your computer has the correct date and time, restart your operating system and check whether the Messages app is back to normal.

Fix #3: Boot Into Safe Mode.

Temporary files, installation software, and other system caches might still be stored in your Mac after an update. Restarting in Safe Mode can help eliminate these unnecessary files that might be interfering with your Mac’s processes.

To boot into Safe Mode, follow these steps:

  1. Restart your Mac, then hold the Shift key immediately after you hear the startup sound.
  2. Release the Shift button when you see the login screen.
  3. Launch the Messages app while in Safe Mode and see if it’s working as it should.

Fix # 4: Delete Preferences, Cache, and Chat Database.

The Messages app stores information in various location on your Mac. All these files must be deleted, so your app can start from scratch and get rid of any errors that are plaguing it.

To delete these files, follow the steps enumerated below:

  1. Close the Messages app.
  2. Open Finder and hold Options while clicking Go from the top menu. This should reveal the Library folder.
  3. Click Library, then search for the Preferences folder.
  4. Look for any of these .plist files:
    • com.apple.imagent.plist
    • com.apple.imessage.bag.plist
    • com.apple.imservice.iMessage.plist
    • com.apple.iChat.AIM.plist
    • com.apple.iChat.Jabber.plist
    • com.apple.iChat.plist
    • com.apple.iChat.StatusMessages.plist
    • com.apple.iChat.Yahoo.plist
  5. Back up these .plist files by copying them to the Desktop.
  6. Move all these .plist files to the Trash afterwards. This will clear previous settings and preferences of the Messages app.
  7. Go back to the Library folder and delete the following files:
    • Caches/com.apple.imfoundation.IMRemoteURLConnectionAgent
    • Caches/com.apple.Messages
    • Containers/com.apple.corerecents.recentsd
    • Containers/com.apple.soagent
    • Containers/com.apple.iChat/Data/Library/Caches
    • IdentityServices
  8. Look for the Messages folder inside the Library directory and move the whole folder to the Trash.Preferences
  9. Next, launch Terminal by searching for it via Spotlight or going to Finder > Go > Utilities.
  10. Stop the IMDPersistenceAgent process by typing in this command: killall IMDPersistenceAgent.
  11. Type in this command in the console: rm -rf ~/Library/Caches/com.apple.Messages. This command should delete all cached data of the Messages app.
  12. To delete the chat database, enter this command in the Terminal window: rm -rf ~/Library/Messages.
  13. Enter this command to clear the preferences cache: killall cfprefsd.

Close everything and restart your Mac. Launch the Messages app to see if it is now working properly.

Fix #5: Disable Messages in iCloud Settings.

Just like the iPhoto Library, Messages in iCloud ensures that all your messages are synchronized across all your devices. However, several users noted that the error seems to be caused by this feature.

To disable this feature on your Mac, follow the instructions below:

  1. Open Messages, then choose Messages from the top menu.
  2. Click on Preferences > Accounts.
  3. Choose iMessage from your list of accounts.
  4. Uncheck Enable Messages in iCloud.
  5. Choose either Disable All or Disable This Device.

Close Messages and re-open the app to see if this solution worked.

Final Thoughts

It can be annoying when the Messages app hangs or crashes after upgrading to Mojave because you can’t read or send messages on your Mac. However, dealing with a faulty built-in macOS app, such as Messages, can be tricky because you can’t just uninstall then re-install it. If you try moving Messages to the Trash, you’ll get an error message saying that you can’t uninstall the app because it is a critical part of the macOS system.

Instead of waiting for Apple to fix this bug, you can try the workarounds suggested above to get your Messages app working smoothly again.

Leave a Reply

Your email address will not be published. Required fields are marked *

four × two =