Re: kmail stopped working totally

Neal Becker <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
Alan McKinnon wrote:

> On Thu, 08 Sep 2011 19:27:54 -0400
> Neal Becker <[email protected]> wrote:
> 
>> Alan McKinnon wrote:
>> 
>> > On Thu, 08 Sep 2011 15:26:10 -0400
>> > Neal Becker <[email protected]> wrote:
>> > 
>> >> Neal Becker wrote:
>> >> 
>> >> > kdepim-4.7.0-1.fc15.x86_64
>> >> > 
>> >> > 
>> >> > Started with kmail won't send queued mail (again).  I had
>> >> > previously solved this using
>> >> > akonadictl restart
>> >> > 
>> >> > This time no good.
>> >> > 
>> >> > receive set to imap.  That stopped working also (I believe).
>> >> > After fiddling with akonadi console, I finally deleted the
>> >> > receiving account (from gmail). Then tried to add a new imap.
>> >> > Can't do it! I can add, but clicking on 'modify' to configure
>> >> > it, nothing happens, except this message:
>> >> > 
>> >> > Known subscriber "akonadi_imap_resource_2" subscribes again
>> >> > 
>> >> > So now can't send mail anymore.   Can't receive anymore.
>> >> > 
>> >> 
>> >> I see if I try to add a pop receive account, at least I get a
>> >> dialog to configure it.  Adding imap there is no dialog to
>> >> configure it and no way to configure it (modify does nothing - no
>> >> dialog is opened).
>> > 
>> > The description of your problem is some what general so it's hard to
>> > figure where to start, you are likely to get either a lot of
>> > possible things to check, or none at all.
>> > 
>> > One piece of advice I can offer is to create a new test user and
>> > configure this user to use the same mail settings you use now. When
>> > everything is done and working, compare both sets of *config files*
>> > looking for differences. Most people complaining of odd kmail2
>> > behaviour seem to have gone through several migrations and upgrades
>> > with the same config files, the chances you did too are good.
>> > 
>> > This isn't something you should do right away, it's a big gun
>> > approach, something useful to keep in mind as a last resort when
>> > you've truly done everything else you can think of and nothing was
>> > successful.
>> > 
>> > 
>> 
>> Only problem is, I don't know what files to compare.  And, are they
>> all text files, or is some of this in the form of sql database?
>> 
>> In ~/.config/akonadi I see suspicious stuff:
>>   -rw-rw-r--   1 nbecker nbecker      41 Sep  8 16:34
>> agent_config_akonadi_imap_resource_5
>> [Agent]
>> Name=IMAP Account 6
>> Online=false
>> 
>>   -rw-rw-r--   1 nbecker nbecker       8 Sep  8 16:33
>> agent_config_akonadi_imap_resource_5_changes.dat
> 
> They are regular KDE text config files in ~/.kde4/share/config
> 
> 

OK, I decided to re-create all my kde config.  I created a new user 'nbecker2', 
then after logging into kde, I copied over

.config/akonadi
.local/share/akonadi
.kde
(renaming existing dirs)

That _almost_ worked.  Problem is, many configs and symlinks had the name 
'nbecker2' in them - and some binary database files.

Try #2: rename /home/nbecker -> /home/nbecker.old
make a new user 'nbecker' forcing the same uid
Repeat above procedure, this time copying everything to nbecker.old
Finally, mv /home/nbecker.old -> /home/nbecker, then get rid of extra user 
account.

I think I'm back in business (not certain yet)

_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.