View Single Post
Old 04-24-2017, 10:24 AM   #5
paperrhino
Junior Member
paperrhino began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2017
Device: Android
I did review the script and I am doing the exact same thing as the script. I have the CALIBRE_OVERRIDE_DATABASE_PATH environment variable set just as it does in that script and I pass the path to the books using --with-library.

My metadata.db file is not located in the default location, hence my setting of the override environment variable.

calibre-server runs just fine. It uses the metatadata.db file I indicate in the override environment variable and it puts the book files in the directory I indicate in the --with-library flag.

The problem is calibredb seems to ignore the override environment variable. Therefore I cannot add books to my library from the command line when metadata.db is not in the default location.

Thanks for trying to help. I just wanted to make is clear what the problem was in case someone else has the same problem in the future.
paperrhino is offline   Reply With Quote