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.

After upgrade to MacOS Mojave, I cannot login or connect to App Store.

I am using the latest MacBook Pro 2018 version. After upgrade to MacOS Mojave, I cannot sign out, login App Store or View my account. It always show "Cannot Connect to App Store". I also upgrade my iMac to MacOS Mojave, my iMac does not have this issue.


How can I fix this issue on my 2018 MacBook Pro?


Thank you

MacBook Pro TouchBar and Touch ID, iOS 12

Posted on Sep 24, 2018 7:50 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 9, 2019 4:00 PM

My problem was a corrupt Accounts4.sqlite file in ~/Library/Accounts. The following steps fixed the issue for me:

  1. Go to Finder
  2. From the menu, click Go -> Go to Folder...
  3. Type: ~/Library/Accounts
  4. Create a backup folder: Control-Mouse click -> New Folder, name the folder backup
  5. Move all Accounts4 files to the backup folder
  6. Log out and then log back in
  7. Open App Store
379 replies
Question marked as Top-ranking reply

Feb 9, 2019 4:00 PM in response to brianyen0

My problem was a corrupt Accounts4.sqlite file in ~/Library/Accounts. The following steps fixed the issue for me:

  1. Go to Finder
  2. From the menu, click Go -> Go to Folder...
  3. Type: ~/Library/Accounts
  4. Create a backup folder: Control-Mouse click -> New Folder, name the folder backup
  5. Move all Accounts4 files to the backup folder
  6. Log out and then log back in
  7. Open App Store

Oct 2, 2018 7:04 AM in response to cmeid

I found a solution that worked for me. It took me two steps, and all credit to BocaBoy in this thread: Re: Mojave installation fails: duplicate App Stores, can't sign in with Apple ID (Macbook Pro, Late 2016)


  1. Disable System Integrity Protection:
    1. Reboot the computer into restore mode (press command-R during startup)
    2. Select Terminal from the Utilities... menu
    3. Enter csrutil disable and press return
    4. Restart
  2. Back up and archive the folder in /Library/Security/Trust Settings before deleting them through Terminal. I'll copy BocaBoy's instructions here for you all:


OK, I just spoke with Apple engineering and they gave me a fix for this. It worked for me and it may work for you. You must know how to use Terminal and access hidden directories with Finder in the root of your drive.


First, make SURE that you've backed up the directory /Library/Security/Trust Settings. Copy it on your Desktop or Downloads directory, or wherever you'll be able to access it.


1. Again, back up the user certificate trust settings files described above. Then, remove them with the following commands, entering your administrator password when prompted:


cd "/Library/Security"

sudo ditto -ck "Trust Settings" TrustSettingsBackup.zip

cd "/Library/Security/Trust Settings"

sudo rm *.plist


2. Attempt to sign into the App Store.


This didn't work for me until I restarted at which point I was able to log in and see all of my accumulated updates. If you're not comfortable working at the system level, DON'T do this. If you are, this may fix your problem. It did for me.


Once you're sure that you've got the App Store working, you can delete the TrustSettingsBackup.zip file as well as the backup of the Trust Settings directory.

3. Reenable System Integrity Protection by repeating step 1 but using the command csrutil enable.


After I modified the Trust Settings directory, I was able to reboot and connect to the App Store and Books Store.


Good luck, everyone!

Oct 11, 2018 12:52 AM in response to brianyen0

I had same issue of not being able to sign in to app store. After trying everything that was written in previous posts, this worked for me:


a) Open KeyChain Access

b) Click on System Roots

c) Double click on "DigiCert High Assurance EV root CA"

d) Expand "Trust"

e) Change "When using this certificate" from Use System Defaults to "Never Trust"

f) Restart the computer

g) Do steps a to e again but change "Never Trust" to Use System Defaults


After this, I was able to login to App Store and download apps etc.

Sep 27, 2018 1:45 PM in response to WPeter W.

If you're having problems with the App Store you might try this:


1 - sign out of the App Store.


2 - enable the Debug menu in App Store:

  • open the Terminal application.
  • copy the command below and paste into the Terminal window:
defaults write com.apple.appstore ShowDebugMenu -bool true


followed by Enter or the Return key.


3 - launch App store and select the Debug ➙ Reset Application option:

User uploaded file

4 - sign in and try again.

User uploaded file

Sep 29, 2018 10:17 AM in response to joelw135

