
Rebuilding the Global Database does not complete (Mac)
My Thunderbird was not finding messages that I could see were there.
I followed the advice here https://support.mozilla.org/en-US/kb/rebuilding-global-database.
I deleted the (large) global-messages-db.sqlite (I have been using Thunderbird for a long time - and I am monthly contributor).
The rebuild gets to a certain point and then stops (as indicated by Tools Activity Manager). Always at the same point. I guess there is a bad message in there somewhere. But now I am worse off than before.
I tried rebuilding several times. I have also compacted the account folders of the account that stopped and then tried rebuilding.
I have many years of messages in there and I need a functioning search. What can I do?
An gyara
All Replies (10)
See if anything relevant shows up in the Error Console:
- press Ctrl-Shift-j
- click the Trash can on the upper left to clear the console
- make sure 'Errors' is the only category selected
- start the rebuild
- if there are errors, R. click > Copy Message or Copy all Messages > paste here
NotFoundError: No such JSProcessActor 'BrowserToolboxDevToolsProcess'
How does the coding respond when a laptop goes to sleep? Does it start up again when the laptop wakes up?
I have come back to my laptop after a couple of hours and all synchronization frozen.
An gyara
There seems to be a corrupt folder (= a corrupt mbox file) in your profile. Repair all your folders before starting the next rebuilding the GLODA. .... or at least the folder where it gets stuck when the indexing stops.
You have subscribed to see the gmail 'All Mail' folder which is a complete duplication of everything. It does not really offer anything that's useful. If anything should happen to that file and it synchronised with server , you could lose everything.
Suggestion: - Unsubscribe from seeing the 'All Mail' folder so you can rule it out.
Now Exit Thunderbird This should get all the background files updated. Access profile and delete the global-messages-db.sqlite file
Restart Thunderbird.
Please report back on results
Opened error console after leaving machine overnight.
NotFoundError: No such JSProcessActor 'BrowserToolboxDevToolsProcess' carddav.sync: Sync with server failed. CardDAVDirectory.sys.mjs:668:11 uncaught exception: 2147500036
Repairing folders and then restarting to build indexes.
Error console shows:
Error creating vCard properties TypeError: can't access property "encoding", params is undefined
VCardPropertyEntry resource:///modules/VCardUtils.sys.mjs:555 fromVCard resource:///modules/VCardUtils.sys.mjs:693 AddrBookCard resource:///modules/AddrBookCard.sys.mjs:38 get vCardProperties resource:///modules/AddrBookCard.sys.mjs:199 vCardToAbCard resource:///modules/VCardUtils.sys.mjs:165 convertToHTML resource:///modules/VCardUtils.sys.mjs:271
AddrBookCard.sys.mjs:64:15 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attachments.sys.mjs:40 downloadAsBytes resource://services-settings/Attachments.sys.mjs:522
RemoteSecuritySettings.sys.mjs:631 RemoteSecuritySettings: failed to download CRLite filter ServerInfoError: Server response is invalid TypeError: serverInfo.capabilities.attachments is undefined
ServerInfoError resource://services-settings/Attac
I think I think the indexing is fixed by repeatedly repairing and indexing.
This is what I think I learned. Does it look right?
Searching is supported by an internal SQLite database which is stored in the profile folder as global-messages-db.sqlite. This can be deleted (after quitting Thunderbird) and it will be automatically be rebuilt when Thunderbird restarts.
You can view the rebuild process in Activity Manager - Tools | Activity Manager
Errors are displayed in the Error Console - Tools | Developer Tools | Error console
The indexing (rebuilding) of the database can stop if one of the folders (msf files) is corrupted. The folder and account that stopped indexing will be shown in Activity Manager log. Right click on that folder, then Properties, then Repair will redownload all messages from the account and rebuild the corrupted folder. Then restarting Thunderbird should resume indexing (you don't have to delete the database and start again from scratch).
I have one folder left that the indexing stops on. That folder is associated with an old account that no longer exists.
Is there any way that I can repair that folder so that it can be indexed for searching purposes?
camerojo said
I have one folder left that the indexing stops on. That folder is associated with an old account that no longer exists. Is there any way that I can repair that folder so that it can be indexed for searching purposes?
Is that folder in 'Local Folders' account ? Or is that folder still in an old POP account which you still have displaying in Folder Pane? OR is that folder still in an old IMAP account which you still have displaying? I would not have expected it to be this last option because it's normal to get fully downloaded copies of wanted mail put into Local Folders before deleting all email from the account to clear data off server. Then you would remove the imap account and then remove account from server/supplier of email address. However, looking at error console data, it's implying it cannot access server which is usually associated with imap account. Suggestion - if that folder is in an imap account, then create a folder in Local Folders and get copies of all emails put into that folder. Check you have good copies before removing the redundant imap account.