Registered Member
|
After upgrading to 4.7.0 on my Gentoo laptop, I opened KMail, (POP3 for incoming mail and then archive to local folders), and after seeing a bunch of old messages in my Inbox, (which I had already archived to local folders), I moved them to Trash, and everything seemed to be working fine. I can send and receive email, and I can see the messages in all of my local folders, except one.
The problem folder has 4500+ messages in it, (not my largest local folder), and it will not display any messages when selected in KMail. The spinning "wait" icon is displayed on the folder icon when I select it, and the message list never appears, even after hours of waiting. I even moved another message to the folder from my inbox, and that message appears as the only message in the list. All the while the "wait" icon keeps spinning. Any advice on how to clear this condition? Also can someone let me know where exactly my local mail is stored? I have one folder hierarchy called Home, which has 30 sub-folders in it, all which contain messages. However, when I go to ~/.local/share/.local-mail.directory, both the Home and the .Home.directory folder do not have the sub-folder hierarchy, nor the messages in them. However, ~/.local/share/akonadi/file_db_data, does contain 52,000+ items. Do I need to perform some kind of akonadi migration? Thanks..
Last edited by jasn on Sat Jul 30, 2011 12:06 am, edited 2 times in total.
|
Administrator
|
Are there any errors in .xsession-errors?
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
Registered Member
|
These are the .xsession-errors messages after I opened KMail and I selected a local mail folder that comes up correctly, called Comcast, followed by selecting the "problem" folder called Buy;
I can see now that there is a problem retrieving "item 113862", although I don't know what to do to correct the condition. Thanks.. |
Registered Member
|
regards
jaja -------- abit Fatal1ty FP-IN9 SLI/Intel Core 2 Quad Q6600/6041 Mo DDR2/2 Asus silent 8600 Gt 512Mo & ACER Aspire 5612 WLMI : kubuntu Maverick Meerkat 11.04 (32 bits) & KDE SC 4.7 - amarok 2.4.1 - kmail2 |
Registered Member
|
Hello jajaX.
I'm not having the same problem that you indicate in your screenshot. It's not that the message list is "grayed" out, in my problem folder. It's that I can't see anything in it at all. Thanks.. |
Registered Member
|
I had a similar problem when upgrading to KMail 2 (using Arch Linux). I didn't have the spinner showing, but I did have all my folders empty except for my inbox. Here's the blog entry I wrote on how I solved it:
I recommend checking the "Local Folders" settings, just to confirm if that does or does not help. |
Registered Member
|
Thanks Chris,
Nothing was checked, so I checked the include in manual check, and check on startup options. I then quit KMail, and then restarted it, and I still wasn't able to see the message list in the problem folder, and the folder icon just keeps spinning. (It was worth a shot though.. Thanks) BTW, I also tried the forced akonadi migration method described in the forums here, and that simply resulted in my losing both the problem folder and its messages, and a whole lot of other folders and messages as well. (I restored from my backup and am back to the same problem described above with my one folder) Thanks.. |
Registered Member
|
I have that very same problem, except for all of my folders - ever since I migrated to 4.7. 4.6 was fine in that respect.
Deleting my Local Folders agent and letting the automatically created new Local Folders agent resynchronize my mail hasn't helped. A new Akonadi database is like opening Pandora's box and has at first created a bigger problem while solving this problem, then (the second time around) helped with that bigger problem, but reintroduced this problem (for details, see the thread linked in the post directly above). I am now testing what influence Nepomuk has on this. Disabling didn't help. A new database might help but right now, it doesn't look like it. Would be glad to receive help. |
Registered Member
|
I was able to solve this problem by switching from SQLite to PostgreSQL as a backend. Or at least so it seems, of course I cannot guarantee that there is a causality.
More details here. |
Registered Member
|
After appearing to me, that there is no real solution to this problem of the "stuck folder" display, I thought I'd fix it by simply backing up my local mail folder hierarchy of ~/.local/share/.local-mail.directory, and "start clean" by importing the emails back into an empty KMail user directory. That's when I discovered the slightly unsettling fact that not all of my emails were in my ~/.local/share/.local-mail.directory hierarchy. There's been some posts here, that suggested a possible bug with KMail where it will not store emails that are temporarily in ~/.local/share/akonadi/file_db_data, into the ~/.local/share/.local-mail.directory hierarchy. I was surprised to find that my ~/.local/share/akonadi/file_db_data directory did in fact contain 52,000+ items.
So now, not only was my email not working correctly, I couldn't even backup my local mail folder hierarchy, without going through KMail first. So using the KMail archive folder feature, I tried to backup my local mail folders into compressed archive files, first at the top level folder, where I would invariably get a KMail error about not being able to archive the folder because it couldn't read all of the messages in a specific sub-folder. So I ended up archiving my email, folder by folder, just so I could build a correct KMail local folder hierarchy. I notice hitting F5 (update) on a folder where KMail stated that it couldn't read all of the messages would actually result in KMail deleting messages, one by one, for no apparent reason. I scrolled to the bottom of the folder email list, and then watched KMail delete the bottom (oldest) email one by one, every time I hit F5. Prior to my KDE 4.7 upgrade, I had backed up my system, so I was able to restore my older ~/.local directory, and try again. I eventually migrated most of my email, using this KMail archive subfolder -> copy to another directory and extract, process, to a create a correct ~/mail.archive/.local/share/.local-mail.directory KMail hierarchy, out of the control of KMail. I don't know what happened to KMail, but when it became arduous for me to simply find all of my emails, and to see the program actively deleting my emails in this way, I realized that there was something seriously wrong. This may be a problem in expecting KMail to inherit old settings/config files/email hierarchy, each upgrade, and still behave nicely, but if the correct process was to migrate old email/folder/hierarchies to a new one using an export and then import process so it's done cleanly, this should have been more clear. For myself, once I got all of email out of KMail, I actually converted them to a Claws Mail compatible folder hierarchy, and am now using Claws. Thanks.. |
Registered Member
|
I can confirm that kmail is -- I kid you not -- actually storing
mail in ~/.local/share/akonadi/file_db_data in a huge number of individual mail message files instead of in the assigned kmail mail folder. Obviously, this makes backups a complete **** shoot. Well, the word "****" is certainly appropriate. EDIT: I see my language was edited automatically and without warning ... kind of like the way kmail behaves LOL |
Administrator
|
Your posts haven't been edited - merely censored.
The data stored under ~/.local/share/akonadi is simply a cached copy of your data - the real data is probably still stored in the appropriate folders.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
In my case, this wasn't true. I had a local mail folder called Home, with approximately 31 sub-folder in it. When I checked my ~/.local/share/.local-mail.directory/Home.directory hierarchy, there were only 4 subfolders under it. Additionally under another local mail folder, I noticed that while all sub-folders where there, there were also sub-folders that had been deleted for some time, still there. It took quite some time and effort to produce a clean local mail folder hierarchy, as I described previously. |
Registered Member
|
Also in my case - as I stated - the mail is not in
~/.kde4/share/apps/kmail/mail which is the selected maildir for kmail Instead, it is in the akonadi db file ... Copying the mail to another local folder seems to have worked - that is, to have actually transferred the files into the correct directory Unfortunately, the messages seem to have been left in the akonadi db file (~/.local/share/akonadi/file_db_data) which has now grown to about 300 MB with more than 1100 files !! Does this thing ever get cleaned out? |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]