Yes, a number of people in the thread have reported this to Apple. I've been back and forth with Support and their Engineering team and have found a partial solution to a problem that I was having (High Sierra App Store co-existing with the Mojave App Store, in a folder called "Previous Content"):


  • The folder couldn't be deleted, so I rebooted into Restore mode (command-R while starting up).
  • From the Utilities menu, I opened Terminal and disabled System Integrity Protection by typing the following in the window:
  • csrutil disable
  • Then pressing enter.
  • Rebooting allowed me to delete the previous version of the App Store along with Safari, etc.
  • Rebooting again, after deleting and emptying the Trash, restored some of the panes in the App Store:

User uploaded file

Sadly, though, I still can't connect to the App Store.


So, perhaps partway to a solution but not there yet. I'll update as soon as a solution is found, if I find one.


SIP can be restored using the same process but with the command csrutil enable, FYI.

Sep 29, 2018 10:42 AM in response to testingtestingtesting

Hey guys,

been reading through this thread, and wanted to post that I had an issue with the App store in Mojave, that I was able to fix. Since this has not been posted in this thread yet, I will provide the steps to correct my issue in case it's something that simple that will help someone else.


My issue was: unable to see, or install updates in the Mac app store after Mojave upgrade.

Cause: Damaged / outdated caches / user settings (plists)

Solution: Use an uninstaller app such as AppDelete, iTrash, or AppCleaner.

Drag the App Store icon from applications to said app (a good option put an alias to the uninstall app on the desktop.)

When the list of associated files pops up, uncheck the App store icon itself, and uncheck the AppStore folder in /Library/Application Support.

Delete, everything else and reboot the mac.


In My case, I was always able to sign in, but updates didn't work. After these steps I signed back ink and everything came back to life. It's been working fine since. I understand there are numerous issues going on here, but no one here mentioned doing this yet, so I thought I would.


Hope it helps someone else! have a great day!

Oct 2, 2018 7:31 AM in response to brianyen0

OK, I just spoke with Apple engineering and they gave me a fix for this. It worked for me and it may work for you. You mustknow how to use Terminal and access hidden directories with Finder in the root of your drive.


First, make SURE that you've backed up the directory /Library/Security/Trust Settings. Copy it on your Desktop or Downloads directory, or wherever you'll be able to access it.


1. Again, back up the user certificate trust settings files described above. Then, remove them with the following commands, entering your administrator password when prompted:

cd "/Library/Security"

sudo ditto -ck "Trust Settings" TrustSettingsBackup.zip

cd "/Library/Security/Trust Settings"

sudo rm *.plist


2. Attempt to sign into the App Store.


This didn't work for me until I restarted at which point I was able to log in and see all of my accumulated updates. If you're not comfortable working at the system level, DON'T do this. If you are, this may fix your problem. It did for me.


Once you're sure that you've got the App Store working, you can delete the TrustSettingsBackup.zip file as well as the backup of the Trust Settings directory.


Let me know how it goes.

Oct 3, 2018 12:02 PM in response to smoledman

OK look at this screenshot and look closely at the path at the bottom of the Finder Window. This is what you should see. Like I said I am not an expert, but you can try and add a folder called Trust Settings. But do this at your own risk, or wait for a better info. If you do add it, reboot. It might or might not help, but please wait for expert help.

User uploaded file

Oct 9, 2018 6:55 AM in response to bill.gertz

Hi Bill,


Like you I had an old version of the Appstore in the CCC Safety net. I think however this was the version prior to Mojave. I managed to delete it, which resolved the Appstore issue (hooray), alas now I cannot empty the trash. It will not let me empty the trash as a file is in use. User uploaded file Attempting to delete immediately gets results in User uploaded file This is not the end of the world, as I am sure Apple will release an update to resolve the Appstore issues. But a little annoying.


Bill Budd

Oct 31, 2018 2:32 PM in response to parrori1

I just shut down my iMac just to show you I have apps there and once I close the app store they go away so you have a screen shot with my apps login after shut down and one blank after getting out of apple store. 2ND acreen shot quit apple store and logged back in now blank go figure whats wrong I cannot figure it out. Anyone that can help me I wold be most grateful.

User uploaded fileUser uploaded file

Nov 1, 2018 1:53 PM in response to unilrn

Can you tell me were to start my apps page is blank see screen shot was when I first log in the morning after shutdown at night but then second screen shot shows nothing any help with this? I would have to stay logged ing in all day for this to stay open like it suppose to. Please help I just update to Mojave now wish I did not my apple store was great no problems now this mess.


User uploaded fileUser uploaded file

After upgrade to MacOS Mojave, I cannot login or connect to App Store.

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