Failed to set up Gramps Web on own server (beginner)

I am absolutely new to servers, followed the minimal wiki here. I have successfully set up Docker.desktop on my machine. I could run it and was able to pull the Gramps image using the default docker-compose.yml in a custom directory. Docker pulled the necessary data and ended up with three processes running. It looks ok:

PS D:\zac\Gramps Web> docker compose up -d
[+] Running 3/3
✔ Container grampsweb_redis Running 0.0s
✔ Container grampsweb-grampsweb-1 Running 0.0s
✔ Container grampsweb_celery Running 0.0s

Yet the first-run wizard has not appeared and I could not define neither user nor tree. I have no idea how to advance from here. How should I provide my Gramps data? Where should I put what tree file? Should I simply copy an exported .gpkg file to where I put the .yaml file? For the moment, I only want to use Gramps Web it locally.

(Windows 11 Pro, Docker version 29.1.3, build f52814d)

The first-run wizard should be at http://localhost:80 with this compose file. If it isn’t, please post the output of `docker ps`.

How should I provide my Gramps data?

1 Like

That helped, thank you David!

Regarding syncing, can it be ensured that sync happens only one way (from desktop to web, but never the other way)?

Minor issue: Docker won’t import an XML file unless it is explicitly named something.gramps. When it is named something.xml (with the same plaintext contents), it complains about the format not being valid. I guess that it assumes format based on extension without peeking into it, but then why not assume in case of .xml?

Yes, the sync addon has a “sync mode” selector.

Minor issue: Docker won’t import an XML file unless it is explicitly named something.gramps. When it is named something.xml (with the same plaintext contents), it complains about the format not being valid. I guess that it assumes format based on extension without peeking into it, but then why not assume in case of .xml?

Short non-answer: that’s the way the Gramps library handles it, which is used underneath.

1 Like