09-03-2021, 12:39 PM | #1 |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
Calibre on a NAS Server (Synology DS920+) in 2021
Hi All,
I’m wondering if it is still recommended not to put a calibre library on a NAS Server (Synology)? Or if there is a way to do this safely... In past posts and on the calibre FAQ it still says ‘Do not put your calibre library on a networked drive’ where it recommended not to put calibre on a networked drive. The posts are from a while ago so thought I would start a new discussion. Hardware and software has changed so wondering if recommendation has changed? MobileRead
There appears to be TWO ways in which you could access a calibre library from a NAS
I currently have one of my libraries installed using option 2 (as a sort of test) and I can access it from my Mac mini and my laptop (or any computer with calibre installed and access to the NAS). It's really useful obviously to use NAS as I can access wherever in the house and in particular one of my libraries is very large (manga library) so don’t want to put on computer. Is it still recommended not to access calibre library from a NAS? If so, why not? For those who tried and it didn't work, what did it do? Corrupt files etc...? If it is okay, which is best configuration (option 1 or 2 mentioned above or some other option)? And if you are using NAS, what do you do for backups / how do you do backups? Other things to make it safe to use? Greatly appreciate any advice. Thanks Inukami |
09-03-2021, 01:38 PM | #2 |
creator of calibre
Posts: 44,554
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Nothing has changed, you still risk data loss putting your calibre library on a NAS. The way to do this safely is to run the calibre content server ona central machine and connect to it from other computers.
|
09-10-2021, 02:30 AM | #3 |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
Thanks @kovid for your response.
When you say run calibre content server on central machine and connect from other computers, do you mean connect on the browser or is there a way to open the database/books in the calibre software? The content server on browser is not ideal for me for editing etc...and would prefer to do it from the software on the laptop (if for example main library on mac mini). But if running content server on one computer, you can't access that database on another computer running calibre can you? Only via the browser? Could you also access the database through two macs network locations (not the NAS)? Would this be using the Connect to folder feature? Or would this not work? Thanks, Inukami |
09-10-2021, 03:00 AM | #4 |
creator of calibre
Posts: 44,554
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
via the browser, there is no support for using a networked backend with the main calibre program. If you want to do that, then maintain your library on one main computer and use rsync or similar to copy the library from there to your server. The copy needs to be one way.
|
09-10-2021, 03:12 AM | #5 |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
Thanks Kovid.
Inukami |
09-12-2021, 08:26 PM | #6 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2021
Device: Kindle Oasis
|
I do not know if this is recommended, and your mileage may vary, and this might not help, but I have a NextCloud server and use that to sync between it and my computer. I Calibre pointed at the library that is synced on the local computer.
Never had an issue or any data loss. Been doing this for a couple of years now. |
09-17-2021, 12:25 PM | #7 |
Connoisseur
Posts: 52
Karma: 10
Join Date: Sep 2021
Location: Upstate NY, USA
Device: iPad Pro, Kindle basic
|
Would mind expanding on this answer, please? I (and I suspect others) have a NAS that's in a RAID specifically to prevent data loss. Thanks!
|
09-17-2021, 02:03 PM | #8 | |
Well trained by Cats
Posts: 30,447
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:
Calibre does many file and database entries that MUST remain in lockstep. Also 2 simultaneous users might cause a clash as the write is from a memory version (and the other has no way of knowing things changed). Calibre is not a true Client - server app. There are no File - record lock type interactions. |
|
09-17-2021, 03:09 PM | #9 | |
Connoisseur
Posts: 52
Karma: 10
Join Date: Sep 2021
Location: Upstate NY, USA
Device: iPad Pro, Kindle basic
|
Quote:
|
|
09-18-2021, 12:13 AM | #10 | |
creator of calibre
Posts: 44,554
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
Networked filesystem basically work only if you restrict yourself to simple file copy operations and nothing else. calibre does much more than that. |
|
09-18-2021, 02:46 AM | #11 | |
Connoisseur
Posts: 52
Karma: 10
Join Date: Sep 2021
Location: Upstate NY, USA
Device: iPad Pro, Kindle basic
|
Quote:
As for your suggestion, I have been working on setting up calibre-server on a headless server. So, thanks for that. Unfortunately, through no fault of yours, I'm sure, the arm64 repos are out-of-date (as we discussed in the recent thread about calibredb throwing a python error). And, even with current a version running on an x64 Windows 10 system I can't make it do what I want, so I'm left weighing how much time and effort will be needed to learn how to make the software do what I want (or if it's even possible at all). So, again, thanks for your efforts in creating the software. Even if I don't end up using it, it's definitely a powerful piece of coding. |
|
Tags |
2021, calibre, nas, networked drive, synology |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre on multiple computers while running server on a Synology NAS | irishtexmex | Calibre | 0 | 07-12-2017 11:11 AM |
Calibre on a Mac and chronosync issue with a Synology NAS | hugoheitz | Devices | 0 | 05-04-2017 07:01 AM |
Calibre Cloud Pro & Synology NAS | Togsie | Related Tools | 2 | 04-29-2015 07:53 PM |
Calibre with Synology NAS | Johan1974 | Devices | 7 | 10-17-2013 06:24 PM |