02-11-2018, 07:16 AM | #1 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
Calibre server won't start, but why?
I want to run a calibre content server on a copy of my library. Since the server detects changes in the database and reloads if necessary this should not be a problem. However, the server refuses to start with "Another calibre program such as another instance of calibre-server or the main calibre program is running."
Multiple programs updating the same SQLite database is a bad idea, but in this case calibre and calibre-server use different libraries and hence different databases. Code:
% calibre --with-library /bulk/calibre/tmp & [1] 22969 Using library at /bulk/calibre/tmp % calibre-server /bulk/calibre/bar Another calibre program such as another instance of calibre-server or the main calibre program is running. Having multiple programs that can make changes to a calibre library running at the same time is not supported. Exit 1 |
02-11-2018, 07:39 AM | #2 | |
Well trained by Cats
Posts: 30,578
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It looks like you are trying to start 2 different sessions. If you need per user level restrictions, then set up User Accounts in Preferences: Sharing over the Net |
|
Advert | |
|
02-11-2018, 07:41 AM | #3 |
creator of calibre
Posts: 44,769
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot run the GUI and the server at the same time. Either run the embedded server in the GUI or write a script that shuts down the server before launching the GUI and starts it back up after the GUI exits.
|
02-11-2018, 05:21 PM | #4 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
I think my mistake is that I considered calibre (and the content server) to operate on a library, and hence require exclusive access to that library only.
Ok, no big deal. |
02-11-2018, 06:53 PM | #5 | |
Well trained by Cats
Posts: 30,578
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The whole server thing was redone, so All known libraries (by default) are accessible from the server, be it built into the GUI or standalone. |
|
Advert | |
|
02-11-2018, 11:33 PM | #6 |
creator of calibre
Posts: 44,769
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah, not quite, the GUI can switch to any library at any time, including one it did not know about at startup. Similarly the server can access any number of libraries (though only the ones it knows about at startup, the server has no provision for crating new libraries).
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Version 3 server won't start if --log included | Dan__ | Devices | 2 | 07-11-2017 02:19 AM |
Calibre Won't Start | Spydarr | Calibre | 0 | 06-23-2015 10:14 PM |
Calibre won't start! | belle2 | Calibre | 4 | 09-19-2012 10:29 AM |
Calibre server won't start! | Moketa | Calibre | 6 | 05-24-2012 08:31 PM |
Caibre Server won't start | sglinert | Calibre | 2 | 06-30-2009 03:24 PM |