Apple Mail database upgrade screen appears at Mail startup

Hi All,


Here is the history and then the problem.

I have a early 2011 MBP and I upgraded to El Capitan shortly after it dropped on the app store. After using it for months and being very disappointed with the performance on my MBP. I backed everything up and reinstalled Yosemite. Most everything works perfectly now. But every time I start Mail on I get the "Mail Upgrade" window. Seen Below. I click continue and the progress bar is completed in a second or less. So not a lot of updating going on. I can get all my mail. But SpamSieve will now not work with mail. SpamSieve has all the spam information in it and the mail plugin is installed. I think the problem is in Apple Mail.

How can I reset mail or complete the upgrade?


Thanks

SJSLovechild

User uploaded file

Mac OS X (10.5.4)

Posted on May 13, 2016 4:49 AM

Reply
10 replies

May 17, 2016 7:22 AM in response to dianeoforegon

Hi dianeoforegon,


The account type is imap and the mail is on the server. The only folder I have under On My Mac is an empty spam folder. But I looked at the v2 folder in preferences and it's 800 megs. I only have a v2 folder. I deleted the v3 folder in an effort to force mail to read from the correct folder. The deletion had no effect.


Thanks for any help you can give.

SJSlovechild

May 17, 2016 11:57 AM in response to sjslovechild

Have you reverted to Yosemite?

If yes...

Quit Mail

Go to System Preferences > Internet Accounts

Uncheck Mail for each account.

Go to User's Library (see below)

Scroll down to Containers. Delete the com.apple.mail folder

Scroll down to Mail. Rename Mailxxx

Log out under the Apple in the Menu bar

Login

Delete the Trash

Open System Preferences > Internet Accounts

Check Mail for your IMAP account. (If you have multiple accounts, I suggest letting each account download completely before adding your other accounts.)


While the messages are downloading, do you see the folders being created in V2?


If yes, make sure all folders are assigned correctly for the default folders (Inbox, Drafts, Sent, Deleted Items)

Next, add other accounts.

If you had messages stored locally, we can go back into Time Machine to restore.


If no, start again with steps above then also remove these files:

Accounts folder

Preferences folder:

.../Preferences/com.apple.accounts.plist (file)

.../Preferences/com.apple.accountsd.plist (file)

.../Preferences/com.apple.mail-shared.plist (file)

.../Preferences/com.apple.MailMigratorService.plist (file)

.../SyncedPreferences/com.apple.mail-com.apple.mail.vipsenders.plist (file)

.../SyncedPreferences/com.apple.mail.plist (file)


Show User's Library


The User's Library folder is hidden by default. To unhide: Select the Finder in the Dock. Under Go in the Menu bar > hold down the Option key and you’ll see the Library.


Finding the User Library Folder

http://www.takecontrolbooks.com/resources/0167/site/chap11.html#FindingtheUserLi braryFolder

May 17, 2016 2:46 PM in response to sjslovechild

Let's do a quick test in a new User or the Guest User.


CREATE A NEW USER

Go to System Preferences --> Create a New User in Users & Groups.

Switch to the New User by logging out under the Apple in the Menu Bar.

Log into the new User.

You can skip logging in with an Apple ID. Hit continue then skip.


Does System Preferences open correctly? Try other features that are not working for you since you reverted.

May 18, 2016 11:00 AM in response to sjslovechild

Let's go over your options, but first please answer the following:

1) How much available space on your drive? How much space used? Use Disk Utility in Applications/Utilities to find this info.

2) Do you have an external drive that has Time Machine? Do you have enough space on the drive to do a clone backup? Please verify using Disk Utility that the disk is formatted as GUID.


Select the top drive in Disk Utility. You'll see partition map scheme in bottom right.

User uploaded file


Options:

1) move all your data over to the new User.

2) erase your drive and install Yosemite clean then manually bring over your data

3) rebuild the broken User folder

4) erase your drive and install El Capitan not that it is at the final version 10.11.5 and manually bring over your data.

May 18, 2016 12:22 PM in response to dianeoforegon

The Following


1. The drive has a mac and a bootcamp partition. I have 284.96 GB of empty space on my Mac partition.

2. I have a mostly empty 5 TB drive and SuperDuper.


I like options 3 and 1 in that order.

Because I'm not going to El Capitan if I can avoid it. I had an awful user experience there.


What is involved in 3?

rebuilding the broken User folder


Thanks

SJSLovechild

May 18, 2016 12:54 PM in response to sjslovechild

First, you want to clone your current drive. Don't skip this step! If there is a problem you can boot from your clone and be right back to where you were before you started. You can't boot from Time Machine.


You can create a partition on the external drive that is large enough to copy your data plus some free space. If you don't know how to partition, see directions here: How to partition an external drive using Disk Utility


Use SuperDuper to clone the drive. It's free to do the erase and clone for the first step. If you want scheduled backups that are smart backups not a full erase and clone you can purchase for $27.95.



Second: Rebuild broken User:


If you did not create the test User as Admin, set as admin in System Preferences. Unlock to make changes.

(note the exact user name, short name, and password for the broken user.)

Log out under the Apple in the Menu bar

Log in to test admin user.

Open System Preferences > Users & Groups

Unlock to make changes


Select the broken User, then click on the minus sign to delete it. Select "Don’t change the home folder" to leave the account's home folder as is, in its current location inside Users folder. Continue by clicking "Delete User". This way you have deleted the user account but you have preserved all its local data and preferences.


Now, add a new account by clicking on the + sign.

Use the EXACT user name, short name and password.

The system will detect the existing home folder. You'll get a popup dialog warning. Select "Use Existing Folder".

After the setup is complete, the account will be restored.

Log out of the test User and into your old User.

Test to see if the problem is solved.


If you still have problems, you can move to the new User. See Move your data to a new User or a new Mavericks partition


(Fair disclosure: Needhelp4Mac is my site. I may receive some form of compensation, financial or otherwise, from links on my site.)

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.

Apple Mail database upgrade screen appears at Mail startup

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