Documentation for Postgres may be missing something #561
Replies: 3 comments
-
Hi, how did you create the tree? You are using the single-tree setup (since you're specifying To create a new Postgres-based tree to use with the single-tree setup, you can directly use Gramps CLI, see https://gramps-project.org/wiki/index.php/Addon:PostgreSQL. The automatic creation of a new tree by simply providing a non-existing tree name at startup is a convenience feature for simplified setups, it doesn't support Postgres. |
Beta Was this translation helpful? Give feedback.
-
I'll move this do a discussion in the backend repo. |
Beta Was this translation helpful? Give feedback.
-
Thanks, I've filed a PR to fix the broken link. :) On the Addon:PostgreSQL page I don't actually see any gramps cli commands mentioned? I'm a web developer so I'm very familiar with setting up this kind of thing, however I'm totally new to Gramps. |
Beta Was this translation helpful? Give feedback.
-
I've tried setting up a new Gramps docker deployment, and wish to use Postgres to better support a rather large database size.
I'm struggling to have it actually use Postgres as the database backend however, and it seems like the documentation might be missing something.
It would be super helpful if there was an example docker file added here to have a known good working setup to start from, rather than following instructions on how to modify it?
https://github.com/gramps-project/gramps-web-docs/tree/main/examples
Also the Postgres page links to https://www.grampsweb.org/multi-tree/ which is a 404.
My specific issue is it's not even trying to use postgres at all, no errors in the logs, no tell tale signs, it just keeps using sqlite.
docker-compose.yml (minimal)
Relevant part of the Log:
Beta Was this translation helpful? Give feedback.
All reactions