Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 07-31-2022, 09:23 PM   #1
pvspain
Junior Member
pvspain began at the beginning.
 
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.
pvspain is offline   Reply With Quote
Old 07-31-2022, 09:34 PM   #2
pvspain
Junior Member
pvspain began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2022
Device: none
Correction. I am running Calibre 6.2.1 not 6.21.
pvspain is offline   Reply With Quote
Advert
Old 07-31-2022, 09:46 PM   #3
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: 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.
kovidgoyal is online now   Reply With Quote
Old 08-02-2022, 01:00 PM   #4
pvspain
Junior Member
pvspain began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2022
Device: none
https://arstechnica.com/gadgets/2018...learn-empathy/
pvspain is offline   Reply With Quote
Old 08-02-2022, 01:03 PM   #5
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: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://www.catb.org/~esr/faqs/smart-questions.html
kovidgoyal is online now   Reply With Quote
Advert
Old 08-02-2022, 01:04 PM   #6
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: 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:
Originally Posted by pvspain View Post
https://www.mobileread.com/forums/fa...ing_guidelinesI will remind you of the Mobileread guidelines (rule 1 )
theducks is offline   Reply With Quote
Old 08-04-2022, 11:23 AM   #7
CubGeek
Connoisseur
CubGeek began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Sep 2021
Location: Upstate NY, USA
Device: iPad Pro, Kindle basic
Quote:
Originally Posted by pvspain View Post
I tried to point this out to Kovid Goyal but was treated quite rudely
This is not surprising nor uncommon, unfortunately. Luckily, the other denizens of this set of sub-forums are incredibly helpful and generally point people in good directions.
CubGeek is offline   Reply With Quote
Old 08-06-2022, 09:23 AM   #8
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by CubGeek View Post
This is not surprising nor uncommon, unfortunately. Luckily, the other denizens of this set of sub-forums are incredibly helpful and generally point people in good directions.
As a percentage of Kovid's posts, the ones where he might seem deliberately rude (as against being abrupt because he simply posts a link to an FAQ, or heaven forbid, a link to the commit for the fix) is absolutely tiny. But, if you only look at posts where he is responding to someone who is being rude or making demands, such as the first post here, it probably seems like he is rude quite often.

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.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 01:15 PM.


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