View Single Post
Old 12-15-2017, 12:03 PM   #9
dlfuller
Enthusiast
dlfuller will become famous soon enoughdlfuller will become famous soon enoughdlfuller will become famous soon enoughdlfuller will become famous soon enoughdlfuller will become famous soon enoughdlfuller will become famous soon enough
 
Posts: 29
Karma: 566
Join Date: May 2009
Device: none
I uninstalled everything installed by the Ubuntu apt-get as you suggested:
Code:
$ sudo apt-get update
$ sudo apt-get purge calibre
$ sudo apt autoremove
Calibre (macOS app) did still access the database on the server through the network, but http://192.168.1.xx:8080 no longer would access the database.

Next I installed calibre from https://calibre-ebook.com/download_linux using the Binary Install command provided (thank you).
Code:
$ calibre
QXcbConnection: Could not connect to display 
Aborted (core dumped)
~$ calibre-server
calibre server listening on 0.0.0.0:8080
OPDS feeds advertised via BonJour at: 192.168.1.xx port: 8080

$ sudo apt-show-versions calibre
calibre:all not installed

$ calibredb --version
calibredb (calibre 3.13)
Several services were not-found (inactive) and calibre.service loaded but failed. However all the calibre-server functions were working including access to the /opds xml file.

I then added a @reboot crontab function as a simple way to automatically start calibre-server by adding this line at end of the default crontab file:
Code:
 @reboot /opt/calibre/calibre-server &
Attempts to convert calibre-server to a service weren't successful. Probably due to the conflict with the existing calibre.service.

It is a little disconcerting having those failed or inactive services hanging around from the GUI version of calibre. Any way to remove them (see attached screenshot)? While a CLI version of calibre would be appreciated, I'm happy having everything working this way.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2017-12-15 at 11.57.37 AM.jpg
Views:	551
Size:	92.4 KB
ID:	160658  
dlfuller is offline   Reply With Quote