bayang / jelu

Self hosted read and to-read list book tracker
MIT License
331 stars 13 forks source link

Data not persistent #121

Closed AlexGuld closed 3 months ago

AlexGuld commented 5 months ago

Hi, I'm experiencing that after the container has been rebooted, all data is lost. I'm asked to create first time user again and all books are gone.

I've created host volume and a db file is created.

What can I look at to get a clue as to what it's happening?

bayang commented 5 months ago

Well, does your compose file look like the one in the docs ? https://bayang.github.io/jelu-web/installation/docker/

Can you share yours here (only the jelu part) ?

AlexGuld commented 5 months ago

Yes this is the docker compose file I use

version: '3.3' services: jelu: image: wabayang/jelu container_name: jelu volumes:

And this is environment variables

image

On the host, which is windows 11, I can confirm that files are generated in the folders.

bayang commented 5 months ago

I don't know what could be wrong. What commends do you use to start and stop the container ? How do path beginning with tilde "~" are mapped on windows ? Is it well supported ? Maybe try to use windows path just to be sure.

AlexGuld commented 3 months ago

It helped to use full windows paths.