Error on trying sync with self hosted carddav server #3

Open
opened 2026-02-11 16:36:10 +00:00 by CDPeter1957 · 15 comments
CDPeter1957 commented 2026-02-11 16:36:10 +00:00 (Migrated from github.com)

I use an ubuntu-homeserver (24.04) with an carddav-docker-container "Baikal". Connecting contactbridge from my UbuntuTouch-phone with it works fine, but syncing results in the following picture. Is there any solution available?

Image
I use an ubuntu-homeserver (24.04) with an carddav-docker-container "Baikal". Connecting contactbridge from my UbuntuTouch-phone with it works fine, but syncing results in the following picture. Is there any solution available? <img width="360" height="780" alt="Image" src="https://github.com/user-attachments/assets/9055db27-458f-447f-8e27-1ed01c2b55ae" />
berkersal commented 2026-03-26 00:34:58 +00:00 (Migrated from github.com)

I have the same issue trying to sync to my Stalwart instance.

I have the same issue trying to sync to my Stalwart instance.
CDPeter1957 commented 2026-03-27 12:35:25 +00:00 (Migrated from github.com)

I have the same issue trying to sync to my Stalwart instance.

I think, the author has no interest to invest time for this app, 😔

> I have the same issue trying to sync to my Stalwart instance. I think, the author has no interest to invest time for this app, 😔
brennoflavio commented 2026-03-27 15:33:37 +00:00 (Migrated from github.com)

I have the same issue trying to sync to my Stalwart instance.

I think, the author has no interest to invest time for this app, 😔

Hey, that's untrue, and not nice to say in a public issue board. As you know, the project is offered free of charge, open for contributions. I only have limited amount of time to work for free, which was not the case in the recent months.

Let's focus the issue board on discussing issues please.

> > I have the same issue trying to sync to my Stalwart instance. > > I think, the author has no interest to invest time for this app, 😔 Hey, that's untrue, and not nice to say in a public issue board. As you know, the project is offered free of charge, open for contributions. I only have limited amount of time to work for free, which was not the case in the recent months. Let's focus the issue board on discussing issues please.
CDPeter1957 commented 2026-03-27 16:10:01 +00:00 (Migrated from github.com)

I understand your statement, sorry for my impatience.

I understand your statement, sorry for my impatience.
brennoflavio commented 2026-03-29 20:13:56 +00:00 (Migrated from github.com)

Hey, I added an option in the app to copy the logs in this screen. Mind updating, syncing, copying logs and sharing them here so I can debug? It's possible that its a upstream issue, reading logs should help defining that

Hey, I added an option in the app to copy the logs in this screen. Mind updating, syncing, copying logs and sharing them here so I can debug? It's possible that its a upstream issue, reading logs should help defining that
CDPeter1957 commented 2026-03-30 10:21:13 +00:00 (Migrated from github.com)

Hey, I added an option in the app to copy the logs in this screen. Mind updating, syncing, copying logs and sharing them here so I can debug? It's possible that its a upstream issue, reading logs should help defining that

Thank you, I will do that but the app-update isn't available in the open store until now.

> Hey, I added an option in the app to copy the logs in this screen. Mind updating, syncing, copying logs and sharing them here so I can debug? It's possible that its a upstream issue, reading logs should help defining that Thank you, I will do that but the app-update isn't available in the open store until now.
brennoflavio commented 2026-03-30 13:46:57 +00:00 (Migrated from github.com)

We need to wait for UT Openstore steam to publish it. Its a manual process

We need to wait for UT Openstore steam to publish it. Its a manual process
CDPeter1957 commented 2026-04-01 14:52:09 +00:00 (Migrated from github.com)

Hi, here is the copy of the log.

MeinAdressbuch

Last sync: 2026-02-27T10:33:19

Type: first_time

Status: Failed

Message: create_server_configuration failed with error: [INFO] addressbook: configuring datastore with sync mode 'two-way'

[INFO] calendar: configuring datastore with sync mode 'two-way'

[INFO] memo: configuring datastore with sync mode 'two-way'

[INFO] todo: configuring datastore with sync mode 'two-way'

libsecret: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/secrets/collection/login”

[ERROR] sync password for target-config@fcd2769: saving password 'user=CDPeter server=192.168.2.52:8220/dav.php/addressbooks/CDPeter/default/' in GNOME keyring: Object does not exist at path “/org/freedesktop/secrets/collection/login”

