Mobileread
Calibre running on OpenMediaVault with limitations?
#1  ygreq 08-30-2020, 05:55 AM
There is a tut on youtube on how to install Calibre in OMV via Docker: https://dbtechreviews.com/2020/05/ho...mv-and-docker/. I followed it and managed to make Calibre work. But I am having some problems in relation to accessing my libraries that are on external harddrives.

If any of you knows a way to actually use multiple libraries on multiple harddrives with this solution, please let me know. This is where I am now: when I try to change the library by going to Calibre Library -> New Location and browse for a new location, when I click on Computer then /, I get a limited directory structure that is not related to the one that OMV is able to access. I have almost zero knowledge in linux and docker, but a friend of mine who is good in linux (but with zero experience in docker) did not figure this either. So is that what I am seeing the docker image structure of calibre? And how can I make calibre see more than that structure? For example some folders I created and shared in OMV.

Thank you so much for any suggestion you might have!
Reply 

#2  HereIAm 10-18-2020, 01:32 PM
If you think Docker container as a virtual machine (VM) on your server then you can understand why you couldn't see your actual server's folders. This is how containers work, it isolates the resources from the host. In order to achieve your goal, you can duplicate the line under "volumes" like this:
Code
 volumes: - /srv/dev-disk-by-label-Files/Calibre:/config - /srv/dev-disk-by-label-Files/MyCalibreLibs:/MyLibs
Just be very careful about the line indent, it has to be exactly the same as the one above and use whitespaces only.

Here is the simple explanation of the line:
- It maps host's folder to VM's folder so you can see it from the containerized Calibre
- the left part of ":" is the one on the host, your actual server, it must exist and should contain you existing library
- the right part will be the one you look for the library when switching library in Calibre

For multiple libraries, you have two options
- put all your libraries under the same folder then map the folder to VM, or
- repeat the volume mapping line per library

Hope that helps!
Reply 

Today's Posts | Search this Thread | Login | Register