![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2011
Device: Nook Color
|
![]()
I setup Calibre Server to run on an Ubuntu 16x server. I installed Calibre using this command:
sudo -v && wget -nv -O- https://raw.githubusercontent.com/ko...x-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" My question is, since I did not use the apt-get process of installing Calibre, how do I go about updating Calibre when new versions come out? I'm assuming I do not simply re-run the same command and I'm hoping someone can point me in the right direction. |
![]() |
![]() |
![]() |
#2 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 666
Karma: 1752814
Join Date: Jan 2008
Device: Sony Reader PRS-505 : Onyx Boox Max : Sony PRS-900 : Onyx Kepler Pro
|
I'm actually thinking that you do. The .py file would be updated from git, someone correct me if I'm wrong.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,110
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You simply re-run the same command.
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2011
Device: Nook Color
|
Ok, thank you. I wasn't sure and didn't want to risk overwriting everything I had already done.
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,110
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Installation/un-installation touches only program files, never data files.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2011
Device: Nook Color
|
I ran the same wget command again and it appeared to update but I ran into a couple of issues.
The first issue was that it removed the calibre.log file from /opt/calibre so I had to recreate it and then assign it permissions. The second issue and the one I haven't been able to fix is now when I try to access the site I get this message. Failed to load books from calibre library, with error: Failed to communicate with "/interface-data/books-init?library_id=calibre-library&sort=timestamp.desc&1528739880411", with status: [500] Internal Server Error Not sure what went wrong. *Update I restored my backup and then check the /opt/calibre directory before the update and and after and saw that both the calibre.log and server-users.sqlite files were missing after the update. I ran the update again and this time after it finished I copied the log and sqlite files back over and this time the site appears to be working properly. I moved the calibre.log and server-users.sqlite files out of the /opt/calibre directory so that next time I run the command I won't need to worry about these two files. Should also make automating the update much easier. Last edited by baron164; 06-11-2018 at 04:03 PM. |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,110
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Why are you creating calibre.log and the sqlite file in the installation directory? The only way that can happen is if you have set the CALIBRE_CONFIG_DIRECTORY environment variable to the installation directory. Dont do that.
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2011
Device: Nook Color
|
The guide I was following for the install had me create them in the directory. As this is my first time with the Linux version of Calibre I just didn't know any better. But now I do and I certainly won't do that again :-)
Last edited by baron164; 06-12-2018 at 09:05 AM. |
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,110
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah, well in that case, welcome to Linux
![]() |
![]() |
![]() |
![]() |
Tags |
calibre-server, ubuntu 16.04, update |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre update problem under Ubuntu / "E-book converter and library management" | pinosan | Calibre | 2 | 11-19-2017 06:38 AM |
Calibre Won't Run [ubuntu 14.04 / calibre 3.0] | ciscopixie | Devices | 2 | 06-19-2017 04:04 PM |
Unable to update Calibre (Ubuntu) since 2.76 | spliton210 | Calibre | 3 | 02-17-2017 08:01 AM |
Update, Error message on Ubuntu 12.04 | Lanson | Devices | 12 | 07-03-2016 06:04 PM |
kobo-desktop update for ubuntu | littlebear126 | Kobo Reader | 1 | 12-29-2011 09:11 AM |