Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-19-2013, 11:16 AM   #1
MyNameIsMrBurns
Member
MyNameIsMrBurns began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jun 2011
Device: Nook Simple Touch Reader
Running a dedicated online Calibre server?

I'm interested in actually setting up a dedicated public-facing server running Calibre to share e-book files with. (And before anyone asks, yes, a legal one.) I'm curious as to whether such a thing is possible, or whether it's a totally ridiculous idea. Has anyone done this before?
MyNameIsMrBurns is offline   Reply With Quote
Old 05-19-2013, 11:54 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Been done, even using some NAS devices . (threads scattered about here )

In the Calibre FAQ:
http://manual.calibre-ebook.com/faq....n-linux-server

Be sure to review topics with Keyword 'headless'

and remember you will need Port forwarding if not on your LAN
theducks is offline   Reply With Quote
Advert
Old 05-19-2013, 12:54 PM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I do this using a VPS (cheapvps in the uk) so I don't need a machine running 24/7 on my LAN at home. I use dropbox as the transport to copy library updates to the server, and monit on the server machine to restart the calibre server process when the metadata database changes.
chaley is offline   Reply With Quote
Old 05-19-2013, 01:31 PM   #4
MyNameIsMrBurns
Member
MyNameIsMrBurns began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jun 2011
Device: Nook Simple Touch Reader
I see, so how does that metadata update work in practice? You copy the book to your personal Calibre library, add its description, tags, cover art, etc etc, and then upload it and its .opf file together, and it all updates neatly? I was wondering about that part.
MyNameIsMrBurns is offline   Reply With Quote
Old 05-19-2013, 03:59 PM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by MyNameIsMrBurns View Post
I see, so how does that metadata update work in practice? You copy the book to your personal Calibre library, add its description, tags, cover art, etc etc, and then upload it and its .opf file together, and it all updates neatly? I was wondering about that part.
I think you are posting this question at me.

My entire library is in a dropbox folder. I update the library on the copy on my home machine, adding books, changing metadata, what have you. The changes to the library are copied to my server by dropbox, where they are 'served' by the content server there. The only thing I do that is special on my server is to copy the db file to /tmp and have calibre open that in order to avoid conflicts. I use monit to restart the content server whenever the timestamp on metadata.db in the library changes.

I do not attempt to upload manually the changes. I see that as a recipe for disaster. There are changes one can make to a library that result in non-obvious folder hierarchy changes, and I have no desire to attempt to track these manually. Dropbox and other folder sync programs do this task quite well.
chaley is offline   Reply With Quote
Advert
Old 05-20-2013, 02:59 AM   #6
MyNameIsMrBurns
Member
MyNameIsMrBurns began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jun 2011
Device: Nook Simple Touch Reader
So they're actually served from Dropbox itself? I wasn't aware that Dropbox could run a content server like that, how is that possible? That's a brilliant solution.
MyNameIsMrBurns is offline   Reply With Quote
Old 05-20-2013, 04:20 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by MyNameIsMrBurns View Post
So they're actually served from Dropbox itself? I wasn't aware that Dropbox could run a content server like that, how is that possible? That's a brilliant solution.
No. Dropbox is the transport. It copies my library from the machine where I do all editing to the server. That server runs a vanilla calibre content server, serving the dropbox'ed copy of the library with the exception that the metadata.db file (the database) is copied to /tmp and used from there.
chaley is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[How To] Running Calibre server as a news server sws Related Tools 0 04-09-2013 08:27 AM
Running Calibre on Server godlich Recipes 2 02-09-2012 12:57 PM
Calibre-Server - Ubuntu 10.10 - Running but not serving dcmarquardt Calibre 10 04-05-2011 07:33 PM
Running Calibre on Terminal Server JeffAlan66 Calibre 2 08-12-2010 02:00 PM
Trouble running calibre-server ould Calibre 0 04-16-2010 02:18 PM


All times are GMT -4. The time now is 07:46 AM.


MobileRead.com is a privately owned, operated and funded community.