janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
13.13k stars 1.4k forks source link

No app.db file created #3224

Open AsifMian opened 1 week ago

AsifMian commented 1 week ago

Hello i am trying to run multiple instances with different DBS and following this wiki:

https://github.com/janeczku/calibre-web/wiki/FAQ#how-to-handle-multiple-calibre-libraries

I am running calibre-web inside the virtual env on windows, but on saving settings no app.db file was created so I just copied the metadata.db (already configured db file) and renamed it to metadata1.db and now if start the server with command with

cps -p path to db_inside_the_venv

its not working.

Can anyone help why app.db is not being created on saving settings?

AsifMian commented 5 days ago

@OzzieIsaacs Can you please have a look at this? Any help is highly appreciated! Thanks

OzzieIsaacs commented 5 days ago

I thought nobody would find the app.db in the virtual environment, so I if installed via pip: A folder called .calibre-web is created in the users home folder, there the app.db and the logfiles are created.

OzzieIsaacs commented 5 days ago

If I go to c:\installfolder\venv\scripts and start the cps.exe with the parameter the app.db file (or whatever name I give to the file) is created in the given path (be carefull with spaces in the pathname, this will only work if enclosed with "). So I can't reproduce this part of your request