Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate entries in Evolution #21

Open
mehdisadeghi opened this issue Jun 9, 2020 · 2 comments
Open

Duplicate entries in Evolution #21

mehdisadeghi opened this issue Jun 9, 2020 · 2 comments

Comments

@mehdisadeghi
Copy link

Hi there,

I am using DecSync on Android and Arch Linux. I use Syncthing for two-way synchronization and it works. However, on Evolution side I have duplicates which do not follow the changes on Android. I guess those are perhaps from my early experiments trying to run DecSync. I checked the decsync folder and there are multiple entries for Evolution such as:

funbox-Evolution-33199  funbox-Evolution-65237 funbox-Evolution-50704

Should I know which folder is relevant and which one I can delete?

Thanks in advance for any tips.

@39aldo39
Copy link
Owner

Yes, those entries are from old installations. Currently, every time you add a collection in Evolution a new unique number is generated. It is a workaround for a technical issue, but I should fix it.

You can delete any folder that is not the latest one. You can identify it by looking at the size (the largest is the latest one) or the modification date. If you want to be very certain, you could also execute grep -r 'AppId=' ~/.config/evolution/sources to see all relevant appIds.

I am also working on a better way to be able to remove any obsolete apps.

@mehdisadeghi
Copy link
Author

Thanks for explaining. From all the sub-folders inside the decsync path, I removed duplicates. In fact, I removed everything and readded them, it causes no harm.

I'll add only one point of confustion that might help future visitors (often that future visitor is my future self!). Even though I closed evolution, I noticed that the deleted folders reappear after a few seconds. At first I thought Syncthing recreates them, so I wasted much time and disabled Syncthing just to see that they still reappear! Finally, I noticed that even though Evolution is closed, the data server and a bunch of other user session systemd units are running, disabling them fixed the issue. In my case it was the address factory:

$ systemctl --user stop evolution-addressbook-factory.service

It is a workaround for a technical issue, but I should fix it.

@39aldo39 please feel free to close the issue, unless you want to fix something. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants