[GH-ISSUE #2440] CardDAV does not hold to the yes state. #1600

Closed
opened 2026-02-27 11:18:01 +03:00 by kerem · 9 comments
Owner

Originally created by @KrystianPlichta on GitHub (Jan 18, 2022).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/2440

Impacted versions

  • OS Type: Debian
  • OS Version: 10
  • Database Type: MySQL
  • Database version: 10.3.31-MariaDB
  • Modoboa: 1.17.0
  • installer used: Yes
  • Webserver: Nginx
  • Radicale management | 1.5.1
  • Contacts | 0.8.2

Steps to reproduce

Go to SETTINGS >> PREFERENCES >> CONTACTS >> Synchonize address book using CardDAV > turn from No to Yes.

Current behavior

radiobutton after switching to the Yes state and clicking Save and after refreshing the page it returns to the No state.

Expected behavior

radiobutton switches to the yes state and after clicking save the address book synchronization works.

Video/Screenshot link

This is what i see in console:

Inkederrors carddav

UWSGI LOG:
POST /user/preferences/ => generated 870 bytes in 146 msecs (HTTP/1.1 500) 8 headers in 314 bytes (1 switches on core 0)

Originally created by @KrystianPlichta on GitHub (Jan 18, 2022). Original GitHub issue: https://github.com/modoboa/modoboa/issues/2440 # Impacted versions * OS Type: Debian * OS Version: 10 * Database Type: MySQL * Database version: 10.3.31-MariaDB * Modoboa: 1.17.0 * installer used: Yes * Webserver: Nginx * Radicale management | 1.5.1 * Contacts | 0.8.2 # Steps to reproduce Go to SETTINGS >> PREFERENCES >> CONTACTS >> Synchonize address book using CardDAV > turn from No to Yes. # Current behavior radiobutton after switching to the Yes state and clicking Save and after refreshing the page it returns to the No state. # Expected behavior radiobutton switches to the yes state and after clicking save the address book synchronization works. # Video/Screenshot link This is what i see in console: ![Inkederrors carddav](https://user-images.githubusercontent.com/45468944/149904490-270abcd4-90c7-4798-8d9a-1c6a20098adb.jpg) UWSGI LOG: POST /user/preferences/ => generated 870 bytes in 146 msecs (HTTP/1.1 500) 8 headers in 314 bytes (1 switches on core 0)
kerem 2026-02-27 11:18:01 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@tonioo commented on GitHub (Jan 18, 2022):

@KrystianPlichta Can you set DEBUG to True inside settings.py file, reload uwsgi and try again? You should get more information.

<!-- gh-comment-id:1015351722 --> @tonioo commented on GitHub (Jan 18, 2022): @KrystianPlichta Can you set DEBUG to True inside settings.py file, reload uwsgi and try again? You should get more information.
Author
Owner

@KrystianPlichta commented on GitHub (Jan 18, 2022):

I set debug to true and reset uwsgi but nothing changed.

<!-- gh-comment-id:1015426617 --> @KrystianPlichta commented on GitHub (Jan 18, 2022): I set debug to true and reset uwsgi but nothing changed.
Author
Owner

@tonioo commented on GitHub (Jan 19, 2022):

You need to look at the network tab when you javascript debug console is opened, check the response of the request which returns with a 500 error code

<!-- gh-comment-id:1016141586 --> @tonioo commented on GitHub (Jan 19, 2022): You need to look at the network tab when you javascript debug console is opened, check the response of the request which returns with a 500 error code
Author
Owner

@KrystianPlichta commented on GitHub (Jan 19, 2022):

Here is what I found in the debug console:

https://pastebin.com/ceDnqpVv

<!-- gh-comment-id:1016209066 --> @KrystianPlichta commented on GitHub (Jan 19, 2022): Here is what I found in the debug console: https://pastebin.com/ceDnqpVv
Author
Owner

@tonioo commented on GitHub (Jan 19, 2022):

@KrystianPlichta thanks. Did you install the contacts plugin separately or was it installed by the installer?

<!-- gh-comment-id:1016441156 --> @tonioo commented on GitHub (Jan 19, 2022): @KrystianPlichta thanks. Did you install the contacts plugin separately or was it installed by the installer?
Author
Owner

@KrystianPlichta commented on GitHub (Jan 19, 2022):

Installed by installer

<!-- gh-comment-id:1016553569 --> @KrystianPlichta commented on GitHub (Jan 19, 2022): Installed by installer
Author
Owner

@KrystianPlichta commented on GitHub (Jan 26, 2022):

I run carddav synchronization option by changing from false to true in database, after entering contacts and clicking synchronize I see the following error.

https://pastebin.com/ZPHUfYDY

I also tried reinstalling modoboa-contacts and radicale but nothing changed

<!-- gh-comment-id:1021939256 --> @KrystianPlichta commented on GitHub (Jan 26, 2022): I run carddav synchronization option by changing from false to true in database, after entering contacts and clicking synchronize I see the following error. https://pastebin.com/ZPHUfYDY I also tried reinstalling modoboa-contacts and radicale but nothing changed
Author
Owner

@amaciej commented on GitHub (Feb 10, 2022):

I have a similar problem. Does anyone know the solution ?

<!-- gh-comment-id:1034985643 --> @amaciej commented on GitHub (Feb 10, 2022): I have a similar problem. Does anyone know the solution ?
Author
Owner

@stale[bot] commented on GitHub (Apr 11, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:1095673773 --> @stale[bot] commented on GitHub (Apr 11, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1600
No description provided.