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 06-17-2017, 04:39 PM   #1
snesbitt
Junior Member
snesbitt began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2014
Device: snesbitt
Run Calibre Server 3.0 Headless??

Is it possible to run the Calibre 3.0 server on a headless - no X11 - server. If so, what is the process for building it.

Thanks,

-steve
snesbitt is offline   Reply With Quote
Advert
Old 06-17-2017, 10:02 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 31,308
Karma: 8154029
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes, just run it. You need ot have the X11 libraries installed, but no running X server.
kovidgoyal is offline   Reply With Quote
Old 06-18-2017, 01:20 AM   #3
snesbitt
Junior Member
snesbitt began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2014
Device: snesbitt
Hmm:

Here's what I'm seeing:

$ calibre-server /tmp/Calibre\ Library/
This application failed to start because it could not find or load the Qt platform plugin "headless"
in "/opt/calibre/lib/python2.7/site-packages/calibre/plugins".

Available platform plugins are: headless (from /opt/calibre/lib/python2.7/site-packages/calibre/plugins), linuxfb, minimal, offscreen, xcb.

Reinstalling the application may fix this problem.

Granted this is in the context of trying to install inside a docker container, so this may be the core issue. But any help on what is missing would be much appreciated.

-steve
snesbitt is offline   Reply With Quote
Old 06-18-2017, 05:26 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 31,308
Karma: 8154029
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That indicates a failure to load the headless Qt plugin, which in turn is liely caused by a missing library. Use the LD_DEBUG and QT_DEBUG_PLUGINS env vars to get detailed output about why it is failing.
kovidgoyal is offline   Reply With Quote
Old 06-18-2017, 01:43 PM   #5
snesbitt
Junior Member
snesbitt began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2014
Device: snesbitt
Got It Thx!

LD_DEBUG led me to the missing libfontconfig.

Thx!
snesbitt is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversions via headless calibre server? mrdrew Conversion 1 09-07-2016 10:40 PM
Headless Calibre Server greene48 Library Management 17 10-28-2013 01:09 AM
Calibre server on (headless no X) sheevaplug junke1990 Related Tools 6 07-13-2013 08:04 AM
Calibre Headless Server dearleuk Library Management 2 12-02-2012 04:04 AM
Headless Calibre Server Setup godzilla8nj Related Tools 4 03-10-2010 01:39 PM


All times are GMT -4. The time now is 09:45 AM.


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