Resource icon

Docker Calibre book manager in Docker

Currently reading
Docker Calibre book manager in Docker

@Didam Thank you for your kind words. Members on the forum are always welcome to help out and it means a lot when the effort is appreciated.

Glad you got it going, and well done on the growing list of services that you have now running on your end.
 
The only thing I can think of is adding an allow rule for container IPs, such as

172.17.0.0 255.255.0.0 all

Some time ago I used this, but after disabling it I saw no ill effect, so it remains disabled.

I'm also using the "All Interfaces" firewall setting for most of my rules.

But back to Calibre... what port mappings are you using... Is your PUID/PGID values from your administrator account?
Hi Telos,
Thanks for persevering with me on this.
I tried the 172.17 etc rule but no luck.
The user is not an admin, it's one that I created especially for Calibre. I'll try making it an admin, but don't like that as a solution. I have the following port mappings, although I thought I had set 3389 to auto.
1606245397115.png

I think I might re-acquaint myself with WireShark and see if I can see any clues using that, although I expect I might have to work out how to install on the NAS rather than a PC on the network.
 
Ports seem fine (you will only see "auto" when the container is not running). My bet is on the user account not having rights. I trust you used the PGID/PUID specific to the user you created.

Before you change PGID/PUID to administrator values, check you calibre library and calibre docker folders to ensure that the user that you created is "owner" over all files/folders/children. If you change that, I would restart the calibre docker.
 
Ports seem fine (you will only see "auto" when the container is not running). My bet is on the user account not having rights. I trust you used the PGID/PUID specific to the user you created.

Before you change PGID/PUID to administrator values, check you calibre library and calibre docker folders to ensure that the user that you created is "owner" over all files/folders/children. If you change that, I would restart the calibre docker.
No, make my Calibre user the owner of the folder and files didn't make a difference. The only thing that makes it work is disabling the catch all deny all firewall rule or disabling the firewall altogether. But as I said earlier, if I try downloading the meta data with the rule enabled I get an error from Calibre (but it has no detail), but despite having firewall notifications turned on, there are no notifications.
 
Has anyone faced problems with blank page on calibre docker start?
I've installed it using 27880 and 27881 ports, but when I launch it I see a blank page with a cursor without calibre interface.
Thanks in advance.
 
Has anyone faced problems with blank page on calibre docker start?
I've seen that on the Calibre interface occasionally. Generally shortly after starting the container. If the container has been running for a while, try refreshing the browser tab, or try an alternate browser.

Also disable any browser blockers for that domain/IP.

I've installed it using 27880 and 27881 ports
These launch different features. However, notably the docker-compose has evolved since I initially set this up. For example, I am now using this...
Code:
version: "2.1"
services:
  linuxserver-calibre:
    image: lscr.io/linuxserver/calibre:latest
    container_name: calibre
    environment:
      - PGID=1234
      - PUID=5671
      - TZ=America/The_Swamp
    ports:
      - 27880:8080 # app
      - 27881:8081 # server
    volumes:
      - /volume1/docker/calibre/config:/config
      - /volume1/library:/myLibrary
    restart: unless-stopped
 
These launch different features. However, notably the docker-compose has evolved since I initially set this up. For example, I am now using this...

I've tried to use your compose, but it seems that I have some problems in the log file:

