Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

Calibre Web

30 Topics 227 Posts
  • Calibre Web - Package Updates

    Pinned
    35
    0 Votes
    35 Posts
    1k Views
    nebulonN

    [1.4.2]

    Update Calibre to 7.10.0
  • Calibre & Hetzner Storage Box

    3
    1 Votes
    3 Posts
    111 Views
    jdaviescoatesJ

    @santabroo I did once have all my Calibre Web books stored on a Hetzner Cloud Volume (different from their storage boxes) and have that Mounted as Cloudron Volume.

    I was rsync-ing my local Calibre Library up to that Hetzner Cloud Volume. I'm not sure if I ever tried upload via the Calibre Web interface too, but if I did I can't remember what happened.

    I think it very likely would work though if you moved your Calibre Web app Data Directory to a Heztner Cloud Volume but of course this would only be possible if your Cloudron is running on a Hetzner Cloud VPS.

  • Reset Calibre user password

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    T

    @timconsidine thanks for documenting this! FWIW, on the latest version I had to update the command slightly to this to get it working: python3 /app/code/calibre-web/cps.py -s user:pwd -p ./app.db -g ./gdrive.db

  • Calibre - Searching throws error

    Unsolved
    4
    0 Votes
    4 Posts
    81 Views
    necrevistonnezrN

    I copied over my local Calibre library to the Calibre Web library (located on a Volume.
    One of them is Paul Auster’s „Winter Journal“ in the epub format. The book shows up fine, I can open it in the browser to read it, but when I search for „Auster“, I get the above error.

  • 0 Votes
    5 Posts
    122 Views
    girishG

    @ethanxrosen said in Renaming book throws permission error after using cloudron file manager:

    this is what i get from ls -ld

    Did you run this on the Web Terminal ? The permissions look wrong if that is the case. it should be cloudron user and not ubuntu user.

  • CalibreWeb TTS / read aloud ?

    2
    0 Votes
    2 Posts
    95 Views
    girishG

    @timconsidine yeah, I think TTS is a functionality of the desktop app.

    I found this existing feature request in calibreweb issue tracker - https://github.com/janeczku/calibre-web/issues/2897

  • How do you open a book in Calibre-web?

    Moved
    3
    0 Votes
    3 Posts
    159 Views
    girishG

    I remember this tripping me as well. When you create a user, the default permission does not include reading the book (not sure why, maybe something to check upstream). You have to check the Allow eBook Viewer permission on the right hand column.

    image.png

  • Unable to send email from Calibre

    1
    0 Votes
    1 Posts
    60 Views
    No one has replied
  • 1 Votes
    3 Posts
    468 Views
    O

    @jdaviescoates Hello

    I don't know if this is much help, but I have landed on using the following procedure:

    First, on my Cloudron box, I mount my library as a shared volume. I then sync this volume to the Calibre web app using the following syntax:

    rsync -azP --delete /mnt/volumes/<volumeid>/ /home/yellowtent/appsdata/<appid>/data/library

    Notice the trailing slash on the source, but not on destination.

    The drawback on this method is that changes I make in the Calibre web app are overwritten when doing an rsync. So I try to not use the web app for changes (uploads, metadata edits etc).

    More on this on this topic: Calibre not able to write on mounted (cifs) volume

  • I have to re-login at every new page I click to.

    Unsolved
    19
    0 Votes
    19 Posts
    348 Views
    jdaviescoatesJ

    I was about to say the same thing as @girish looks like the issue is something to do with Cloudflare.

    I also spotted this:

    image.png

    09:00:15.390
    Some cookies are misusing the recommended “SameSite“ attribute 2
    09:00:15.390 Cookie “remember_token” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite login
    09:00:15.391 Cookie “remember_token” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

  • 0 Votes
    16 Posts
    909 Views
    O

    @girish said in Calibre not able to write on mounted (cifs) volume:

    @odie so, just to take a step back. If we ignore all this CIFS stuff ...

    On Cloudron the library is at /app/data/library by default. This maps to the host path at /home/yellowtent/appsdata/<appid>/data/library (might want to double check this path). Is that path not enough to sync via ssh?

    Thanks. I've been moderately successful with this.

    I can sync using rsync and the -rz (and rzv, rzP) flags.

    The syntax I use is:

    rsync -rz /CIFSshare/ /home/yellowtent/appsdata/<appid>/data/library

    This way, I manage to sync from the CIFS mount to the /home/yellowtent/appsdata/<appid>/data/library folder. Calibre-web now runs with a writeable database.

    Two minor problems with this:

    using the -r option, everything syncs on every subsequent execution of the command (ie all files are copied from the CIFSshare) using the -a option instead of -r, the database would be writeable on first sync. But using the -a option resulted in a locked db on second, third etc. run.

    The bigger problem is this:
    When I use rsync, changes I make on the Cloudron/calibre-web app are not synced back to the NAS folder. So basically, this leaves me to lose edits made via Calibre-web on Cloudron every time I update the library from one of the clients (since local changes on Cloudron calibre-web are not synced to the CIFS share). Relying on a manual sync after every library update on Calibre-web is next to impossible (I often read on my mobile devices, and I like to edit metadata while reading).

    So basically, it almost appears safer to keep the library on a read-only CIFSshare...

  • Not able to write on mounted volume

    Solved
    11
    0 Votes
    11 Posts
    749 Views
    O

    I have this same problem. The Calibre database mount is treated as read only, despite being read+write in both my "volumes" window (I mount as CIFS in Cloudron, and the folder is both readable and writeable in the file explorer), and as read+write in the calibre web app locations setting.

    When trying to upload a file to the database, I get an error message "Oops! Database Error: database is locked." in the Calibre app, and the following output from the error log:

    Sep 10 20:06:09[2023-09-10 18:06:09,560] DEBUG {cps.uploader:261} Temporary file: /tmp/calibre_web/d7303b9d1838487ba3d8f808792aa2c8 Sep 10 20:06:09[2023-09-10 18:06:09,804] ERROR {cps.helper:560} Rename title from /tmp/calibre_web/d7303b9d1838487ba3d8f808792aa2c8 to /media/CalibreLib/Unknown/[00-test]testaddcmx (614) failed with error: [Errno 1] Operation not permitted Sep 10 20:06:14(Background on this error at: https://sqlalche.me/e/14/e3q8) Sep 10 20:06:14[2023-09-10 18:06:14,858] ERROR {cps.editbooks:304} Database error: (sqlite3.OperationalError) database is locked

    From the terminal (Calibreweb terminal when cd'ing /media), owners and permissions are listed like this:

    root@3590754a-5015-4c95-a587-3048aa867498:/media# ls -al total 8 drwxr-xr-x 1 root root 4096 Sep 9 12:26 . drwxr-xr-x 1 root root 4096 Sep 9 12:26 .. drwxrwxrwx 2 998 998 0 Sep 10 18:06 CalibreLib

    Additionally, I also have the same problem as described in this folder (the database location is not stored persistent):

    https://forum.cloudron.io/topic/4215/calibre-web-database-location-is-not-stored-persistent/6

    Even if the app is not updated, it resets folder location after every nightly backup, it seems.

    My Cloudron is v7.5.2 and the Calibre Web App is running the latest version.

    Any ideas on how to troubleshoot and fix these two errors?

    Thanks!

  • 0 Votes
    4 Posts
    617 Views
    scookeS

    (moved from separate thread)

    Hello,
    So, I had a different post asking if using Google Drive would work, then went ahead to try anyway. I followed this guide: https://github.com/janeczku/calibre-web/wiki/G-Drive-Setup

    It worked! For about 10 days. Now, suddenly, the app can't see the Google Drive. Anyone have any idea what happened?

    And, the drop-down menu where you can choose the GDrive folder doesn't work, so it seems it might be a Cloudron-related issue?
    3886d2ac-69a1-4f4c-b277-30a51145af76-image.png

    Thanks!

  • Can't create users called guest

    Solved
    2
    0 Votes
    2 Posts
    233 Views
    nebulonN

    So the "guest" user is already used internally for anonymous access https://github.com/janeczku/calibre-web/issues/949

  • Can't change admin email

    Solved
    17
    0 Votes
    17 Posts
    816 Views
    nebulonN

    Just tried this again with latest version and email change works now.

  • LDAP import

    Solved
    9
    1 Votes
    9 Posts
    879 Views
    nebulonN

    LDAP was removed from the package.

  • 1 Votes
    15 Posts
    980 Views
    nebulonN

    We have removed LDAP, so will close this thread for now.

  • Thumbnail cache not writeable?

    Unsolved
    7
    1 Votes
    7 Posts
    283 Views
    nebulonN

    Is there any more info on this and can someone reproduce this?

  • 1 Votes
    3 Posts
    141 Views
    nebulonN

    Latest package version has both backend and frontend updated now. We had to remove the anyways not working LDAP though. See https://github.com/janeczku/calibre-web/issues/2652

  • Logo in Dashboard

    Solved
    12
    1 Votes
    12 Posts
    499 Views
    imc67I

    @nebulon indeed this one is 👌