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 03-18-2022, 04:48 AM   #1
tycho
Member
tycho began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
calibre auto upgrade (and versions)

Hello

I am a happy user of calibre, thank you all contributor and specially Kovid

now, my issue:

I installed calibre on a server (linux), and I want to upgrade auto when there is a new release.
So my plan is: on a regular basis, check for http://code.calibre-ebook.com/latest
and compare it with the result of calibredb --version
and if it differs, then stop the server, run the update command (wget linux-installer.sh etc) and start the server

The first issue is that the "calibredb --version" gives only two levels, while calibre-ebook.com/latest gives three levels ( 5.39 != 5.39.0 ). Should I ignore the third level? Is there a way to get the third level of the installed version?

But also: I may be not the first one to do this. Is there a better way to auto upgrade calibre?
tycho is offline   Reply With Quote
Old 03-18-2022, 05:15 AM   #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: 44,207
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It will print the third digit if the third digit is not zero.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-30-2022, 01:05 PM   #3
tycho
Member
tycho began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jun 2018
Device: samsung
on the spot

Thanks
tycho is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Companion not Working - Upgrade Needed no Upgrade SASSBS Calibre Companion 11 01-20-2022 02:53 PM
Calibre Versions (AKA Why Should I Upgrade?) copyrite Calibre 9 10-21-2020 08:43 PM
what versions will the ABBYY FineReader 11 "upgrade" actually upgrade from... sufue Workshop 3 11-25-2011 04:24 AM
Did your Upgrade work ? Windows Versions PeterT Kobo Reader 18 07-03-2010 08:19 PM
Sur Amazon, des versions électroniques plus chères que les versions papier IreneDelse Amazon Kindle 8 08-29-2008 08:35 AM


All times are GMT -4. The time now is 11:04 PM.


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