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

[Feature Request] Separate Book Files from Library / Split Libraries #92

Open
tucker87 opened this issue Sep 22, 2024 · 7 comments
Open
Labels
enhancement New feature or request in progress A fix is currently being worked on / is in testing

Comments

@tucker87
Copy link

tucker87 commented Sep 22, 2024

Description
Split metadata/books options is not being respected

To Reproduce

  • New Instance using this
calibre-web-automated:
    image: crocodilestick/calibre-web-automated:latest
    container_name: calibre-web-automated
    environment:
      - PUID=1000
      - PGID=100
      - TZ=UTC
      - DOCKER_MODS=lscr.io/linuxserver/mods:universal-calibre-v7.16.0
    volumes:
      - ${CONFIG_ROOT:-.}/calibre/config-cwa:/config
      - ${CONFIG_ROOT:-.}/calibre/config-cwa/calibre-library:/calibre-library
      - ${APPHOME_ROOT}/book-ingest:/cwa-book-ingest
      - ${DATA_ROOT}/books:/books
    ports:
      - 8084:8083
  • Set database config to use /calibre-library and /books
    image
  • Copy files into cwa-book-inject
  • Click Refresh Library

Expected behavior
Books should be in /books but are ending up in the /calibre-library

Unexpected behavior
Setting the database config as above breaks the cover images
Downloads 404

Configuration(please complete the following information):

  • OS: Ubuntu Server
  • Hardware: x86 server
  • Version: Latest?

Additional context
No original database/config. I've removed the config dir and started over with each test

CONFIG_ROOT is local
Other *_ROOTS are on NAS

@tucker87
Copy link
Author

https://github.com/janeczku/calibre-web/blob/1eb9cd44dcbdd873df00de3fa42b02e0b3ddfa2f/cps/config_sql.py#L404

Found where the path is used in calibre-web.
Too late for me to dig further.

@jmarmstrong1207 jmarmstrong1207 added the bug Something isn't working label Oct 13, 2024
@jmarmstrong1207
Copy link
Contributor

This issue should be higher priority than others as it's a breaking change of stock calibre-web feature.

Ingest script will need to respect this setting.

@tucker87
Copy link
Author

Closing as fixed. See conversation in PR #93

@MrLemur
Copy link

MrLemur commented Oct 16, 2024

@tucker87 Please keep this issue open, the split library issue still remains.

@luukrijnbende
Copy link

I'm experiencing the same issue, please re-open.
I have my books on an SMB share and I don't want to put the metadata.db file there as well, it should be separated.

@tucker87
Copy link
Author

Sorry! My mistake. I don't use this project anymore and thought the recent PRs were correcting the issue,

@tucker87 tucker87 reopened this Oct 30, 2024
@crocodilestick
Copy link
Owner

Hi all, I wasn't aware of this CW feature and so CWAs features have never been written to support it. As of V2.1.0, the option to enable Split Libraries has been temporarily removed to prevent confusion but enabling of the feature is currently being worked on for V2.2.0

@crocodilestick crocodilestick changed the title [bug] Separate Book Files from Library [Feature Request] Separate Book Files from Library / Split Libraries Nov 1, 2024
@crocodilestick crocodilestick added enhancement New feature or request in progress A fix is currently being worked on / is in testing and removed bug Something isn't working labels Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress A fix is currently being worked on / is in testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants