mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[GH-ISSUE #3821] WebUI does not display contacts #1921
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1921
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @danielfdickinson on GitHub (Nov 30, 2025).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3821
Impacted versions
Steps to reproduce
Current behaviour
No contacts are displayed (blank except for the search)
Expected behavior
Contacts should display in the web app
Additional notes
This has been true for several versions, but I didn't try it when I first installed, so am not sure at what version it stopped working, or if it ever worked on my setup.
@tonioo commented on GitHub (Dec 2, 2025):
@danielfdickinson You mean that you have an existing caldav collection that you manage from another client like TB? And it does not display in Modoboa?
@danielfdickinson commented on GitHub (Dec 3, 2025):
@tonioo The caldav collection works well with the fix in 2.6.4, but the CardDAV collection (contacts) does not display in Modoboa but I can manage from Thunderbird on Linux or Windows (I keep a Windows system around in case of compatibility issues) and Google Contacts through DavX^5 on Android.
@tonioo commented on GitHub (Dec 3, 2025):
@danielfdickinson Indeed, right now Modoboa only support one collection per user, and it always called "contacts". By default, contacts are only stored in the database, and they are not exported to any CardDAV collection.
Modoboa will create this collection when a user enables the "Synchronize Address book using CardDAV" from his account settings (Contacts section). Then, it will keep the synchronization between the database and the CardDAV collection up-to-date.
The only scenario which is not supported at the moment is the one you describe. Let's say you have an existing CardDAV collection called "contacts", Modoboa won't be able to synchronize it with the database... Modoboa must be the creator of the collection in order to make things work as expected.
That's something we can obviously imrove.
@danielfdickinson commented on GitHub (Dec 3, 2025):
@tonioo Thank you for that information. That would definitely explains what I have been seeing. I think with this knowledge I can get make changes to get what I want.
@danielfdickinson commented on GitHub (Dec 5, 2025):
@tonioo It appears this isn't working quite properly (or I need to delete and recreate the user, which would lose it's mailbox and settings, which is rather a non-starter).
I tried the following:
/srv/radicale/collections/collection-root/<user>/contacts/srv/radicale/collections/collection-root/<user>/contacts- it had not been recreated./srv/radicale/...- the collection had not been created.In
/var/log/supervisor/...radicale-stdout.../:I will now try with a different user account for which I have not previously created a contacts collection and report back.
@danielfdickinson commented on GitHub (Dec 5, 2025):
With a user with no previous contacts and starting with CardDAV sync disabled:
Is there a way to get the contacts working with the other user (the failed one)?
@tonioo commented on GitHub (Dec 12, 2025):
@danielfdickinson Could you try the small fix I pushed? (with the same procedure that you ran for your existing user)
It's far from perfect but it should unblock you, and I'll work on something smarter.
@danielfdickinson commented on GitHub (Dec 13, 2025):
@tonioo I will try tomorrow, and let you know. Thank you for looking into it!
@danielfdickinson commented on GitHub (Dec 27, 2025):
@tonioo Sorry. I got pulled off on other directions. Do you need me to test this?
@tonioo commented on GitHub (Jan 6, 2026):
@danielfdickinson Yes please
@danielfdickinson commented on GitHub (Feb 17, 2026):
I can confirm this resolves the issue for the original account that experienced it.