Code:
guacd[311]: INFO:    RDPDR user logged on
[2022-10-22 17:17:37] [Connection 2]  Closing connection with error:  1000
[2022-10-22 17:17:37] [Connection 2]  Closing guacd connection
[2022-10-22 17:17:37] [Connection 2]  Client connection closed
guacd[311]: INFO:    User "@4c479cb6-083e-492b-8f80-d89d7a72a56d" disconnected (0 users remain)
guacd[311]: INFO:    Last user of connection "$7da1bf72-ce0f-4d25-ac23-082c2efdadce" disconnected
[2022-10-22 17:17:37] [Connection 3]  Client connection open
[2022-10-22 17:17:37] [Connection 3]  Opening guacd connection
[2022-10-22 17:17:37] [Connection 3]  guacd connection open
[2022-10-22 17:17:37] [Connection 3]  Selecting connection type: rdp
[2022-10-22 17:17:37] [Connection 3]  Sending opCode: 6.select,3.rdp;
guacd[220]: INFO:    Creating new client for protocol "rdp"
guacd[220]: INFO:    Connection ID is "$83039203-806e-47d2-bc4c-73404aaf1845"
guacd[311]: INFO:    Internal RDP client disconnected
guacd[220]: INFO:    Connection "$7da1bf72-ce0f-4d25-ac23-082c2efdadce" removed.
guacd[457]: INFO:    Security mode: Negotiate (ANY)
[2022-10-22 17:17:42] [Connection 3]  Sending opCode: 4.size,4.1324,13.877?undefined,2.96;
[2022-10-22 17:17:42] [Connection 3]  Sending opCode: 5.audio,9.audio/L16;
[2022-10-22 17:17:42] [Connection 3]  Sending opCode: 5.video;
[2022-10-22 17:17:42] [Connection 3]  Sending opCode: 5.image;
[2022-10-22 17:17:42] [Connection 3]  Server sent handshake: 4.args,13.VERSION_1_1_0,8.hostname,4.port,6.domain,8.username,8.password,5.width,6.height,3.dpi,15.initial-program,11.color-depth,13.disable-audio,15.enable-printing,12.printer-name,12.enable-drive,10.drive-name,10.drive-path,17.create-drive-path,7.console,13.console-audio,13.server-layout,8.security,11.ignore-cert,12.disable-auth,10.remote-app,14.remote-app-dir,15.remote-app-args,15.static-channels,11.client-name,16.enable-wallpaper,14.enable-theming,21.enable-font-smoothing,23.enable-full-window-drag,26.enable-desktop-composition,22.enable-menu-animations,22.disable-bitmap-caching,25.disable-offscreen-caching,21.disable-glyph-caching,16.preconnection-id,18.preconnection-blob,8.timezone,14.recording-path,14.recording-name,24.recording-exclude-output,23.recording-exclude-mouse,22.recording-include-keys,21.create-recording-path,13.resize-method,18.enable-audio-input,9.read-only,16.gateway-hostname,12.gateway-port,14.gateway-domain,16.gateway-username,16.gateway-password,17.load-balance-info
guacd[457]: INFO:    Resize method: none
[2022-10-22 17:17:42] [Connection 3]  Sending opCode: 7.connect,0.,9.127.0.0.1,4.3389,0.,3.abc,3.abc,4.1324,13.877?undefined,2.96,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,12.en-us-qwerty,3.any,4.true,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.;
guacd[457]: INFO:    User "@93e22206-2c79-4f1e-95b0-2d20a37189ea" joined connection "$83039203-806e-47d2-bc4c-73404aaf1845" (1 users now present)
guacd[457]: INFO:    Loading keymap "base"
guacd[457]: INFO:    Loading keymap "en-us-qwerty"
rdpClientConRecv: g_sck_recv failed(returned 0)
rdpClientConRecvMsg: error
rdpClientConCheck: rdpClientConGotData failed
rdpClientConDisconnect:
rdpRemoveClientConFromDev: removing clientCon 0x7f56696c1cd0
[2022-10-22 17:17:52] [Connection 3]  Closing connection with error:  Error: guacd was inactive for too long
    at GuacdClient.checkActivity (/gclient/node_modules/guacamole-lite/lib/GuacdClient.js:35:41)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
[2022-10-22 17:17:52] [Connection 3]  Closing guacd connection
[2022-10-22 17:17:52] [Connection 3]  Client connection closed
[2022-10-22 17:17:56] [Connection 4]  Client connection open
[2022-10-22 17:17:56] [Connection 4]  Opening guacd connection
[2022-10-22 17:17:56] [Connection 4]  guacd connection open
[2022-10-22 17:17:56] [Connection 4]  Selecting connection type: rdp
[2022-10-22 17:17:56] [Connection 4]  Sending opCode: 6.select,3.rdp;
guacd[220]: INFO:    Creating new client for protocol "rdp"
guacd[220]: INFO:    Connection ID is "$289a79f9-4548-40a0-a1dd-ac90c84d0d33"
[2022-10-22 17:18:00] [Connection 4]  Sending opCode: 4.size,4.1324,13.877?undefined,2.96;
[2022-10-22 17:18:00] [Connection 4]  Sending opCode: 5.audio,9.audio/L16;
[2022-10-22 17:18:00] [Connection 4]  Sending opCode: 5.video;
[2022-10-22 17:18:00] [Connection 4]  Sending opCode: 5.image;
[2022-10-22 17:18:00] [Connection 4]  Server sent handshake: 4.args,13.VERSION_1_1_0,8.hostname,4.port,6.domain,8.username,8.password,5.width,6.height,3.dpi,15.initial-program,11.color-depth,13.disable-audio,15.enable-printing,12.printer-name,12.enable-drive,10.drive-name,10.drive-path,17.create-drive-path,7.console,13.console-audio,13.server-layout,8.security,11.ignore-cert,12.disable-auth,10.remote-app,14.remote-app-dir,15.remote-app-args,15.static-channels,11.client-name,16.enable-wallpaper,14.enable-theming,21.enable-font-smoothing,23.enable-full-window-drag,26.enable-desktop-composition,22.enable-menu-animations,22.disable-bitmap-caching,25.disable-offscreen-caching,21.disable-glyph-caching,16.preconnection-id,18.preconnection-blob,8.timezone,14.recording-path,14.recording-name,24.recording-exclude-output,23.recording-exclude-mouse,22.recording-include-keys,21.create-recording-path,13.resize-method,18.enable-audio-input,9.read-only,16.gateway-hostname,12.gateway-port,14.gateway-domain,16.gateway-username,16.gateway-password,17.load-balance-info
guacd[485]: INFO:    Security mode: Negotiate (ANY)
guacd[485]: INFO:    Resize method: none
guacd[485]: INFO:    User "@fe78a231-66d2-413e-bb55-4c300e097d34" joined connection "$289a79f9-4548-40a0-a1dd-ac90c84d0d33" (1 users now present)
guacd[485]: INFO:    Loading keymap "base"
guacd[485]: INFO:    Loading keymap "en-us-qwerty"
[2022-10-22 17:18:00] [Connection 4]  Sending opCode: 7.connect,0.,9.127.0.0.1,4.3389,0.,3.abc,3.abc,4.1324,13.877?undefined,2.96,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,12.en-us-qwerty,3.any,4.true,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.;
guacd[457]: ERROR:    User is not responding.
guacd[457]: INFO:    User "@93e22206-2c79-4f1e-95b0-2d20a37189ea" disconnected (0 users remain)
guacd[457]: INFO:    Last user of connection "$83039203-806e-47d2-bc4c-73404aaf1845" disconnected
guacd[457]: INFO:    Internal RDP client disconnected
guacd[220]: INFO:    Connection "$83039203-806e-47d2-bc4c-73404aaf1845" removed.
[2022-10-22 17:18:10] [Connection 4]  Closing connection with error:  Error: guacd was inactive for too long
    at GuacdClient.checkActivity (/gclient/node_modules/guacamole-lite/lib/GuacdClient.js:35:41)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
