Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No app.db file created #3224

Open
AsifMian opened this issue Nov 14, 2024 · 3 comments
Open

No app.db file created #3224

AsifMian opened this issue Nov 14, 2024 · 3 comments

Comments

@AsifMian
Copy link

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
Copy link
Author

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

@OzzieIsaacs
Copy link
Collaborator

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants