Bug 398495 - impossible to bring an imap folder online
Summary: impossible to bring an imap folder online
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.7.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-11 13:21 UTC by ederag
Modified: 2018-10-04 19:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Corresponding resource setting (352 bytes, text/plain)
2018-10-04 19:29 UTC, Frank Mehnert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ederag 2018-09-11 13:21:06 UTC
An imap folder is offline, and impossible to bring back online.
Update this folder>
"Before syncing folder it is necessary to have the resource online. Do you want to make it online?"
> Go Online

org.kde.pim.akonadicontrol: Agent instance with identifier  "akonadi_imap_resource_0"  does not exist
org.kde.pim.akonadicontrol: Agent instance with identifier  ""  does not exist
org.kde.pim.akonadicontrol: Agent instance with identifier  "akonadi_imap_resource_0"  does not exist

akonadictl restart
does not solve anything.
Comment 1 George 2018-09-13 21:10:25 UTC
Same here.
Comment 2 ederag 2018-09-14 16:47:34 UTC
looking further into it,
two files were excluded from my synchronization setup.
On the buggy desktop they were missing imap informations in
agentsrc and mailtransports:

.config/akonadi/agentsrc
-akonadi_imap_resource\InstanceCounter=0
+akonadi_imap_resource\InstanceCounter=1
+akonadi_imap_resource_0\AgentType=akonadi_imap_resource

.config/mailtransports
 [General]
-default-transport=1927230780
+default-transport=1338476827

+[Transport 1338476827]
+auth=true
+ ... imap setup stuff ...

Now it works, but not tested for long.

More relevant for this bug report:
the kmail feedback could be improved (instead of just staying off-line),
when an imap folder exists without the corresponding Transport.
Comment 3 Frank Mehnert 2018-10-04 19:29:40 UTC
Created attachment 115419 [details]
Corresponding resource setting
Comment 4 Frank Mehnert 2018-10-04 19:50:39 UTC
Apologies. Please ignore my last attachment, I used the wrong tab (had my own report open at another tab).