Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2017, 06:09 AM   #1
gonzalo.cao
Junior Member
gonzalo.cao began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2017
Device: Kindle V4
Calibre-server doesn't update books list without stop/start service

Somethings weird happens.

After updating to 3.3 version, calibre-server doesn't update books list when I upload changes with rsync. I've to manually stopt/start service to see the changes.

This is my init script. Ubuntu 16.04

/etc/init/calibre-web-server.conf
Code:
description "Calibre (ebook manager) web server"

start on runlevel [2345]
stop on runlevel [^2345]

respawn

env LIBRARY_PATH='/home/xxxx/xxxx_calibre'
env PORT='31000'

script

  exec /usr/bin/calibre-server $LIBRARY_PATH --port=$PORT                                   


end script
Any ideas?
gonzalo.cao is offline   Reply With Quote
Old 07-12-2017, 07:58 AM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
This is expected behaviour with v3. This is because you are not meant to run the server and the main Calibre program simultaneously in v3 as both of them can independently update the database.

Kovid’s suggested workaround was to instead start the Main Calibre server program minimised to the systray and set to auto-start the Calibre server from the main Calibre program.
itimpi is offline   Reply With Quote
Advert
Old 07-12-2017, 08:34 AM   #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: 44,962
Karma: 27109050
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dont use rsync, instead just directly add books to the running server via calibredb which can connect to a remote server, see https://manual.calibre-ebook.com/gen...calibredb.html

At some point the main calibre GUI will also be able to do that.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre content-server doesn't seem to see new books offby1 Calibre 7 05-05-2013 10:58 AM
calibre-server: Doesn't server up newly added files kaistian Calibre 5 03-17-2013 11:54 AM
After update calibre doesn't show the books on the device GabiBrtzz Library Management 2 01-25-2013 02:07 PM
Calibre wont stop trying to get a list of books on GN7 Post-It Devices 16 10-01-2012 09:30 AM
Calibre 7.28 doesn't List Nook Books Kavon Calibre 0 11-15-2010 11:20 AM


All times are GMT -4. The time now is 02:21 AM.


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