Closed Corepex closed 1 week ago
I also tried to switch an existing setup to a multi-tree setup but i couldn't figure out how to create a tree. EVEN with the official API docs from https://gramps-project.github.io/gramps-web-api/#/.
I provided the documented options via
query
and/orbody
(as json). But the only thing i get back are the details from the existing tree without the creation of the new one ... how can i proceed here?
@DavidMStraub do you have any advice for the second part?
You need to POST
to /api/trees/
, you will get back the details of the new tree.
yeah thats what the docs say. But it doesnt work for me ... also couldn't find something in the logs ...
So, it looks like 15e7...
is a new directory that was created in your Gramps home. Where is the problem?
Maybe you are confused by the fact that you have multiple trees that are all called "Gramps Web"? gramps -l
could help.
Maybe you are confused by the fact that you have multiple trees that are all called "Gramps Web"?
gramps -l
could help.
I checked that with python3 -m gramps_webapi tree list
. Nothing was created or changed. The 15e7
tree is the default one I created when setting up gramps-web ...
Besides that, it's a bit weird that if I create a tree with the name testtree
, it returns me another tree with a totally different name. Or?
Yes 🫤
But please add to an existing ticket in the web API repo or create a new one if needed, here it will get lost.
IF
... I take the following docker-compose file, as suggested in the docs, as a template and change the
GRAMPSWEB_TREE
option to*
as suggested hereI get the following error in the logs:
tree is required when multi-tree support is enabled.
Note:
I also tried to switch an existing setup to a multi-tree setup but i couldn't figure out how to create a tree. EVEN with the official API docs from https://gramps-project.github.io/gramps-web-api/#/.
I provided the documented options via
query
and/orbody
(as json). But the only thing i get back are the details from the existing tree without the creation of the new one ... how can i proceed here?