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

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 05:06 AM   #1
Sylvain Langlois
Junior Member
Sylvain Langlois began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2024
Device: Kindle
Sharing the same library among multiple users : how to ?

Good morning. Ths question has probably been raised before but I couldn't find any thread in the forums.I have a ebook database of sevreal thousand entries on a NAS at home (Synology DS220+). I have installed Calibre on my PC : the NAS partition is "mounted" on the PC through a wifi access to the NAS. Everything works fine and I use it very often to add new books to the database, maintain it, enhance books with metadata, ... My wife and children would like to use Calibre as well, on the same PC from their own windows accounts. When I tried to launch Calibre from my wife's account, it says that the database did not exist (although she can see all the books with Windows File Explorer.
My question : am I missing a special configuration trick to have multiple access to the same books collection ? They could do it using the web interface (which I haven't tried yet) but they would like to use the standard Calibre application, so that they can add new books themselves.
Hints are welcome. Thanks in advance.
Have a good day.
Sylvain
Sylvain Langlois is offline   Reply With Quote
Old Yesterday, 07:09 AM   #2
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 15,117
Karma: 111120239
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
It will break.
Calibre needs local files, not remote. It's using SQLight, not an SQL server, and if was running an SQL server you'd connect to that, not files, and there would still be a problem because the actual ebooks are not inside the database, though logically part of it.

One option is to run Calibre on the NAS (if it can) and start the Calibre Content Server.

You can't do what you have tried, and even what is working will break.

A second option is a "main" calibre on your PC with local files and rsync (grsync) to the NAS when Calibre is closed. Then on the other laptop(s), rsync from NAS (regarding it as read-only) to the laptop when Calibre closed. Only add ebooks, edit metadata or ebooks on the main PC. This is very reliable. Use rsync (grsync) to only copy newer files or delete files not on source. The grsync simply is a GUI to generate the rsync arguments.
Quoth is offline   Reply With Quote
Old Yesterday, 09:50 AM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,903
Karma: 150249631
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Remote access into your computer to run calibre on the other computers.
JSWolf is offline   Reply With Quote
Old Yesterday, 04:55 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,036
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by JSWolf View Post
Remote access into your computer to run calibre on the other computers.
¡ There is only one PC Jon !

Quote:
Originally Posted by Sylvain Langlois View Post
. . .

I have a ebook database of sevreal thousand entries on a NAS at home (Synology DS220+). I have installed Calibre on my PC : the NAS partition is "mounted" on the PC through a wifi access to the NAS. Everything works fine and I use it very often to add new books to the database, maintain it, enhance books with metadata, ... My wife and children would like to use Calibre as well, on the same PC from their own windows accounts

. . .
BR
BetterRed is offline   Reply With Quote
Old Yesterday, 05:54 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,036
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Sylvain Langlois View Post
. . .

Hints are welcome.
Firstly, make sure you have backups of your library and calibre's configuration folder and you know how to restore them if something breaks.

Hint: see the following Environment variables
Quote:
CALIBRE_CONFIG_DIRECTORY - sets the folder where configuration files are stored/read.
CALIBRE_TEMP_DIR - sets the temporary folder used by calibre
CALIBRE_CACHE_DIRECTORY - sets the folder calibre uses to cache persistent data between sessions
CALIBRE_OVERRIDE_DATABASE_PATH - allows you to specify the full path to metadata.db. Using this variable you can have metadata.db be in a location other than the library folder. Useful if your library folder is on a networked drive that does not support file locking.
You would set them as System Environment variables (in Settings search for 'env').

The locations referenced would not be within any User directory, I would use C:\ProgramData\MyCalibre (aka C:\Users\All Users - via a Windows installed junction) so you might have:

Code:
CALIBRE_CONFIG_DIRECTORY=C:\ProgramData\MyCalibre\Configuration
CALIBRE_TEMP_DIR=C:\ProgramData\MyCalibre\Temp
CALIBRE_CACHE_DIRECTORY=C:\ProgramData\MyCalibre\Cache
CALIBRE_OVERRIDE_DATABASE_PATH=C:\ProgramData\MyCalibre\Library\metadata.db
Downsides :
- would only work for one library (database)
- if a change is made to any of calibre's preferences it will apply to everyone.
- I do not know how well it would cope with multiple e-readers registered to different accounts at different suppliers.

BR
BetterRed is offline   Reply With Quote
Old Today, 11:05 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,903
Karma: 150249631
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Make sure the NAS is exactly the same on their accounts as it is on your account. Any calibre/QT environment variables you use, you need to set the same on their accounts.

That should work.
JSWolf 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
Sharing a Calibre library between users on Ubuntu PiggyReader Calibre 4 11-04-2019 02:16 PM
Sharing Annotations on Multiple Devices black_viking Android Devices 1 09-24-2016 02:31 PM
Calibre Library for multiple users? ginchiller Calibre 3 07-12-2016 10:52 PM
Media sharing at home: multiple users, NAS DerBusIsVoll Library Management 6 02-13-2012 01:01 PM
Sharing news feeds among users. Sin Jeong-hun Calibre 3 10-09-2010 01:26 PM


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


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