01-26-2021, 01:18 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2012
Device: Kindle
|
RPi server with catalogue on FreeNAS?
G'day!
I'm trying to set up a RPi Content Server to manage the pile of books on my FreeNAS server. Currently the family uses Calibre on macOS or Windows but I was hoping to have just a single content server to which all the family devices (Kindle, phones, Ipad, whatever) could get books from. Having said that and started to install RPi Calibre, I'm now looking for a way to get Calibre to look outside the RPi for its 'new' database. I want it to use the one on the FreeNAS, so as not to duplicate the books and lose the resilience of the NAS, but I can't find a way to get RPi Calibre to use a symlink or to look outside the SD card. Have I missed an obvious post that says either how to do it or destroys my hopes? thanks, Chris M |
01-26-2021, 02:04 PM | #2 | |
Wizard
Posts: 2,129
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
bernie |
|
Advert | |
|
01-26-2021, 03:05 PM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2012
Device: Kindle
|
Ah, yes, that's quite clear at first sight, and yet...
This is from the middle of that FAQ: 'Consider using the calibre Content server to make your books available on other computers. Run calibre on a single computer and access it via the Content server or a Remote Desktop solution.' That's pretty much what I wanted to do, with the RPi Content Server managing the distribution and the NAS RAID-Z2 store keeping the books safe. I have no problem securing the drive share such that only the RPi can see it, but I don't see how to tell the RPi to look offboard at the symlink/share/whatever... The comment re network filesystems seems unlikely to be relevant to FreeNAS (now TrueNAS) as it strives to be faithful to the RFCs rather than implementations. It still seems likea good idea, if only I could get the RPi to look elsewhere. Oh well. |
01-26-2021, 10:26 PM | #4 |
creator of calibre
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
not sure what you are asking. calibre libraries are just folders and as long as they are mounted on the filesystem read/write they can be used by calibre. And as gbm pointed out, putting your calibre library on a NAS is etremely perilous.
|
01-27-2021, 08:02 AM | #5 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2012
Device: Kindle
|
As long as the library share is inaccessible to anything but Calibre, I'm likely to favour a RAID-Z2 setup for a library over a SD card. My problem is that I can't see how to get RPi Calibre to open anything other than the SD card for its library. On the initial setup screen, the file selecter popup is pre-loaded to look only for files of type 'Library' and a symlink pointing elsewhere is not visible. It may simply be that RPi Calibre is limited in this way but I can't see that documented anywhere...
|
Advert | |
|
01-27-2021, 08:10 AM | #6 |
creator of calibre
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can type whatever path you like in the welcome wizard to choose a library and you can further change the library calibre points to after its first run as well.
|
01-27-2021, 08:36 AM | #7 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2012
Device: Kindle
|
Apparently not on the RPi 3.39.1 version, which is what I got as the latest thing. It's odd, as the RPi file manager can get to the SMB share and display the files, including all the metadb files but Calibre can't. Taking the pacmanfm file path from the display and pasting it into Calibre 'Choose location for library' popup gets the 'Directory not found' error. Doesn't look like RPi as the manager for the library is a goer. TrueNAS is built on FreeBSD, so that's not going anywhere with Calibre. Mayhap a Windows VM running on the TrueNAS....
Thanks for your help, I'll give this one up. |
01-27-2021, 01:53 PM | #8 | ||
Wizard
Posts: 2,129
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Take a look at this thread the Calibre-Portable.sh: Quote:
YMMV Good luck bernie |
||
01-31-2021, 07:51 AM | #9 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2012
Device: Kindle
|
Quote:
|
|
01-31-2021, 12:57 PM | #10 | |
Wizard
Posts: 2,129
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
bernie If you are using calibre on a window pc then you can find Calibre-Portable.sh in: C:\Program Files\Calibre2\app\resources Last edited by gbm; 01-31-2021 at 01:22 PM. |
|
01-31-2021, 03:24 PM | #11 |
Bibliophagist
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
From the posts, the OP is running calibre 3.39.1 (a rather old version) on a Raspberry Pi (so needs an ARM port of calibre). If he wants an up to date version of calibre, he is likely going to need to install Arch Linux.
|
01-31-2021, 06:15 PM | #12 |
Running with scissors
Posts: 1,557
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Is it safe to put the calibre libraries on a NAS if it's only accessed from, in my case, my one and only Windows computer? I was thinking that a raid 5 setup with 3 or more drives would be safer than my random once a month backups to a USB drive. And I'm hoping that a NAS will do all of the SMB things that Windows needs.
|
01-31-2021, 10:09 PM | #13 | |
Bibliophagist
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
01-31-2021, 10:44 PM | #14 | |
Running with scissors
Posts: 1,557
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Quote:
|
|
01-31-2021, 10:45 PM | #15 |
Bibliophagist
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
Tags |
freenas, rpi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copying multiple physical libraries from Mac to RPi | mdclanahan | Library Management | 8 | 03-08-2020 10:50 PM |
Android catalogue app using calibre catalogue | amokima | Reading and Management | 1 | 12-02-2017 04:37 PM |
same catalogue across different OS | alanHd | Library Management | 0 | 04-03-2013 07:15 PM |
freenas | jfpilon | Calibre | 2 | 01-05-2012 11:23 AM |