[2022-10-22 17:18:10] [Connection 4]  Closing guacd connection
[2022-10-22 17:18:10] [Connection 4]  Client connection closed
guacd[485]: ERROR:    Error connecting to RDP server
guacd[485]: ERROR:    User is not responding.
guacd[485]: INFO:    User "@fe78a231-66d2-413e-bb55-4c300e097d34" disconnected (0 users remain)
guacd[485]: INFO:    Last user of connection "$289a79f9-4548-40a0-a1dd-ac90c84d0d33" disconnected
guacd[220]: INFO:    Connection "$289a79f9-4548-40a0-a1dd-ac90c84d0d33" removed.
[2022-10-22 17:18:37] [Connection 5]  Client connection open
[2022-10-22 17:18:37] [Connection 5]  Opening guacd connection
[2022-10-22 17:18:37] [Connection 5]  guacd connection open
[2022-10-22 17:18:37] [Connection 5]  Selecting connection type: rdp
[2022-10-22 17:18:37] [Connection 5]  Sending opCode: 6.select,3.rdp;
guacd[220]: INFO:    Creating new client for protocol "rdp"
guacd[220]: INFO:    Connection ID is "$b40e203a-929e-4967-90fe-4756e560b9bb"
[2022-10-22 17:18:39] [Connection 5]  Sending opCode: 4.size,4.1324,13.877?undefined,2.96;
[2022-10-22 17:18:39] [Connection 5]  Sending opCode: 5.audio,9.audio/L16;
[2022-10-22 17:18:39] [Connection 5]  Sending opCode: 5.video;
[2022-10-22 17:18:39] [Connection 5]  Sending opCode: 5.image;
[2022-10-22 17:18:39] [Connection 5]  Server sent handshake: 4.args,13.VERSION_1_1_0,8.hostname,4.port,6.domain,8.username,8.password,5.width,6.height,3.dpi,15.initial-program,11.color-depth,13.disable-audio,15.enable-printing,12.printer-name,12.enable-drive,10.drive-name,10.drive-path,17.create-drive-path,7.console,13.console-audio,13.server-layout,8.security,11.ignore-cert,12.disable-auth,10.remote-app,14.remote-app-dir,15.remote-app-args,15.static-channels,11.client-name,16.enable-wallpaper,14.enable-theming,21.enable-font-smoothing,23.enable-full-window-drag,26.enable-desktop-composition,22.enable-menu-animations,22.disable-bitmap-caching,25.disable-offscreen-caching,21.disable-glyph-caching,16.preconnection-id,18.preconnection-blob,8.timezone,14.recording-path,14.recording-name,24.recording-exclude-output,23.recording-exclude-mouse,22.recording-include-keys,21.create-recording-path,13.resize-method,18.enable-audio-input,9.read-only,16.gateway-hostname,12.gateway-port,14.gateway-domain,16.gateway-username,16.gateway-password,17.load-balance-info
[2022-10-22 17:18:39] [Connection 5]  Sending opCode: 7.connect,0.,9.127.0.0.1,4.3389,0.,3.abc,3.abc,4.1324,13.877?undefined,2.96,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,12.en-us-qwerty,3.any,4.true,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.;
guacd[533]: INFO:    Security mode: Negotiate (ANY)
guacd[533]: INFO:    Resize method: none
guacd[533]: INFO:    User "@bf8bca64-cbe6-438a-aed4-3c0b089b0605" joined connection "$b40e203a-929e-4967-90fe-4756e560b9bb" (1 users now present)
guacd[533]: INFO:    Loading keymap "base"
guacd[533]: INFO:    Loading keymap "en-us-qwerty"
[2022-10-22 17:18:49] [Connection 5]  Closing connection with error:  Error: guacd was inactive for too long
    at GuacdClient.checkActivity (/gclient/node_modules/guacamole-lite/lib/GuacdClient.js:35:41)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
