Calibre-web DB Location is not Valid

Hi there :wave:

I’m trying to spin up a calibre-web instance on my CasaOS install, but I haven’t been able to get past setting up the DB directory. No matter what dir I choose, I get the error message “DB Location is not Valid, Please Enter Correct Path”

Is this a file permissions thing? I have read elsewhere that the .db file itself needs to alre exist, but that doesn’t seem to be the case.

I’m kind of new to self hosting, and am running a raspberry Pi 5 on Debian.

I don’t know if I’m missing important information but I will provide it if needed.

Bump to just say that after further searches, I have learnt that I need to have an existing calibre db. One can’t simply create one using calibre-web. I don’t have enough docker knowledge yet to actually link a calibre container to a calibre-web one.

Hey !

You need to upload a library, I mean “metadata.db” file in calibre web “Books” folder.

You will find the “Books” folder in this path : /DATA/Media/Books
=> Calibre Web creates a “Books” folder in Media.

Then you have to import all your ebooks in this path.

I did the same steps on this video, you can watch from 5:11 : https://www.youtube.com/watch?v=2qPlTIM_IvU

I hope, it will help you

Greetings

Ok I just sorted this, there is a permissions issue with the Casaos app, basically the UID 1000 in the docker is for user “abc” and the UID 1000 is “casaos” on the outside, so when you add folder permissions on the /media/books folder docker doesn’t like it as the users dont align.

the fix is to run the following within the docker terminal:

sudo usermod -l casaos abc

and

sudo groupmod -n casaos abc