Bug 995702

Summary: Autocreate 'tmp' in maildir
Product: [Fedora] Fedora Reporter: Wolfram Wagner <wolfram>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: lucilanga, mbarnes, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: evolution-mapi-3.8.5-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-15 02:57:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wolfram Wagner 2013-08-10 08:34:48 UTC
Description of problem:
In my case, I have reinstalled Fedora completely new, to migrate from fedora 18 to 19. After that I have restored the home directories from backup.

When I started to test everything, I noticed a problem with evolution: The folder structure is there, the folders display the unread emails, but in the email list there is nothing.
If you click on "Update" in the folder menu, you get error messages, like "folder cannot be created, it exists" (Sorry, my text is in German, so you will not find it, when you look for my English translation).

In the trace log, you get messages like: (maybe unrelated)
(evolution:11083): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(evolution:11083): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

In /var/log/messagug 10 09:53:08 duter gnome-session[1393]: ** (evolution:2866): CRITICAL **: mail_session_configure_local_store: Ordner »Inbox« konnte nicht angelegt werden: Die Datei existiert bereits
CRITICAL **: mail_session_configure_local_store: Ordner »/home/wolfram/.local/share/evolution/mail/local/.Drafts« konnte nicht abgerufen werden: kein Maildir-Ordner.
CRITICAL **: mail_session_configure_local_store: Ordner »/home/wolfram/.local/share/evolution/mail/local/.Outbox« konnte nicht abgerufen werden: kein Maildir-Ordner.
CRITICAL **: mail_session_configure_local_store: Ordner »/home/wolfram/.local/share/evolution/mail/local/.Sent« konnte nicht abgerufen werden: kein Maildir-Ordner.
CRITICAL **: mail_session_configure_local_store: Ordner »/home/wolfram/.local/share/evolution/mail/local/.Templates« konnte nicht abgerufen werden: kein Maildir-Ordner.
...
CRITICAL **: e_mail_session_get_local_folder: assertion `CAMEL_IS_FOLDER (folder)' failed
...

Version-Release number of selected component (if applicable):
I am not aware which version I used before the migration, but it was the latest available and it worked.
Now I am running: 3.8.4

Additional info:
The issue is caused by a missing subdirectory in every mailbox directory. After recreating an empty tmp subdirectory in every mailbox folder it works again.

~/.local/share/evolution/mail/local/...

Maybe it is not a bug, rather an issue, because the backups omit tmp directories. Please leave this issue in the database for anybody who runs into this issue.

And anyway: The messages provided in this case should explain, what failed. They are quite generic...

Comment 1 Milan Crha 2013-08-12 08:28:20 UTC
Thanks for a bug report and all the investigation. I can reproduce it too, when I manually remove the 'tmp' folder, but keep all other folders there. I made a change in upstream evolution-data-server and create the 'tmp' on demand, if other directories ('cur' and 'new') are there.

Created commit 0b24a43 in eds master (3.9.90+)
Created commit 584b3a7 in eds gnome-3-8 (3.8.6+)

Comment 2 Fedora Update System 2013-08-12 08:57:15 UTC
evolution-mapi-3.8.5-1.fc19,evolution-ews-3.8.5-1.fc19,evolution-3.8.5-2.fc19,evolution-data-server-3.8.5-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/evolution-mapi-3.8.5-1.fc19,evolution-ews-3.8.5-1.fc19,evolution-3.8.5-2.fc19,evolution-data-server-3.8.5-4.fc19

Comment 3 Fedora Update System 2013-08-12 17:57:58 UTC
Package evolution-mapi-3.8.5-1.fc19, evolution-ews-3.8.5-1.fc19, evolution-3.8.5-2.fc19, evolution-data-server-3.8.5-4.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing evolution-mapi-3.8.5-1.fc19 evolution-ews-3.8.5-1.fc19 evolution-3.8.5-2.fc19 evolution-data-server-3.8.5-4.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-14647/evolution-mapi-3.8.5-1.fc19,evolution-ews-3.8.5-1.fc19,evolution-3.8.5-2.fc19,evolution-data-server-3.8.5-4.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-08-15 02:57:02 UTC
evolution-mapi-3.8.5-1.fc19, evolution-ews-3.8.5-1.fc19, evolution-3.8.5-2.fc19, evolution-data-server-3.8.5-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.