[2022-10-22 17:18:49] [Connection 5]  Closing guacd connection
[2022-10-22 17:18:49] [Connection 5]  Client connection closed
guacd[533]: ERROR:    Error connecting to RDP server
guacd[533]: ERROR:    User is not responding.
guacd[533]: INFO:    User "@bf8bca64-cbe6-438a-aed4-3c0b089b0605" disconnected (0 users remain)
guacd[533]: INFO:    Last user of connection "$b40e203a-929e-4967-90fe-4756e560b9bb" disconnected
guacd[220]: INFO:    Connection "$b40e203a-929e-4967-90fe-4756e560b9bb" removed.

I don't understand how to solve it.
 
Did you use your own PUID/PGID values? And TZ (timezone)?

How are you executing docker-compose?

Yes, I use my PUID=1024 and PGID=100, TZ Europe/Rome (I live in Italy).

I've used docker-compose through Portainer, but Calibre docker container doesn't work also via docker run, as suggested in Marius Hosting guide or via Synology Docker.
I've also tried to check high privilege in Synology Docker for the Calibre container, but the log file doesn't change.
 
I have successfully created the container and it is running. However, when I access the web gui I am not taken to the setup wizard. I am instead taken to the gui below, which does not allow me to complete the setup (or anything else for that matter).
Calibre GUI.png
 

Attachments

  • Calibre Settings 1.png
    Calibre Settings 1.png
    21.5 KB · Views: 15
  • CAlibre Settings 2.png
    CAlibre Settings 2.png
    19.5 KB · Views: 14
  • CAlibre Settings 3.png
    CAlibre Settings 3.png
    29.1 KB · Views: 15
Last edited:
Which image are you using? Why custom port?

Also... allow plenty of time for the container to start (check logs if uncertain). It's a slow one.
I have used both of these images with the same result, including your compose pasted above. However, the issue persists.
images.png

-- post merged: --

Which image are you using? Why custom port?

Also... allow plenty of time for the container to start (check logs if uncertain). It's a slow one.
I still can't figure out the cause. If you have a moment I have attache the log. Also, the custom port variable was a result of the compose you shared and if removed no gui is accessible.
 

Attachments

  • calibre_log.txt
    51.8 KB · Views: 4
Hmm... Why are you using the folder name /myLibrary ?
It's been a while since I set it up but that image uses /Calibre_Library. (at least my version does).
I'm on the latest DSM 7.1 with no issues.
My docker compose snippet:
Code:
  calibre:
    image: linuxserver/calibre:latest
    container_name: calibre
    ports:
      - 27880:8080
      - 27881:27881
    environment:
      - PUID=${USERID}
      - PGID=${USERGROUP}
      - TZ=${TZ}
      - UMASK_SET=${UMASK}
      - CALIBRE_USE_DARK_PALETTE=1
    volumes:
      - ${HDD}Calibre:/Calibre_Library
      - ${HDD}/docker1/calibre:/config
      - ${HDD}ToBeSorted/ebooks:/upload
    restart: unless-stopped
I even updated it to the new release this morning with no issues.
It could also be worth clearing out your config folder and starting it fresh as you've never had it working.
First boot did take a while from what I remember.
Also the linuxserver.io team are hugely helpful and are on discord.
 
Hmm... Why are you using the folder name /myLibrary ?
It's been a while since I set it up but that image uses /Calibre_Library. (at least my version does).
I have tried with /Calibre_Library already...still didn't work
I'm on the latest DSM 7.1 with no issues.
Same
It could also be worth clearing out your config folder and starting it fresh as you've never had it working.
Yes I have cleared it between all attempts
Also the linuxserver.io team are hugely helpful and are on discord.
Yes I will reach out when I have some more time to devote to this. Thanks to you and @Telos for attempting to help
 

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
680
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,695
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,839
hmmm, looks like something bad happened :( Of course I am inserting a correct admin token (newly...
Replies
421
Views
93,543

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Back
Top