DobyTang / LazyLibrarian

This project isn't finished yet. Goal is to create a SickBeard, CouchPotato, Headphones-like application for ebooks. Headphones is used as a base, so there are still a lot of references to it.
731 stars 70 forks source link

can lazylibrarian work over a local network? #746

Closed justagame closed 7 years ago

justagame commented 7 years ago

To help with identifying and fixing issues, please include as much information as possible, including:

LazyLibrarian version number (at the bottom of config page)

Operating system used (windows, mac, linux, NAS type)

Interface in use (default, bookstrap)

Which api (Goodreads, GoogleBooks, both)

Source of your LazyLibrarian installation (git, zip file, 3rd party package)

Relevant debug log with api keys and any passwords redacted

Please note - usually a single line of log is not sufficient. The lines just before the error occurs can give useful context and greatly assist with debugging.

justagame commented 7 years ago

sorry if this is a duplicate question... can lazylibrarian work over a local network? I have LL installed on my main server (ubuntu 16 something), my calibre library on a Synology NAS drive and nzbget runs on a raspberry pi 3 with openVPN. For the life of me, I can't figure out how to a) point LL at my calibre database and b) while books can be snatched, they never are seen after downloading and being saved in my .../nzbget/completed directory by LL for postprocessing....

the debug log just returns the following: 2017-04-24 15:43:30 INFO Scanning ebook directory: / 2017-04-24 15:43:30 WARNING Destination dir [/192.168.0.240/volume1/SynMediaFiles/Books/My-Books] not found, using / 2017-04-24 15:43:27 INFO Debug log display ON, loglevel is 2

LL version as of this am: Repo: https://github.com/dobytang/lazylibrarian : Branch: master Current Version: ed0e79cfbe0eb90b87d1af317a25bb9e17552046 : Latest Version: ed0e79cfbe0eb90b87d1af317a25bb9e17552046 version 19 database goodreads

justagame commented 7 years ago

sorry, also - the nas calibre book directory permissions and ownership are set to 777 and myusername:myusername

philborman commented 7 years ago

Short answer is yes, it can work over a network. Longer answer is ...but it can be challenging setting up the shared folders. Lazylibrarian needs to be able to access the nzbget download folder and the calibre books folder. How are you sharing them? nfs is probably best/easiest as all three machines are linux based.

Code-Slave commented 7 years ago

I do this by mounting each with NFS or smb. I have tried both and they work. You just have to be very careful with paths for the various things (downloads/calibre). You might have a problem with mounting your nzbget server as if its vpn 24/7 then you may have to adjust routing or add a second adapter

justagame commented 7 years ago

Sorry for the delay - finally figured out the problems and solutions to #746 .....

Now using Repo: https://github.com/dobytang/lazylibrarian : Branch: master Current Version: 5abff5a509d2caf317625b0455c614090bd9acc1 : Latest Version: 5abff5a509d2caf317625b0455c614090bd9acc1

Now, my next request is, when books are added to calibre, can they be converted automatically into the format I have set in my preferences for additions? image