View Single Post
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