Resource icon

Docker Calibre book manager in Docker

Currently reading
Docker Calibre book manager in Docker

Any idea why setting the automatic adding feature from a folder in preferences doesn't work? Only does when you restart the docker.
 
Any idea why setting the automatic adding feature from a folder in preferences doesn't work?

I turned on auto-import and used the folder I referred to in my post before yours, and everything worked.

Of course, calibre had to be restarted once after invoking auto-import, but it works fine.
 
Hi Telos.
Im new into Synology. I have the DS218+ and trying to run the steps you have provided. Accept my apologies in advance as am also new in Linux.
Currently Calibre library sits in my PC.
Id like to transfer it to my NAS (So the whole family has access to it)
The first step you mention is to have the library in the NAS. I created a share folder following the same names you provided, and initially copied several books into it (for testing purposes). I got to the stage where i type my xxx.xxx.x.100:27880 and is not opening.
May I ask your support and perhaps, guide me more in detail?
Thanks
 
Open the Docker app, select your running Calibre container; click the "Details" button, and provide screenshots of the Port Settings/Volume tabs in the lower-left corner. Your "Links" tab should be blank, and your "Network" tab should look like:
QM6vcwD.png


Be sure the Calibre URL you are using is http (not https) and the IP is your current NAS IP (you should be using a "fixed" IP on your NAS.

One thing to note... When starting the Calibre container, it may take a minute or so before the URL will respond, as Calibre is busy upon launch. If the URL doesn't work after 5 minutes, something is broken.
 
Hi Telos.
Im new into Synology. I have the DS218+ and trying to run the steps you have provided. Accept my apologies in advance as am also new in Linux.
Currently Calibre library sits in my PC.
Id like to transfer it to my NAS (So the whole family has access to it)
The first step you mention is to have the library in the NAS. I created a share folder following the same names you provided, and initially copied several books into it (for testing purposes). I got to the stage where i type my xxx.xxx.x.100:27880 and is not opening.
May I ask your support and perhaps, guide me more in detail?
Thanks
Hi. I aso noted I couldn't use port 8080 as it was already in use, hence why I changed it for 8081, is it ok?
 
I aso noted I couldn't use port 8080 as it was already in use, hence why I changed it for 8081, is it ok?
Perhaps you should re-read the setup instructions more closely. You should not use port 8080 (or 8081). The only reference to those ports involved the container port (defined by the image):
fzqJtxA.png
This is why I asked for the screenshots.
 
Last edited:
Perhaps you should re-read the setup instructions more closely. You should not use port 8080 (or 8081). The only reference to those ports involved the container port (defined by the image):
fzqJtxA.png
This is why I asked for the screenshots.
Hi Telos
NAS has a fixed IP address.
I stopped the package and took screenshots.
I modified 27880 with container port: 9080
and 27881 with container port: 9081.
I have also attached screenshots. I am very new into Linux and configurations
Looking forward for your comments
Dear Telos. I just realized something, when I http://192.168.1.XXX:32774, it opens the caibre
 

Attachments

  • Screen 1.PNG
    Screen 1.PNG
    248.5 KB · Views: 64
  • Screen 6.PNG
    Screen 6.PNG
    159.5 KB · Views: 60
  • Screen 5.PNG
    Screen 5.PNG
    5.2 KB · Views: 57
  • Screen 4.PNG
    Screen 4.PNG
    7 KB · Views: 57
  • Screen 3.PNG
    Screen 3.PNG
    8.4 KB · Views: 56
  • Screen 2.PNG
    Screen 2.PNG
    75 KB · Views: 59
  • Screen 9.PNG
    Screen 9.PNG
    167.2 KB · Views: 59
  • Screen 8.PNG
    Screen 8.PNG
    34.9 KB · Views: 59
  • Screen 7.PNG
    Screen 7.PNG
    123.4 KB · Views: 60
  • Calibre-32774.PNG
    Calibre-32774.PNG
    162.8 KB · Views: 64
Thank you for the screenshots... 2 obvious comments that point to errors in your setup.
1. Your port mappings do not match the procedure write-up. You cannot edit the container port numbers. Also, you show four port mappings... the write-up shows three, and you are using container ports which are unrecognized by this image.
2. Your volume mapping for your Calibre library seems odd... you show share folder "Ebooks" in your Docker volume mappings, but your file system screenshot also shows a shared folder called "Calibre_Library" along with another folder of that same name under the "Ebooks" shared folder. I don't know where your book library exists but the local path should match the folder under which all your calibre book folders reside. There is no need to create "Calibre_Library" folders unless that is where your book folders reside (and there would be only one folder for your Calibre books).

I cannot offer much help more than this since it seems that you are not following the prescribed steps.
 
Thank you for the screenshots... 2 obvious comments that point to errors in your setup.
1. Your port mappings do not match the procedure write-up. You cannot edit the container port numbers. Also, you show four port mappings... the write-up shows three, and you are using container ports which are unrecognized by this image.
2. Your volume mapping for your Calibre library seems odd... you show share folder "Ebooks" in your Docker volume mappings, but your file system screenshot also shows a shared folder called "Calibre_Library" along with another folder of that same name under the "Ebooks" shared folder. I don't know where your book library exists but the local path should match the folder under which all your calibre book folders reside. There is no need to create "Calibre_Library" folders unless that is where your book folders reside (and there would be only one folder for your Calibre books).

I cannot offer much help more than this since it seems that you are not following the prescribed steps.
Hi Telos
Shall I re-start from scratch then?
 
i fixed it, what I did is I exported the library from my PC, and added it to the Calibre, only difference was that my library is within "docker" folder, it all went smooth, I will do the server bit tomorrow, so each person will have their own access, is a huge library

Thank u
Thank you for the screenshots... 2 obvious comments that point to errors in your setup.
1. Your port mappings do not match the procedure write-up. You cannot edit the container port numbers. Also, you show four port mappings... the write-up shows three, and you are using container ports which are unrecognized by this image.
2. Your volume mapping for your Calibre library seems odd... you show share folder "Ebooks" in your Docker volume mappings, but your file system screenshot also shows a shared folder called "Calibre_Library" along with another folder of that same name under the "Ebooks" shared folder. I don't know where your book library exists but the local path should match the folder under which all your calibre book folders reside. There is no need to create "Calibre_Library" folders unless that is where your book folders reside (and there would be only one folder for your Calibre books).

I cannot offer much help more than this since it seems that you are not following the prescribed steps.
 
Thank you for the screenshots... 2 obvious comments that point to errors in your setup.
1. Your port mappings do not match the procedure write-up. You cannot edit the container port numbers. Also, you show four port mappings... the write-up shows three, and you are using container ports which are unrecognized by this image.
2. Your volume mapping for your Calibre library seems odd... you show share folder "Ebooks" in your Docker volume mappings, but your file system screenshot also shows a shared folder called "Calibre_Library" along with another folder of that same name under the "Ebooks" shared folder. I don't know where your book library exists but the local path should match the folder under which all your calibre book folders reside. There is no need to create "Calibre_Library" folders unless that is where your book folders reside (and there would be only one folder for your Calibre books).

I cannot offer much help more than this since it seems that you are not following the prescribed steps.
Hi Telos
If ok, could you please support on the server bit: I tried and is giving me the following error:
Could not start the content server. Error:
No socket could be created ~ (('172.17.0.2’:8080):[Errnno98] Address already in use)

Please let me know if you need some other screenshots, or info

Thanks a lot for the support!
 
If ok, could you please support on the server bit: I tried and is giving me the following error:
Could not start the content server. Error:
No socket could be created ~ (('172.17.0.2’:8080):[Errnno98] Address already in use)
To connect to the Calibre server, you must use the local port mapped to 8081. From the write-up...
Fxem84Y.png
If you followed the write-up, the server link would be
http://192.168.1.10:27881 (presuming your NAS fixed IP is 192.168.1.10)
 
To connect to the Calibre server, you must use the local port mapped to 8081. From the write-up...
Fxem84Y.png
If you followed the write-up, the server link would be
http://192.168.1.10:27881 (presuming your NAS fixed IP is 192.168.1.10)
Hi Telos

My apologies on not replying earlier, I thought I did, it worked!!!!

THANKS a LOT !

May I ask, when a newer Calibre version becomes available, as it is now 5.0.0, how does the update?

Again THANKS! the whole family has access to the library online
 
May I ask, when a newer Calibre version becomes available, as it is now 5.0.0, how does the update?
You would update it as you would any Docker container. This post describes the process...

Does that help?

But a caveat... I have not tested v5.x (though the docker image is now available), and I would not recommend doing so at this time, unless you create a parallel container (basically a second calibre instance), by selecting the specific image release (not "latest", which will replace your v4.x image). For example.
XuoYEHM.png


And then... re-entering all the same info you entered on your v4.x container.

I say this as v5.x users are reporting numerous bugs, and notably, v4.x plugins are incompatible with v5.x. Unless their developers have released v5.x plugins, you will lose their capabilities.

If you choose to try v5.x, I'd love to hear about your experience.
 
I have Calibre v5.1 running in Docker and all seems well (I used the linuxserver.io image). I have not yet activated the server portion. FWIW, the 5.1 Docker volume mappings were changed on Docker Hub, but the changes were inconsequential.

As I built this as a separate container (not upgrading from v4.x), I can't say with absolute assurance that the normal container upgrade process is problem-free, but I would not anticipate issues.

However... as all Calibre plug-ins need to be rewritten for v5.x (Calibre now uses Python v3), not all plug-ins are v5 ready. Notably, the DRM plugin is presently unavailable (if you need this plug-in you should remain with Calibre 4.2.3), or... if you upgrade, run a portable Calibre v4.2.3 instance on your PC for your DRM removal needs.
 
First, thank you very much for your detailed instructions! This was very simple to get going.

I do have a question. I've noticed that as long as the docker container is running, I can hear the HDD in my NAS every 10-15 seconds. Whether I'm accessing the calibre container or not, all day long. It stops when I stop the container. I only have one container at the moment.

Does anyone else have this? Any recommendations on where to look? This is my first container so I'm out of ideas.
 
Yeah, I guess I dont have enough to go on. I did hear some of the same sounds (like the disk is being accessed) even with Docker off. The odd thing is that the resource monitor is showing 0% disk activity. Oh well, I'll have to keep my ear on it.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

BobW submitted a new resource: How to Setup Custom Error Pages for Nginx-Proxy-Manager (NPM) - Setup...
Replies
0
Views
678
Thank You for the great input. I try not to Muck around with SSH on the NAS. I mistakenly waited too long...
Replies
3
Views
1,691
hello, i'm using this tutorial to build my nginx proxy on docker and mariadb on docker, but them i do...
Replies
8
Views
4,675
I discovered if you use fireflyiii/core:latest everything works just fine
Replies
35
Views
16,836
hmmm, looks like something bad happened :( Of course I am inserting a correct admin token (newly...
Replies
421
Views
93,489

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top