docker-lazylibrarian-calibre's People
Forkers
mediakraken-dependancies k4vej rxwatcher scottcom4 andrewgribben whoan noplanman shenngw1127 clutwo tonyroomz miracle152005 p33rvw creedofman spoonefl1 jimbo19922003 maynardnaze testingiacwithnewaccountdocker-lazylibrarian-calibre's Issues
How to use Calibredb
I am confused about how to use calibredb. What is required. Do I need to run a calibre webserver separately, do I need to run a command via bash to link the books library to the calibre db. Any further information would be helpful as to how the two interact with each other.
/opt/calibre/calibredb --with-library=/books
Download dir not found
I have my download directory set in the Config>Processing>Download Directory to a folder that definitely exists. However, every time LL tries to process the download I get an error saying download dir [u"/path/to/directory"] does not exist. Not sure why it's adding the u in front of the path bit I think this might be the issue. The directory is correct without the "u" in the config.ini file.
Edit: this is a new install
how does /opt/calibre/calibredb get updated?
root@thraxis-lazylibrarian-calibre1:/downloads$ /opt/calibre/calibredb --version
calibredb (calibre 3.29)
I'm troubleshooting a problem, and I'm not sure if it's related to the version of that binary. Is there a way to upgrade it?
Apprise notifier
Any chance you could add apprise to the docker container? It's a new (optional) notification library that lazylibrarian uses. pip install apprise
works from the commandline, not sure how you pip install for docker. Thanks.
No write acces to /root/.config/calibre
Calibredb is not post-processing books correctly because of a dir on the container side (not accessible to /config) that does not have write permissions.
LOG:
Timestamp | Level | Message |
---|---|---|
2017-07-22 15:43:33 | DEBUG | Restart processDir job in 10 minutes |
2017-07-22 15:43:33 | DEBUG | Stop processDir job |
2017-07-22 15:43:33 | INFO | 1 book/mag processed. |
2017-07-22 15:43:33 | DEBUG | Snatched direct Amy Poehler - Yes Please LL.(20910157) is not in download directory |
2017-07-22 15:43:33 | DEBUG | /downloads/Amy Poehler - Yes Please LL.(20910157) is not a directory? |
2017-07-22 15:43:33 | INFO | Looking for eBook Amy Poehler - Yes Please LL.(20910157) in /downloads |
2017-07-22 15:43:33 | DEBUG | Amy Poehler - Yes Please LL.(20910157) was sent to DIRECT |
2017-07-22 15:43:33 | INFO | Successfully processed: Yes Please - Amy Poehler |
2017-07-22 15:43:33 | DEBUG | Deleted Amy Poehler - Yes Please LL.(20910157), direct from direct |
2017-07-22 15:43:33 | ERROR | processExtras: No dest_file supplied |
2017-07-22 15:43:33 | DEBUG | Processed direct: Yes Please - Amy Poehler,ย http://download.libgen.io/get.php?md5=4515217CF5F7C85B8DA12383618EC287&key=BWBNKBGAXWSKNCOJ |
2017-07-22 15:43:33 | INFO | Library scan complete |
2017-07-22 15:43:33 | DEBUG | Updating bookcounts for 1 author |
2017-07-22 15:43:33 | INFO | 2 files processed |
2017-07-22 15:43:33 | INFO | 1/1 new/modified eBooks found and added to the database |
2017-07-22 15:43:33 | DEBUG | Amy Poehler Yes Please (9780062268372) matched Snatched BookID 20910157, [Amy Poehler][Yes Please] |
2017-07-22 15:43:33 | WARNING | Updating book location for Amy Poehler Yes Please (9780062268372) from /books/Amy Poehler/Yes Please (118)/Yes Please - Amy Poehler.epub to /books/Amy Poehler/Yes Please (119)/Yes Please - Amy Poehler.epub |
2017-07-22 15:43:33 | DEBUG | Link to preferred type epub: /books/Amy Poehler/Yes Please (119)/Yes Please - Amy Poehler.epub |
2017-07-22 15:43:33 | DEBUG | Fuzz match partial [99] [Yes Please (9780062268372)] [Yes Please] |
2017-07-22 15:43:33 | DEBUG | Searching 1 book by [Amy Poehler] in database for [Yes Please (9780062268372)] |
2017-07-22 15:43:33 | DEBUG | Searching database for [Yes Please (9780062268372)] by [Amy Poehler] |
2017-07-22 15:43:33 | DEBUG | Preferred authorname changed from [Poehler, Amy] to [Amy Poehler] |
2017-07-22 15:43:33 | DEBUG | Formatted authorname [Poehler, Amy] to [Amy Poehler] |
2017-07-22 15:43:33 | DEBUG | book meta [] [en] [Poehler, Amy] [Yes Please (9780062268372)] [epub] |
2017-07-22 15:43:33 | DEBUG | [/books/Amy Poehler/] Now scanning subdirectory Yes Please (119) |
2017-07-22 15:43:33 | INFO | Scanning eBook directory: /books/Amy Poehler/ |
2017-07-22 15:43:33 | DEBUG | /opt/calibre/calibredb identifier reports: No write acces to /root/.config/calibre using a temporary dir instead Title : Yes Please Title sort : Yes Please (9780062268372) Author(s) : Amy Poehler [Poehler, Amy] Publisher : HarperCollins Languages : eng Timestamp : 2017-07-22T19:43:27+00:00 Published : 0101-01-01T00:00:00+00:00 Identifiers : goodreads:20910157 |
2017-07-22 15:43:32 | DEBUG | [u'/opt/calibre/calibredb', 'set_metadata', '--field', u'identifiers:goodreads:20910157', '--with-library', u'/books', '119'] |
2017-07-22 15:43:32 | DEBUG | /opt/calibre/calibredb title reports: No write acces to /root/.config/calibre using a temporary dir instead Title : Yes Please Title sort : Yes Please (9780062268372) Author(s) : Amy Poehler [Poehler, Amy] Publisher : HarperCollins Languages : eng Timestamp : 2017-07-22T19:43:27+00:00 Published : 0101-01-01T00:00:00+00:00 |
2017-07-22 15:43:31 | DEBUG | [u'/opt/calibre/calibredb', 'set_metadata', '--field', u'title:Yes Please', '--with-library', u'/books', '119'] |
2017-07-22 15:43:31 | DEBUG | /opt/calibre/calibredb author reports: No write acces to /root/.config/calibre using a temporary dir instead Title : Yes Please (9780062268372) Title sort : Yes Please (9780062268372) Author(s) : Amy Poehler [Poehler, Amy] Publisher : HarperCollins Languages : eng Timestamp : 2017-07-22T19:43:27+00:00 Published : 0101-01-01T00:00:00+00:00 |
2017-07-22 15:43:29 | DEBUG | [u'/opt/calibre/calibredb', 'set_metadata', '--field', u'authors:Amy Poehler', '--with-library', u'/books', '119'] |
2017-07-22 15:43:29 | DEBUG | Calibre ID: 119 |
2017-07-22 15:43:29 | DEBUG | /opt/calibre/calibredb reports: No write acces to /root/.config/calibre using a temporary dir instead Added book ids: 119 |
2017-07-22 15:43:26 | DEBUG | [u'/opt/calibre/calibredb', 'add', '-1', u'--with-library=/books', u'/downloads/Amy Poehler - Yes Please LL.(20910157)'] |
2017-07-22 15:43:26 | DEBUG | Importing Yes Please - Amy Poehler into calibre library |
2017-07-22 15:43:26 | DEBUG | Processing eBook 20910157 |
2017-07-22 15:43:26 | DEBUG | Found match (100%): /downloads/Amy Poehler - Yes Please LL.(20910157) for eBook Amy Poehler - Yes Please LL.(20910157) |
2017-07-22 15:43:26 | DEBUG | Found folder (100%) [/downloads/Amy Poehler - Yes Please LL.(20910157)] for eBook Amy Poehler - Yes Please |
2017-07-22 15:43:26 | INFO | Looking for eBook Amy Poehler - Yes Please LL.(20910157) in /downloads |
2017-07-22 15:43:26 | DEBUG | Amy Poehler - Yes Please LL.(20910157) was sent to DIRECT |
2017-07-22 15:43:26 | DEBUG | Found 2 files marked "Snatched" |
2017-07-22 15:43:26 | DEBUG | Checking 1 file in /downloads |
2017-07-22 15:43:23 | INFO | Log cleared, level set to [2]- Log Directory is [/config/log] |
Lazylibrarian homepage link
Hi,
I just added a link to your docker on the lazylibrarian home page, hope that's ok, if not I will remove it. We had a user trying to get calibredb in one docker to talk to lazylibrarian in another docker. Your solution is much neater.
LazyLibrarian is moving
Hi,
Just a heads-up, on Saturday (10 Nov) we will be moving the repo to
https://gitlab.com/LazyLibrarian/LazyLibrarian.git
The github/dobytang one will be mothballed as dobytang is no longer around and we cannot get full access rights to it. We would have liked the LazyLibrarian group at github as that's inactive but the owner hasn't responded to requests to release it, so we're moving to gitlab.
The new location also has a brand new much needed documentation section, and we hope to include automated builds of deb rpm and snap packages.
Many thanks for your support of lazylibrarian
Phil.
Problems Importing to Calibre
I am unsure of how Calibre was implemented into this build but I was curious if there was a way to have it convert mobi to epub and then import. I am also have a strange issue where I am getting a file called "Book Name.opf" as well as a "Metadata.opf"
Unexpected query string parameters: launchParam
segfault in some threads as stack space too small
Hi, we are hitting problems in lazylibrarian with requests in a thread causing segfaults. Seems to be a known issue with the stack size in musl used in alpine 3.6
docker-library/python#211
The problem is apparently fixed in alpine 3.7, any chance you could rebase this on 3.7?
Thanks,
Phil.
Calibre not running
Hi,
I've been using this image for a long time with no issues (thank you!). Today, I noticed that when searching for a book using the web UI I got an error that the config was read only. I restarted calibre via the VNC/GUI in debug mode and everything seemed fine. I didn't get the same error about the directory being read only. I then tried to restart calibre without debug mode. I did Control+R and it restarted though still in debug. Then, I did Control+Q.
After this the VNC screen went blank and I have been unable to get the Calibre serving running again or the GUI to be accessible via VNC. If I do a "ps" in the container, I cannot see any calibre processes. Likewise, when I try to test the lazylibrarian calibre connection, I get errors on reading and writing the DB.
Nothing else has changed as far as I can see (though the image updated overnight). I've tried re-pulling the image but the problem persists. I can see a metadata.db file in my library books directory also. If I look in the config directory there is a calibre folder and some config files. They are pointing to the wrong db file. Changing this doesn't seem to have any effect though.
Any help would be very appreciated!
Changing calibredb's output template
I'm struggling to find a method using the included calibredb to modify the output template in which files are processed and saved.
I've found the '--template' switch in Calibre's documentation but I'm unable to to find a way to implement it.
Is it actually possible to change the template using this container? If so, could you elaborate on how to achieve this.
Container restarts application continually
If I update the application through it's interface or have it restart through the web interface, two instances are spawned when the application shuts down. I'm assuming one is from s6 and one is from lazylibrarian doing what it is supposed to. This keeps one running and another continually restarting in the background until the container itself is restarted. This can cause database issues on top of using system resources. Is there anything that can be done to prevent this from happening? Maybe keeping init from starting the application on a 0 exit?
Needs update to latest lazylibrarian and update to alpine.python3
I guess this is not being maintained and the container won't rebuild due to some alpine changes. To get it updated I had to change Dockerfile to use alpine.python3, then comment out the line with py-html5lib on it, add html5lib and webencodings to the pip install line. Save the Dockerfile. Navigate to the run file and change the command line from python to python3. Rebuild using whatever name you want for the image like "docker build -t lazylib:1.0 ." THen you can use just lazylib in your compose file. LazyLibrarian is up to latest when you do this.
Updated dockerfile
Hi, a lazylibrarian user has sent me an updated dockerfile, he says...
I'm reaching out because I went to the effort of updating the Thraxis lazy librarian dockerfile to work again (and shrink the image a bit, from 259MB to 150MB)
I'd like to share that, but I don't wish to officially add to the project
I have attached his dockerfile below. Thanks.
Keeps re-downloading.
Lazy librarian keeps re-downloading the same books over and over again.
Log says skipping book already exists, but sab redownloads.
Unable to sync with calibre
I switched to this image as it incorporates calibredb, so it can update my calibre database when new books are processed. In LL's config, I enabled use calibredb and put in the path and I get a success message when I click test.
However, when I click "calibre sync" on the manage tab, I get the following error:
"User lazylibrarian has no calibre columns set"
I opened global.py in the config directory and set the path to the calibre library and books. Not sure if there's any other configuration needed? The documentation is pretty scarce, or I'm looking in the wrong place.
Any help would be appreciated. Thanks!
Opf files
When Calibre imports books, does it create metadata.opf or "book title".opf ?
In my folders I have both and I would like to organize this with the proper one.
Thank you.
calibredb command not found
Hello and thanks for this docker.
Not sure if its my understanding or not but cant run any calibredb command from the docker bash?
How are you passing commands through to the container?
i've tried ...
docker exec -it calibredb --with-library /books
(/books is mapped to my calibre library share)
also
docker exec -it calibredb /bin/bash
then enter the calibredb command but still get command not found.
Ant help would be appreciated.
Regards
Marc
Closed
Add ARMHF container build
Please add ARMHF format container build.
Thanks.
Initial setup on wiki
As someone just setting up everything from scratch the lack of specificity in the wiki was agonizing. Here are a couple of key things to know if you could add them:
To work with Calibre this container requires a separate installation of Calibre. That separate Calibre installation needs to map its library to a location where this LazyLibrarian container can find it. Both containers should bind the /books volume to the same folder. You must install Calibre and initialize the library into this folder before installing and configuring LazyLibrarian. Otherwise your /books folder may not be empty and then you cannot move your Calibre library there. In Calibre when you create or move your library it must be to /books, not /books/Calibre Library or this LazyLibrarian container won't find it. When Calibre is configured correctly you will find a metadata.db file in the /books folder, then you can install this LazyLibrarian+Calibre container.
Unable to create folder /Media/downloads/torrents/complete/books: [Errno 13] Permission denied: '/Media/downloads', using /config
Hi there,
Noob here but I'm learning pretty quickly. I've just installed this on my QNAP server using Container Station. I followed directions to set-up a dedicated dockuser and included those puids and pgids as part of the set-up. However, I'm still getting these permission related errors.
Any help would be greatly appreciated. I'm also happy to provide additional details.
After install changed the PUID & PGID
I installed this wanting a 2 in one for calibre. After installing, it changed the PUID and PGID of my docker folder which contains all my docker app configs. It only messed up one service, but it's a pain to reconfigure.
Container uses python 2 instead of python 3
Hi,
I had multiple encoding issue in the container because of python2.
After that I looked into the container using docker exec and have found that the container uses Python 2.7.15.
After that I looked at the base image (lsiobase/python:3.8) and found by looking at the Image Layer Details (https://hub.docker.com/layers/lsiobase/python/3.8/images/sha256-2f3064f7a6c2f430d2b0f7eada69872e5e2d5bbd6cdd755c319c35846022c6a1)
that the image still uses python2 in the last layer (install) instead of python3 could you please take a look.
Thanks.
Best regards
miracle152005
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.