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.

iCloud and internet accounts broken

For the better part of a year my contacts and continuity features that use iCloud have been broken.


Under my settings in iCloud my account doesn't show that I'm signed in. It asks to sign in and after I do, it says " **iCloud account** is already signed in to iCloud. To use this Apple ID as your primary iCloud account, delete it from Internet Accounts and sign in again."


After going to my internet account under setting none of my email accounts or iCloud accounts show up and I'm asked to sign set up my accounts. If I set it up I always get " Already signed in as **iCloud account**. This iCloud account already exists. "


I'm not too sure what to do to get all my internet accounts to work again.

Currently using a 13" MacBook Pro from 2013 on MacOS 10.14


Any way I can get my setting back to normal?

MacBook Pro (Retina, 13-inch, Late 2013), macOS Mojave (10.14)

Posted on Oct 9, 2018 5:53 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 23, 2019 10:34 AM

Eureka! We've found a solution! It seems the cause of the issue is actually a corruption of the icloud database on the computer. To repair, copy and paste this command into Terminal, but do not hit enter before closing all other applications running on your computer. Once everything else is closed, go ahead and hit enter. You may be prompted to enter your administrator password because it is a sudo command, so go ahead and do that (but keep in mind that when you type your password into terminal, the text cursor will not move to show how much you have typed already). A few moments later, your computer should restart. Once it's open, you should be able to sign into iCloud and Internet Accounts as normal.

Here is the command:



sudo -v ; killall -9 accountsd com.apple.iCloudHelper ; defaults delete MobileMeAccounts ; mkdir ~/Library/Accounts/Backup ; mv ~/Library/Accounts/*.sqlite* ~/Library/Accounts/Backup/ ; killall -9 accountsd com.apple.iCloudHelper ; sudo reboot



I just ran it myself and can finally use my computer as normal--let me know if it works for you as well!


~Special thanks to the Apple Support team for working with me to find the issue and providing the command to fix it--I couldn't have found it without them.

24 replies

iCloud and internet accounts broken

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