Ask Your Question

Evolution contacts lost after upgrading to Fedora 22

asked 2015-06-13 02:44:54 -0500

Matthew Cline gravatar image

After upgrading to Fedora 22 I lost the all of my Evolution contacts. The pre-upgrade backup I made wasn't any help, since even the backup didn't have any contacts files under the Evolution data directory.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-13 02:50:57 -0500

Matthew Cline gravatar image

updated 2015-06-18 11:38:42 -0500

This happened because before the upgrade some Evolution data was stored under $HOME/.local/share/evolution and some under $HOME/.config/evolution, while after the upgrade all of it is stored under the later directory (though I have no idea why Evolution didn't automatically migrate the files). The solution:

  1. Quit Evolution.
  2. Run evolution --force-shutdown to shutdown all of the Evolution background processes.
  3. Go to $HOME/.local/share/evolution/addressbook.
  4. Do find . -name contacts.db to get a list of all the contacts files.
  5. Copy them to the corresponding directories under $HOME/.config/evolution/addressbook
  6. Start Evolution again.

UPDATE: Looks like the reason for this was that I have the environmental variable XDG_DATA_HOME set to $HOME/.config, and Evolution was ignoring this before the upgrade. So if you had XDG_DATA_HOME pointing elsewhere then that's where you need to copy the contacts.db files.

edit flag offensive delete link more


OMG, will I have to do this dance for Thunderbird as well, if I upgrade to Fedora 22?

Federico gravatar imageFederico ( 2015-07-25 06:37:48 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-06-13 02:44:54 -0500

Seen: 247 times

Last updated: Jun 18 '15