![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2022
Device: none
|
Calibre Server resolution on Ubuntu 20.04
I run calibre-server on a headless Linode VM. I am also a paying supporter of this project.
Around 6 months ago, there was a change to the source for calibre-server that introduced a dependency for graphics libraries. This is most unusual for an application designed to run headless. A possible scenario was the unintentional introduction to the server source of a dependency previously only used in the GUI calibre client which imported a Qt module. I tried to point this out to Kovid Goyal but was treated quite rudely and given the standard answer of install the graphics libraries. Going down this path led to a situation where the graphics library versions on the calibre build server fell behind the version of the same library on the vanilla Ubuntu 20.04 long term support (LTS) version on Linode VMs. This would only be reconciled by updating dependencies on the calibre build server to LTS versions. I diplomatically pointed this out, but again Kovid Goyal would not investigate. It is now possible (Calibre 6.21) once again to install calibre-server on vanilla Ubuntu 20.04 LTS on Linode VMs. The requirement for graphics libraries for calibre-server remains in place, and can be resolved by this command: sudo apt install libopengl0 libglx0 libxcomposite1 libxdamage1 libxrandr2 libxtst6 libxkbfile1 I hope this may help other hapless souls who only want to run calibre headless on Ubuntu. If this of interest to you, I have developed a systemd daemon for autorestart of calibre server, and nginx pass-through setup enabling SSL server and also client certificates for improved security. I am happy to share the code. |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2022
Device: none
|
Correction. I am running Calibre 6.2.1 not 6.21.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There is nothing unintentional about it and if you had bothered to do even a little bit of reading you would know that. For instance: https://manual.calibre-ebook.com/faq...n-linux-server
And if you are going to bleat about me being rude to you, please go do it elsewhere. |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2022
Device: none
|
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,055
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Sep 2021
Location: Upstate NY, USA
Device: iPad Pro, Kindle basic
|
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
And looking at the first post, @pvspain states they told Kovid about an issue with newer libraries on Ubuntu 20.04 LTS breaking calibre. I can't find the discussion as @pvspain only the three posts in this thread, which seems strange. So I don't know if this is one of the times where a Linux distro decided to adopt a beta version of calibre as their current version and hence calibre and lots of plugins stopped working. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
installing Calibre content server 3 on ubuntu server 16_04 | khyox | Calibre | 22 | 01-06-2018 11:34 PM |
Calibre-server ubuntu server | GeekNbOne | Calibre | 1 | 10-03-2017 09:52 PM |
calibre-server 3.3 on Ubuntu | BMStroh | Devices | 6 | 07-14-2017 10:41 AM |
Calibre on ubuntu server | tdw197 | Calibre | 24 | 01-19-2011 07:48 AM |
Calibre RuntimeError on Ubuntu 8.04 Server | alexbt | Calibre | 3 | 10-13-2009 04:26 AM |