Comments (4)
Okay, so I'm starting to wonder if this is possibly a limitation of Calibre-Web?
I have to use the - CALIBRE_OVERRIDE_DATABASE_PATH=/db/metadata.db
entry, because my books are stored on my NAS, and this doesn't play nicely with the database file.
But Calibre web expects my books to be stored in the directory of the database file, as that is the usual approach.
Does that seem to be correct? (I'm just surprised I'm the first person in the situation if it is!)
If so... feature request?
from calibre-web.
Not a novel issue: #1462
from calibre-web.
I have tried to implement this as a solution: #1462 (comment)
So for me I mapped: - /data/calibre/db/metadata.db:/mnt/arr/Media/Books/eBooks/metadata.db
I then went into Calibre-Web and set my Location of Calibre Database to /mnt/arr/Media/Books/eBooks/metadata.db
But now I get:
Calibre-Web
500 Internal Server Error
The server encountered an internal error and was unable to complete your request. There is an error in the application.
Traceback (most recent call last):
File "/lsiopy/lib/python3.10/site-packages/flask/app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
File "/lsiopy/lib/python3.10/site-packages/flask/app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/lsiopy/lib/python3.10/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/lsiopy/lib/python3.10/site-packages/flask/app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/app/calibre-web/cps/usermanagement.py", line 35, in decorated_view
return login_required(func)(*args, **kwargs)
File "/lsiopy/lib/python3.10/site-packages/flask_login/utils.py", line 290, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
File "/app/calibre-web/cps/web.py", line 790, in index
return render_books_list("newest", sort_param, 1, page)
File "/app/calibre-web/cps/web.py", line 408, in render_books_list
entries, random, pagination = calibre_db.fill_indexpage(page, 0, db.Books, True, order[0],
File "/app/calibre-web/cps/db.py", line 803, in fill_indexpage
return self.fill_indexpage_with_archived_books(page, database, pagesize, db_filter, order, False,
File "/app/calibre-web/cps/db.py", line 810, in fill_indexpage_with_archived_books
random_query = self.generate_linked_query(config_read_column, database)
File "/app/calibre-web/cps/db.py", line 764, in generate_linked_query
query = (self.session.query(database, ub.ArchivedBook.is_archived, ub.ReadBook.read_status)
AttributeError: 'NoneType' object has no attribute 'query'
Please report this issue with all related information: [Create Issue](https://github.com/janeczku/calibre-web/issues/new/choose)
Must have done something wrong, as the metadata.db file in /mnt/arr/Media/Books/eBooks
is empty.
from calibre-web.
Okay, so reverting back to this: #1462
I pulled the master branch (whereas I was previously running on latest
), and in Calibre-Web in Edit Calibe Database Configuration
there is now an option for Separate Book Files from Library
and this can be used for selecting the books on the NAS.
from calibre-web.
Related Issues (20)
- Calibre web not working anymore (internal server error) HOT 7
- Using "count()" to determine the total number in `Pagination` HOT 1
- Error calibre-web HOT 2
- docker channel spam attack HOT 1
- Error uploading with ASCII metadatas on PDF HOT 1
- Multiple kindle emails per calibre-web account HOT 2
- Clicking "Books" results in different books listed for different users HOT 1
- FEAT: Add upload from url (instead of from disk) option
- calibre-web app on asus nas HOT 1
- CALIBRE does not convert from EBOOK to PDF (ver 7.7, 64, Calibre ebook management, Windows 11, 64) HOT 4
- Issue setting up gmail in Docker HOT 1
- After installing Calibre-Web, why can I access the IP+port and log in, but the domain name of the reverse proxy can be accessed but I can't log in, and the password is fine. HOT 1
- Calibre-web error 500 repeated even After calibre restart HOT 3
- "OSError: [Errno 22] Invalid argument" on Kobo Sync HOT 3
- Calibre-Web v0.6.21 failing to finish authentication with timeout while behind cloudflare HOT 3
- Parsing imported files with structured filenames
- Multi volume series hard to distinguish HOT 1
- Installation fail: "Legacy install failure on netifaces" HOT 1
- Potential Issue regarding file upload HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calibre-web.