calibre-web portainer

  • I'm trying to configure calibre-web in portainer using the self-hosted templates as per Techno Dad Life's videos. First off, thanks TDL for all the great how-tos. They are immensely helpful.


    I have the calibre-web portainer installed and running. I can hit the web portal for it and see a basic config gui but keep getting an error: DB Location is not Valid, Please Enter Correct Path.



    I verified my user ID and group ID are valid.


    I have the following volumes mapped in the portainer:



    And I added a LIBRARYINTERNALPATH env variable:



    What am I missing?

  • Just in case it help, this is my Portainer Stack definition:



    The config directory was empty to start with, and the docker container created his DB himself if I record correctly.


    Good luck to you

  • If I remember correctly, calibre web is just a front end for the calibre database. So calibre itself is needed.

    I think this is my issue. I thought calibre-web was all I needed. I've installed calibre and am now just trying to figure out the directory structure. Calibre seems to put everything (config and library) into one directory. If anyone has figured out a clean way to organize this, I would appreciate your guidance.

    Edited once, last by spinach: edited for spelling ().

  • Here's how initially set it up a long time ago, since I didn't already have a collection of ebooks in calibre.


    You've got calibre-web installed, so the rest is easy if you trust me.. :evil:


    https://drive.google.com/file/…VLJWd2a8/view?usp=sharing


    That's my google drive and it's a file called "metadata.db.empty"


    As the name implies, it is an empty metadata file.


    Download it, dump the .empty extension (I done that to differentiate it from the backup of my actual database), and put it in your /books directory


    Go back to the Calibre-web UI and enter /books for your database location, assuming you followed the recommended paths.


    Once it's accepted, log in w/ the default user and password (admin admin123) and start setting things up.

    Air Conditioners are a lot like PC's... They work great until you open Windows.


    Edited once, last by KM0201 ().

  • Same problem and the empty metadata file did the trick

    i put in some Epub's but Calibre can't find them in "/books"

    does it take a while ?

    Move the files out of your books directory. Enable Uploading, and then upload the epub through the webUI. This feature is in the admin panel under Settings/Basic Configuration/Features. (Note the checked feature under basic configuration, then in the upper right there is an icon with a little +.. use that to upload your books)..

  • I struggled for a while to get this to work but finally got calibre-web working without calibre proper and just this metadata file in place of an existing calibre database. I had to delete the multiple calibre and calibre-web images in portainer and directories in my /appdata folder from my previous failed attempts at installing calibre-web and start with as clean of a slate as I could. I placed the metadata file in my /books directory before going to the calibre-web portal. I entered /books as the database directory and everything worked as expected. After enabling the 'Upload books' option in calibre-web's admin config, I could upload PDFs, epubs and mobis. This is looking very promising!


    Just a couple more questions about using calibre-web:


    • do you set up a new user and password for calibre-web?
    • does anyone use calibre-web with a Kobo? I have a Clara HD and am wondering how I can download by ebooks to it, preferably wirelessly. I have tried to hit calibre-web's page through the Clara's web browser but always face a 404 error.
  • I answered my own questions which I will describe below for anyone who may be interested.


    I changed the default admin password, just to be safe, and set up a new user and password.


    I found a post on reddit that described the following steps for accessing calibre-web which worked from my Kobo Clara HD's beta web browser:


    • In the Kobo browser, enter URL: http://192.168.0.100:8083/login (or whatever your IP happens to be)
    • Enter user and password. I used my new user's credentials. Click Login.
    • This should produce an OMV page.
    • I then re-entered 192.168.100:8083 (without the /login part) and this brought me to the calibre-web portal

    The Kobo browser is beta (and has been for years!) so the experience is terrible but you should be able to navigate around and download books of your choosing. They will save to your device and open as expected!

  • I answered my own questions which I will describe below for anyone who may be interested.


    I changed the default admin password, just to be safe, and set up a new user and password.

    I don't use Kobo, so can't comment on that.


    However, the above... that IMO.. should be pretty much standard procedure on any container. New admin password, and a new, unprivileged user.

    Air Conditioners are a lot like PC's... They work great until you open Windows.


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!