![Thunderbird logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2024-02-12-07-36-53-599028_1.png)
Thunderbird, some local folders appears empty, but search reveals messages in those folders. How to repair?
The hard disk of my computer was not too well, I bought a new computer and transferred my Thunderbird profile and the Local Folders (which were not within the profile folder on my previous computer). On the new computer, the Local Folders are within the profile folder. When using Thunderbird, all seemed OK, except that some folders in Local Folders were missing or empty, which they were not on my old computer. Investigating the Local Folders showed that some folders missed their foldername.msf file, their foldername file (no extension) and/or possibly their filename.sbd folder. By creating empty files/folders with the correct name and removing msf files where all else was present for the folder, I managed to regain access to some folders, but not all.
When I search for words that occur in folders that are now empty or missing, I get results with messages that are (or should be) in those folders, but I cannot open/access these messages.
What else can I do to regain access to the missing folders and messages, even just recovering (as much as possible of) the contents of the message would help me a lot.
The old hard disk appears to have died during / after transfer of my files and folders. It is now completely inaccessable and should be considered as a total loss. Backups miss the same files/folders, so the corruption was a lot older than I thought - but Thunderbird had full access to the folders that are now empty right until I transferred all my files from old to new computer (with rsync via ssh).
General information : I use Thunderbird for decades, O/S is openSUSE (at least 25 years) now at LEAP 15.3.
被選擇的解決方法
When I search for words that occur in folders that are now empty or missing, I get results with messages that are (or should be) in those folders, but I cannot open/access these messages.
My best guess is these messages are gone (for whatever reason). You'd need to restore them from a good backup. Are you using Global Search? The reason why you still get search hits is most likely because the now gone messages have been indexed in the past. This is what you're seeing now - the indexed information, which is orphan by now. To fix the index, you'd need to rebuild it. https://support.mozilla.org/kb/rebuilding-global-database
從原來的回覆中察看解決方案 👍 0所有回覆 (2)
選擇的解決方法
When I search for words that occur in folders that are now empty or missing, I get results with messages that are (or should be) in those folders, but I cannot open/access these messages.
My best guess is these messages are gone (for whatever reason). You'd need to restore them from a good backup. Are you using Global Search? The reason why you still get search hits is most likely because the now gone messages have been indexed in the past. This is what you're seeing now - the indexed information, which is orphan by now. To fix the index, you'd need to rebuild it. https://support.mozilla.org/kb/rebuilding-global-database
Thank you for your reply. I found the records in the database (the indexed information) and I will export them first, as they contain at least some information (like who from/to, date, subject and a little textual content). Next step will be to recover/restore old backups that are usable (recent images are corrupt and cannot be restored).