Hi, here is the copy of the log. MeinAdressbuch Last sync: 2026-02-27T10:33:19 Type: first_time Status: Failed Message: create_server_configuration failed with error: [INFO] addressbook: configuring datastore with sync mode 'two-way' [INFO] calendar: configuring datastore with sync mode 'two-way' [INFO] memo: configuring datastore with sync mode 'two-way' [INFO] todo: configuring datastore with sync mode 'two-way' libsecret: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/secrets/collection/login” [ERROR] sync password for target-config@fcd2769: saving password 'user=CDPeter server=[192.168.2.52:8220/dav.php/addressbooks/CDPeter/default](file:///data/user/0/com.trtf.blue/cache/192.168.2.52:8220/dav.php/addressbooks/CDPeter/default)/' in GNOME keyring: Object does not exist at path “/org/freedesktop/secrets/collection/login”
brennoflavio commented 2026-04-06 23:00:41 +00:00 (Migrated from github.com)

Looks like a upstream (syncevolution, keyring) error. A few follow up questions:

  • Do you use your device without a password?
  • In your phone, if you run ps aux | grep gnome-keyring-daemon whats the result?
  • Also run this journalctl -b /usr/bin/gnome-keyring-daemon

It looks like the keyring is not initialized in your device, so syncevolution cannot store the password to use it to synchronize later

Looks like a upstream (syncevolution, keyring) error. A few follow up questions: - Do you use your device without a password? - In your phone, if you run `ps aux | grep gnome-keyring-daemon` whats the result? - Also run this `journalctl -b /usr/bin/gnome-keyring-daemon` It looks like the keyring is not initialized in your device, so syncevolution cannot store the password to use it to synchronize later
CDPeter1957 commented 2026-04-07 08:25:22 +00:00 (Migrated from github.com)

HI, you're right - I use my phone without a password because it's only at my home.
The first command results with:

phablet 2827 0.0 0.1 436888 5188 ? SLsl Mär23 0:01 /usr/bin/gnome-keyring-daemon --foreground --components=pkcs11,secrets --control-directory=/run/user/32011/keyring
phablet 72271 0.0 0.0 54384 2000 pts/0 S+ 09:50 0:00 grep --color=auto gnome-keyring-daemon

The result of the second command I send it with this comment as a txt-file.

journal.txt

HI, you're right - I use my phone without a password because it's only at my home. The first command results with: phablet 2827 0.0 0.1 436888 5188 ? SLsl Mär23 0:01 /usr/bin/gnome-keyring-daemon --foreground --components=pkcs11,secrets --control-directory=/run/user/32011/keyring phablet 72271 0.0 0.0 54384 2000 pts/0 S+ 09:50 0:00 grep --color=auto gnome-keyring-daemon The result of the second command I send it with this comment as a txt-file. [journal.txt](https://github.com/user-attachments/files/26531325/journal.txt)
brennoflavio commented 2026-04-08 19:45:32 +00:00 (Migrated from github.com)

That should be it. Problem is that I'm not sure if the OS provides a reliable way for an app to know if the keyring is properly setup, so we can add a fallback to use insecure password handling in those cases. While this is not sorted out, pretty sure if you setup a lock screen the app should work

That should be it. Problem is that I'm not sure if the OS provides a reliable way for an app to know if the keyring is properly setup, so we can add a fallback to use insecure password handling in those cases. While this is not sorted out, pretty sure if you setup a lock screen the app should work
CDPeter1957 commented 2026-04-09 12:54:28 +00:00 (Migrated from github.com)

You're absolutely right!!!
I've made your recommended solution and now your app runs without any problems. All my contacts are now available on my phone.
Many thanks for spending your time und you're good work, for the other apps on Ubuntu Touch, too.
Grettings from germany
Peter

You're absolutely right!!! I've made your recommended solution and now your app runs without any problems. All my contacts are now available on my phone. Many thanks for spending your time und you're good work, for the other apps on Ubuntu Touch, too. Grettings from germany Peter
berkersal commented 2026-04-09 18:32:48 +00:00 (Migrated from github.com)

Hello,
I already have a lockscreen with a password set up. :(
Is there any way I can help with troubleshooting?
Thanks

Hello, I already have a lockscreen with a password set up. :( Is there any way I can help with troubleshooting? Thanks
brennoflavio commented 2026-04-09 18:49:30 +00:00 (Migrated from github.com)

@berkersal your error might be different. Follow the instructions in this thread to copy the logs and paste it here so I can take a look

@berkersal your error might be different. Follow the instructions in this thread to copy the logs and paste it here so I can take a look
berkersal commented 2026-04-09 20:27:07 +00:00 (Migrated from github.com)

I have just updated the app to retrieve the logs.
Opened the app, clicked on "Sync Servers" and it just worked 😅.
Sorry to bother, amazing apps, thanks for all 👍🏼

I have just updated the app to retrieve the logs. Opened the app, clicked on "Sync Servers" and it just worked 😅. Sorry to bother, amazing apps, thanks for all 👍🏼
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
brennoflavio/contactbridge#3
No description provided.