# Debugging connection issue with Gramps Web Sync Addon (v1.3.5) on Ubuntu 24.04.3 LTS

**URL:** https://gramps.discourse.group/t/debugging-connection-issue-with-gramps-web-sync-addon-v1-3-5-on-ubuntu-24-04-3-lts/8815
**Category:** Gramps Web
**Tags:** sync\_tool
**Created:** [November 15, 2025, 10:20pm UTC](https://gramps.discourse.group/t/debugging-connection-issue-with-gramps-web-sync-addon-v1-3-5-on-ubuntu-24-04-3-lts/8815 "2025-11-15T22:20:00Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![akhemani](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@akhemani](https://gramps.discourse.group/u/akhemani)
#### Post date: [November 15, 2025, 10:20pm UTC](https://gramps.discourse.group/t/debugging-connection-issue-with-gramps-web-sync-addon-v1-3-5-on-ubuntu-24-04-3-lts/8815/1 "2025-11-15T22:20:01Z")

</div>

Hello there.

Assuming this is the right place to post a question for Gramps Web Sync Add-on…

I am encountering an AppArmor access denied error when attempting to connect to Gramps Web using the Gramps Web Sync Add-on.

I was curious, does the installation of the add-on or Gramps suppose to automatically modify the necessary AppArmor profiles, or is there a required post-installation step (by me) to enable proper sync functionality?

Thanks in advance

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*Error from Add-on\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

```python
190447: ERROR: grampsapp.py: line 187: Unhandled exception
Traceback (most recent call last):
File “/home/akhemani/snap/gramps/11/.local/share/gramps/gramps60/plugins/GrampsWebSync/grampswebsync.py”, line 255, in prepare
self.save_credentials()
File “/home/akhemani/snap/gramps/11/.local/share/gramps/gramps60/plugins/GrampsWebSync/grampswebsync.py”, line 574, in save_credentials
set_password(url, username, password)
File “/home/akhemani/snap/gramps/11/.local/share/gramps/gramps60/plugins/GrampsWebSync/grampswebsync.py”, line 94, in set_password
keyring.set_password(service, username, password)
File “/snap/gramps/11/usr/lib/python3/dist-packages/keyring/core.py”, line 61, in set_password
get_keyring().set_password(service_name, username, password)
File “/snap/gramps/11/usr/lib/python3/dist-packages/keyring/backends/SecretService.py”, line 87, in set_password
collection = self.get_preferred_collection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/snap/gramps/11/usr/lib/python3/dist-packages/keyring/backends/SecretService.py”, line 61, in get_preferred_collection
collection = secretstorage.get_default_collection(bus)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/snap/gramps/11/usr/lib/python3/dist-packages/secretstorage/collection.py”, line 177, in get_default_collection
return Collection(connection)
^^^^^^^^^^^^^^^^^^^^^^
File “/snap/gramps/11/usr/lib/python3/dist-packages/secretstorage/collection.py”, line 45, in **init**
self.\_collection.get_property(‘Label’)
File “/snap/gramps/11/usr/lib/python3/dist-packages/secretstorage/util.py”, line 67, in get_property
(signature, value), = self.send_and_get_reply(msg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/snap/gramps/11/usr/lib/python3/dist-packages/secretstorage/util.py”, line 48, in send_and_get_reply
raise DBusErrorResponse(resp_msg)
jeepney.wrappers.DBusErrorResponse: \[org.freedesktop.DBus.Error.AccessDenied\] (‘An AppArmor policy prevents this sender from sending this message to this recipient; type=“method_call”, sender=“:1.422” (uid=1000 pid=31942 comm=“python3 /snap/gramps/11/bin/gramps” label=“snap.gramps.gramps (enforce)”) interface=“org.freedesktop.DBus.Properties” member=“Get” error name=“(unset)” requested_reply=“0” destination=“org.freedesktop.secrets” (uid=1000 pid=1982 comm=“/usr/bin/gnome-keyring-daemon --foreground --compo” label=“unconfined”)’,)

```

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*Error from Add-on\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

\*\*\*\*\*\*\*\*\*\ ***Gramps and Gramp Web version info** \*\*\*\*\*\*\*\*\*\*

Gramps version on Ubuntu is 6.0.6-4

Gramps web version paste is below

Gramps 6.0.4  
Gramps Web API 3.3.0  
Gramps Web Frontend 25.9.0  
Gramps QL 0.4.0  
Sifts 1.0.0  
locale: en  
multi-tree: false  
task queue: true  
OCR: true  
chat: false

\*\*\*\*\*\*\*\*\*\ ***Gramps and Gramp Web version info** \*\*\*\*\*\*\*\*\*\*

---

<div class="post-metadata">

### Author: ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)
#### Post date: [November 16, 2025, 12:39am UTC](https://gramps.discourse.group/t/debugging-connection-issue-with-gramps-web-sync-addon-v1-3-5-on-ubuntu-24-04-3-lts/8815/2 "2025-11-16T00:39:38Z")

</div>

> [@akhemani](#):
>
> is there a required post-installation step (by me) to enable proper sync functionality?

To allow access to the system keyring from within a snap, type:

```python
sudo snap connect gramps:password-manager-service

```

You can list all connections enabled for Gramps by typing:

```python
snap connections gramps

```

---

<div class="post-metadata">

### Author: ![akhemani](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@akhemani](https://gramps.discourse.group/u/akhemani)
#### Post date: [November 16, 2025, 1:53am UTC](https://gramps.discourse.group/t/debugging-connection-issue-with-gramps-web-sync-addon-v1-3-5-on-ubuntu-24-04-3-lts/8815/3 "2025-11-16T01:53:38Z")

</div>

Hmmm… Am I missing that service with the way I have installed this or am I just missing something :). Thank you

```python
akhemani@akhemani-Inspiron-5402:/$ sudo snap connect gramps:password-manager-service
error: snap "gramps" has no plug named "password-manager-service"
akhemani@akhemani-Inspiron-5402:/$ snap connections gramps
Interface Plug Slot Notes
content[gnome-46-2404] gramps:gnome-46-2404 gnome-46-2404:gnome-46-2404 -
content[gpu-2404] gramps:gpu-2404 mesa-2404:gpu-2404 -
content[gtk-3-themes] gramps:gtk-3-themes gtk-common-themes:gtk-3-themes -
content gramps:hunspell-dictionaries - -
content[icon-themes] gramps:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] gramps:sound-themes gtk-common-themes:sound-themes -
dbus - gramps:dbus-svc -
desktop gramps:desktop :desktop -
desktop-legacy gramps:desktop-legacy :desktop-legacy -
gsettings gramps:gsettings :gsettings -
home gramps:home :home -
network gramps:network :network -
network-status gramps:network-status :network-status -
opengl gramps:opengl :opengl -
removable-media gramps:removable-media - -
wayland gramps:wayland :wayland -
x11 gramps:x11 :x11 -

```

---

<div class="post-metadata">

### Author: ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)
#### Post date: [November 16, 2025, 3:04pm UTC](https://gramps.discourse.group/t/debugging-connection-issue-with-gramps-web-sync-addon-v1-3-5-on-ubuntu-24-04-3-lts/8815/4 "2025-11-16T15:04:48Z")

</div>

I have uploaded 6.0.6-5 to the edge channel which includes the missing password-manager-service plug. The size has increased because I added the OpenGL python bindings for testing.

---

<div class="post-metadata">

### Author: ![DavidMStraub](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davidmstraub/32/7_2.png) [@DavidMStraub](https://gramps.discourse.group/u/DavidMStraub)
#### Post date: [November 16, 2025, 3:46pm UTC](https://gramps.discourse.group/t/debugging-connection-issue-with-gramps-web-sync-addon-v1-3-5-on-ubuntu-24-04-3-lts/8815/5 "2025-11-16T15:46:46Z")

</div>

Thanks @Nick-Hall! With this updated image, is there still an additional step we should document in [Synchronize with Gramps - Gramps Web](https://www.grampsweb.org/administration/sync/) for the Gramps Snap + Sync Addon combination?

---

<div class="post-metadata">

### Author: ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)
#### Post date: [November 17, 2025, 10:23am UTC](https://gramps.discourse.group/t/debugging-connection-issue-with-gramps-web-sync-addon-v1-3-5-on-ubuntu-24-04-3-lts/8815/6 "2025-11-17T10:23:37Z")

</div>

The only required step should be typing:

```python
sudo snap connect gramps:password-manager-service

```

It is possible that I have missed out a dependency though, so I’ll wait until this version is tested before promoting it to the stable channel.

---

<div class="post-metadata">

### Author: ![akhemani](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@akhemani](https://gramps.discourse.group/u/akhemani)
#### Post date: [November 17, 2025, 3:41pm UTC](https://gramps.discourse.group/t/debugging-connection-issue-with-gramps-web-sync-addon-v1-3-5-on-ubuntu-24-04-3-lts/8815/7 "2025-11-17T15:41:26Z")

</div>

Hi there.. I think\* this is working. I was able to download/install .5 w/ the latest web sync and make a connection and upload some\* stuff. I was able to verify the password service running and was able to use the sudo snap connect…. command to give permission and etc.

I am getting an error (why I said think\* and some\*) when I specifically move images, but I am pretty sure it’s my config stuff since I am moving images/env from a windows gramps client to a ubuntu gramps client and probably not doing it right. I will open a separate thread if I can’t figure it out.

Thank you
