I attempted to connect with gramps web sync just before collecting this log file, there appears to be no mention of the connection in the logs however.
This stands out in the log but I can’t say for sure because I work only with SQLite. As a test you could use different Gramps Family Tree which is stored using SQLite as opposed to BSDDB.
grampsweb | ValueError: Database backend 'bsddb' of tree 'Gramps Web' not supported.
Gramps Web is up and appears functional. I can go to the various tree types, look at different people and I have added a test person.
Where should I start to diagnose the error? One of the first things I want to do is use a sample tree, if one exists, to see if it’s a import file issue.
Suprised that while not supported I can see everyone, but I have recently noticed some issues with it that was going to be my next port of call. But this could be one and the same issue with unsupported DB type. I have one person who married, had kids, divorced and remarried. I see this person twice in the “Relationship Graph”. Not sure if this is intended.
I removed all Gramps volumes on Docker to start fresh. Once passed the first time run screen I added a single person through Gramps Web to an empty database, I did not import anything. On Desktop I loaded in the example.gramps file provided with Gramps and attempted to use the gramps web sync.
I am still faced with the same error:
Server authorization error: insufficient permissions.
The gramps web logs are better this time, having not used my own, seemingly broken, database. Still not indication there was a connection attempt or anything that I can use to trace my error.
My nginx-proxy logs also show nothing for the attempted connection using gramps web sync, they do log when I connect to gramps web via a browser. Is there any other means of debugging this?
I’m not seeing anything come up in docker compose logs grampsweb or docker compose logs nginx-proxy. Could something else be blocking the access before it reaches the server?
I also tried docker compose up (without -d) and still not showing anything in logs when i try to connect via gramps web sync.
No, not needed, because the issue is most likely on the desktop side. I am not using Windows, which makes it difficult. Which version of the addon are you running?
Do you still get Server authorization error: insufficient permissions. or a different error? As you can see here this error can only happen if the server responds with 403, and if it does respond, it means you reached it and something must show up in the logs if you enabled debug logging.
Please also look at the nginx-proxy logs, if you’re using that.
I have looked at the proxy logs and don’t see anything, I have looking into enabling more logging on nginx but still don’t see the connection attempts. I’m also not versed in nginx so am still looking into the logging.
I do see a response from a test container and from grampsweb itself, just not the 403 error.
helloworld | [::ffff:172.19.0.4]:44146: response:200
grampsweb | [2024-12-05 09:29:25 +0000] [14] [DEBUG] GET /
grampsweb | [2024-12-05 09:29:25 +0000] [13] [DEBUG] GET /lang/en.json
grampsweb | [2024-12-05 09:29:25 +0000] [14] [DEBUG] GET /api/metadata/
grampsweb | [2024-12-05 09:29:25 +0000] [13] [DEBUG] GET /manifest.json
grampsweb | [2024-12-05 09:29:25 +0000] [13] [DEBUG] POST /api/translations/en
grampsweb | [2024-12-05 09:29:25 +0000] [14] [DEBUG] GET /api/users/-/
grampsweb | [2024-12-05 09:29:25 +0000] [14] [DEBUG] GET /api/search/
grampsweb | [2024-12-05 09:29:25 +0000] [13] [DEBUG] GET /api/events/
grampsweb | [2024-12-05 09:29:25 +0000] [14] [DEBUG] GET /api/sources/
grampsweb | [2024-12-05 09:29:27 +0000] [14] [DEBUG] GET /sw.js