Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-23-2017, 08:25 AM   #1
Pascougnou
Junior Member
Pascougnou began at the beginning.
 
Pascougnou's Avatar
 
Posts: 9
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura HD
calibre-server 3.1 linux upgrade with userdb

Hello I've seen in the documentation to use the same command as install to upgrade an existing version of Calibre. I was wondering if we had a way to upgrade without loosing the configuration (in particular the userDB user for authentication for calibre-server), or is there something I'm missing?

Quote:
Binary install

calibre has a binary install that includes private versions of all its dependencies. It runs on 32-bit and 64-bit Intel compatible machines. To install or upgrade, simply copy paste the following command into a terminal and press Enter:
Thanks in advance.
Pascougnou is offline   Reply With Quote
Old 06-23-2017, 08:39 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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Installation/upgrade does not touch any user created data.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-23-2017, 09:11 AM   #3
Pascougnou
Junior Member
Pascougnou began at the beginning.
 
Pascougnou's Avatar
 
Posts: 9
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura HD
Hello kovidgoyal (you are so quick to answer )

Code:
I used

sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"

to upgrade, and after the upgrade 

calibre-server --manage-users 

didn't show any user any more and I had to recreate them.
Pascougnou is offline   Reply With Quote
Old 06-23-2017, 09:14 AM   #4
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Unless you put your userdb in the instalaltion folder that cannot happen. Note that you have to pass the --userdb option to manage users as well.
kovidgoyal is offline   Reply With Quote
Old 06-23-2017, 09:31 AM   #5
Pascougnou
Junior Member
Pascougnou began at the beginning.
 
Pascougnou's Avatar
 
Posts: 9
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura HD
I was missing the --userdb (it seems it was using the /user/.config/.calibre/server-users.sqlite by default).

I don't know how it gets erase during upgrade though.
Pascougnou is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
V3.0 commandlline calibre-server userdb mcaron1234 Calibre 6 06-18-2017 01:08 PM
Calibre library getting deleted on linux server Zeros Calibre 3 09-10-2014 06:13 AM
Calibre content server on linux error vil_coyotte Calibre 2 11-02-2012 08:56 AM
Calibre as a service in a linux server without QT4 nadid Calibre 4 01-25-2011 12:00 AM
Linux Calibre Server zeener Calibre 2 12-04-2010 10:47 AM


All times are GMT -4. The time now is 06:07 PM.


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