Jump to content
linuxserver.io

[Support] Linuxserver.io - Calibre

133 posts in this topic Last Reply

Recommended Posts

This docker runs good but I am running into one slight issue where the webui cannot be accessed if the docker is left running for a long time. Restarting it fixes it though. Is this a known issue or is there something I can do to fix this? 

Share this post


Link to post

I've been experiencing the same thing lately. This is what the log file has been saying:

 

s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: supervisor died
rdpmouseControl: what 2
rdpmouseDeviceOff:
rdpkeybControl: what 2
rdpkeybDeviceOff:
rdpSaveScreen:
[cont-finish.d] executing container finish scripts...
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
after 3791 requests (3538 known processed) with 0 events remaining.
[cont-finish.d] done.
[s6-finish] waiting for services.
chansrv::main: using log file [/tmp/xrdp-chansrv.1.log]
[20200207-09:03:19] [CORE ] main: app started pid 424(0x000001a8)
[20200207-09:03:19] [INFO ] main: DISPLAY env var set to :1
[20200207-09:03:19] [INFO ] main: using DISPLAY 1
[20200207-09:03:19] [INFO ] channel_thread_loop: thread start
[20200207-16:26:42] [INFO ] term_signal_handler: got signal 15
[20200207-16:26:43] [INFO ] channel_thread_loop: g_term_event set
xrdp-chansrv [0544838225]: scard_deinit:
chansrv:smartcard_pcsc [0544838225]: scard_pcsc_deinit:
[20200207-16:26:43] [INFO ] channel_thread_loop: thread stop
[20200207-16:26:43] [INFO ] main: app exiting pid 424(0x000001a8)
s6-svwait: fatal: supervisor died
rdpkeybControl: what 3
rdpkeybUnInit: drv 0x556cd160c430 info 0x556cd18f7a70, flags 0x0
rdpUnregisterInputCallback: proc 0x15069b228530
rdpmouseControl: what 3
rdpmouseUnInit: drv 0x556cd160d820 info 0x556cd1786e50, flags 0x0
rdpUnregisterInputCallback: proc 0x15069b42bc60
The X11 connection broke (error 1). Did the X11 server die?

 

Share this post


Link to post
On 1/30/2020 at 11:50 AM, saarg said:

You still haven't removed the double settings. If this is the first time setting it up, please delete it and add it fresh from CA and don't add anything extra. Just change the host port.

OK, I am trying to install this from a fresh install and I am wondering how to change the host port?  Do I change the GUI port?  Or do I change the Webserver Port?  Also, should I set it as Bridge or Host?

Share this post


Link to post

I've been having similar issues as others of when the docker is left running for a while it would stop responding.  Stopping the docker and restarting it would resolve the issue.  But the last few days I have not been able to get the docker up and running.  I have not changed any settings and stopping and restarting the docker no longer resolved the issue, no matter how many times I try.

 

Here's the log:

 

ErrorWarningSystemArrayLogin


s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: supervisor died
rdpmouseControl: what 2
rdpmouseDeviceOff:
rdpkeybControl: what 2
rdpkeybDeviceOff:
rdpSaveScreen:
s6-svwait: fatal: timed out
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":1"

after 1870 requests (1870 known processed) with 0 events remaining.
[cont-finish.d] executing container finish scripts...
rdpkeybControl: what 3
rdpkeybUnInit: drv 0x55a70db2ffb0 info 0x55a70de47160, flags 0x0
rdpUnregisterInputCallback: proc 0x1458a4983530
rdpmouseControl: what 3
rdpmouseUnInit: drv 0x55a70db30e10 info 0x55a70dcd6540, flags 0x0
rdpUnregisterInputCallback: proc 0x1458a4b86c60
s6-svwait: fatal: timed out
[cont-finish.d] done.
[s6-finish] waiting for services.
chansrv::main: using log file [/tmp/xrdp-chansrv.1.log]
[20200217-18:34:04] [CORE ] main: app started pid 523(0x0000020b)
[20200217-18:34:08] [INFO ] main: DISPLAY env var set to :1
[20200217-18:34:10] [INFO ] main: using DISPLAY 1
[20200217-18:34:11] [INFO ] channel_thread_loop: thread start
[20200217-23:23:29] [INFO ] term_signal_handler: got signal 15
[20200217-23:23:30] [INFO ] channel_thread_loop: g_term_event set
xrdp-chansrv [1433847801]: scard_deinit:
chansrv:smartcard_pcsc [1433847801]: scard_pcsc_deinit:
[20200217-23:23:32] [INFO ] channel_thread_loop: thread stop
[20200217-23:23:34] [INFO ] main: app exiting pid 523(0x0000020b)
s6-svwait: fatal: timed out
[s6-finish] sending all processes the TERM signal.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
usermod: no changes

-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/


Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 11-moduser: executing...
[cont-init.d] 11-moduser: exited 0.
[cont-init.d] 12-prep_xrdp: executing...
[cont-init.d] 12-prep_xrdp: exited 0.
[cont-init.d] 13-update_app_name: executing...
[cont-init.d] 13-update_app_name: exited 0.
[cont-init.d] 14-configure_openbox: executing...
[cont-init.d] 14-configure_openbox: exited 0.
[cont-init.d] 30-update_webapp_context: executing...
[cont-init.d] 30-update_webapp_context: exited 0.
[cont-init.d] 35-update_guac_creds: executing...
[cont-init.d] 35-update_guac_creds: exited 0.
[cont-init.d] 50-config: executing...
[cont-init.d] 50-config: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Unable to find an X display. Ensure you have permission to connect to the display.

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0

Build Operating System: Linux 4.4.0-148-generic x86_64 Ubuntu
Current Operating System: Linux 733b9b179683 4.19.98-Unraid #1 SMP Sun Jan 26 09:15:03 PST 2020 x86_64
Kernel command line: iommu=pt initrd=/bzroot BOOT_IMAGE=/bzimage

Build Date: 03 June 2019 08:10:35AM
xorg-server 2:1.19.6-1ubuntu4.3 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.34.0

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.

Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(==) Log file: "/var/log/Xorg.pid-408.log", Time: Mon Feb 17 23:29:55 2020
(++) Using config file: "/etc/X11/xrdp/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
guacd[420]: INFO: Guacamole proxy daemon (guacd) version 0.9.14 started

guacd[420]: INFO: Listening on host 127.0.0.1, port 4822
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10

:
rdpPreInit:
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x14e62b404010
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000206d7 bx 0x28200800 cx 0x1fbee3ff dx 0xbfebfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpXvInit: depth 24
rdpClientConInit: kill disconnected [0] timeout [0] sec


rdpScreenInit: out
guacd[420]: INFO: Guacamole connection closed during handshake
rdpmousePreInit: drv 0x5637cb13ce10 info 0x5637cb2e2910, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x14e62b7ddc60
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x5637cb13bfb0 info 0x5637cb453530, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x14e62b5da530
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpSaveScreen:
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRGetInfo:
screen resized to 1024x768
RRScreenSizeSet ok 1
rdpInDeferredUpdateCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRGetInfo:
Obt-Message: Xinerama extension is not present on the server
Warning: Cannot convert string "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1" to type FontStruct

Warning: Cannot convert string "-*-courier-medium-r-normal--*-120-*-*-*-*-iso8859-1" to type FontStruct

Openbox-Message: Unable to find a valid menu file "/var/lib/openbox/debian-menu.xml"
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

s6-svwait: fatal: timed out
rdpRRGetInfo:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abc'
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 181, resource id: 0, major code: 140 (Unknown), minor code: 20

s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
DBusExport: Failed to connect to DBUS session bus, with error: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead

s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
Traceback (most recent call last):
File "site-packages/calibre/gui2/notify.py", line 159, in get_notifier
File "site-packages/calibre/gui2/notify.py", line 89, in get_dbus_notifier
File "site-packages/dbus/_dbus.py", line 211, in __new__
File "site-packages/dbus/_dbus.py", line 100, in __new__
File "site-packages/dbus/bus.py", line 122, in __new__
DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead

s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out

 

Share this post


Link to post

Unable to get past the following error While attempting to add the Calibre container. Any ideas on how to resolve this issue?

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='calibre' --net='bridge' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'GUAC_USER'='<redacted>' -e 'GUAC_PASS'='<redacted>' -e 'PUID'='99' -e 'PGID'='100' -p '6580:8080/tcp' -p '6581:8081/tcp' -v '/mnt/user/ebooks/calibre_lib/':'/books':'rw' -v '/mnt/user/downloads/':'/import':'rw' -v '/mnt/user/appdata/calibre':'/config':'rw' 'linuxserver/calibre'

Unable to find image 'linuxserver/calibre:latest' locally
latest: Pulling from linuxserver/calibre
739c8d67eaa9: Already exists
48e5522c5960: Already exists
1a517b165cc5: Already exists
4b343106a4e7: Already exists
c4e91587e6f5: Pulling fs layer
400a866308bb: Pulling fs layer
55b380095b7a: Pulling fs layer
fb90632fd9d3: Pulling fs layer
51d418a717bc: Pulling fs layer
a6f26d37fde7: Pulling fs layer
7efae67fbdca: Pulling fs layer
a6f26d37fde7: Waiting
fb90632fd9d3: Waiting
7efae67fbdca: Waiting
51d418a717bc: Waiting
400a866308bb: Verifying Checksum
400a866308bb: Download complete
55b380095b7a: Verifying Checksum
55b380095b7a: Download complete
51d418a717bc: Verifying Checksum
51d418a717bc: Download complete
c4e91587e6f5: Verifying Checksum
c4e91587e6f5: Download complete
7efae67fbdca: Verifying Checksum
7efae67fbdca: Download complete
fb90632fd9d3: Verifying Checksum
fb90632fd9d3: Download complete
c4e91587e6f5: Pull complete
a6f26d37fde7: Verifying Checksum
a6f26d37fde7: Download complete
400a866308bb: Pull complete
55b380095b7a: Pull complete
/usr/bin/docker: failed to register layer: ApplyLayer unexpected EOF stdout: {"layerSize":160707934}
stderr: .
See '/usr/bin/docker run --help'.

The command failed.

 

Share this post


Link to post
20 minutes ago, kingJahfy said:

Unable to get past the following error While attempting to add the Calibre container. Any ideas on how to resolve this issue?

 

Top of my head, I'd guess corrupted docker.img  Post the diagnostics

Share this post


Link to post

Attached the diagnostics download. The docker.txt file in the logs directory is empty. Do you  recommend deleting `/mnt/user/system/docker/docker.img`?

 

Not seeing docker images for Calibre using the `docker images` command.

 

Edited by kingJahfy
more info

Share this post


Link to post

Thanks for your help. I've resolved the issue by deleting `/mnt/user/system/docker/docker.img` and restarting the server.

Share this post


Link to post

Hi, 

 

I would like to try installing this today, I have a large library (200GB) do people on here install books onto the array / SSD Cache etc? with performance in mind.

 

Thanks 🙂

Share this post


Link to post

Just switched to this docker from the rdp-calibre one I had been using, but now notice that I don't have a pointer icon - just a blank square - which makes it somewhat difficult to point and click....  I presume its something in the guacamole setup..?   Anyone any clue on how to change that? as i don't see anything reflecting that in the docker setup, the repository page, or here in comments....  thanks for any advice

 

 

Share this post


Link to post

So after many WEEKS of not being able to run it... I was able to get into the web GUI this ONE time. (after deleting the appdata folder for calibre)

I set it up nicely, manually carrying over my settings from my old RDP-Calibre install, trying to do it manually so I don't carry over old junk... I restarted the application itself (not the entire container) several times throughout whenever the Calibre suggested it's best to do for settings to take effect.

 

Then I did one final restart of the container because I wanted to set a new password... And things went downhill. Again the same old problem: no login page. Just the good old timeout and the same error messages that apparently every other guy in this thread is getting. (s6-svwait: fatal: timed out)

 

Changing back to the old empty password hash didn't do it either.

 

I will NOT again delete the appdata folder, because that got it to work last time, because I REALLY don't want to set it all up again and then probably end up with a borked installation again after one reset of the container...

 

Something must be fundamentally wrong here.

 

Either way, here's the docker run command:

 

docker run -d --name='calibre' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'GUAC_USER'='<MYNAME>' -e 'GUAC_PASS'='<MD5HASHOFPASSWORD>' -e 'PUID'='99' -e 'PGID'='100' -p '11415:8080/tcp' -p '11416:8081/tcp' -v '/mnt/user/EBooks/Calibre/':'/books':'rw' -v '/mnt/user/EBooks/CalibreImport/':'/import':'rw' -v '/mnt/user/appdata/calibre':'/config':'rw' 'linuxserver/calibre'

 

I am losing my mind over this container... I really miss RDP-Calibre, because it at least worked. It's a shame it isn't maintained anymore. Kudos to its dev though for setting up a message so that Fix Common Problems would alert me to the fact that it's deprecated. That was a real gentleman move.

Edited by Glassed Silver

Share this post


Link to post
12 hours ago, Glassed Silver said:

So after many WEEKS of not being able to run it... I was able to get into the web GUI this ONE time. (after deleting the appdata folder for calibre)

I set it up nicely, manually carrying over my settings from my old RDP-Calibre install, trying to do it manually so I don't carry over old junk... I restarted the application itself (not the entire container) several times throughout whenever the Calibre suggested it's best to do for settings to take effect.

 

Then I did one final restart of the container because I wanted to set a new password... And things went downhill. Again the same old problem: no login page. Just the good old timeout and the same error messages that apparently every other guy in this thread is getting. (s6-svwait: fatal: timed out)

 

Changing back to the old empty password hash didn't do it either.

 

I will NOT again delete the appdata folder, because that got it to work last time, because I REALLY don't want to set it all up again and then probably end up with a borked installation again after one reset of the container...

 

Something must be fundamentally wrong here.

 

Either way, here's the docker run command:

 


docker run -d --name='calibre' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'GUAC_USER'='<MYNAME>' -e 'GUAC_PASS'='<MD5HASHOFPASSWORD>' -e 'PUID'='99' -e 'PGID'='100' -p '11415:8080/tcp' -p '11416:8081/tcp' -v '/mnt/user/EBooks/Calibre/':'/books':'rw' -v '/mnt/user/EBooks/CalibreImport/':'/import':'rw' -v '/mnt/user/appdata/calibre':'/config':'rw' 'linuxserver/calibre'

 

I am losing my mind over this container... I really miss RDP-Calibre, because it at least worked. It's a shame it isn't maintained anymore. Kudos to its dev though for setting up a message so that Fix Common Problems would alert me to the fact that it's deprecated. That was a real gentleman move.

Try using /mnt/cache/ or /mnt/diskX/ instead of /mnt/user/ for the app appdata path.

Also, please don't restart the application, restart the container.

 

It's the same developer for this as the old version you used.

Share this post


Link to post
5 hours ago, saarg said:

Try using /mnt/cache/ or /mnt/diskX/ instead of /mnt/user/ for the app appdata path.

Also, please don't restart the application, restart the container.

 

It's the same developer for this as the old version you used.

That didn't do the trick. (my setup doesn't have a cache drive by the way, so I used what's disk3 in my case)

 

Why is it important not to restart the application? And why do I hear about this just now that it's so important when the application will literally asks you at several places to restart the application? I'm not questioning you btw, just trying to piece together how this being a common prompt and the container reacting sensitive to it fit together. (oh and I'm aware the Calibre developer isn't to blame either, they cannot anticipate the environment we are using Calibre in. My question isn't about that :) )

 

Extending on that, I suppose when Calibre asks me to restart the application in future I will just let it sit at that prompt and restart the container instead?

 

Good to know that they are the same dev then, that certainly gives me hope that eventually when my setup IS running it will probably remain ok, since RDP-Calibre had been a nice little treat.

 

 

Edit:

 

browsed the log a little more and found this part, any ideas?

 

rdpRRGetInfo:
Obt-Message: Xinerama extension is not present on the server
rdpInDeferredUpdateCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
Openbox-Message: Unable to find a valid menu file "/var/lib/openbox/debian-menu.xml"
guacd[432]: INFO: Guacamole connection closed during handshake
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
rdpRRGetInfo:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abc'
qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 181, resource id: 0, major code: 140 (Unknown), minor code: 20
libpng warning: iCCP: known incorrect sRGB profile
DBusExport: Failed to connect to DBUS session bus, with error: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
Traceback (most recent call last):
File "site-packages/calibre/gui2/notify.py", line 159, in get_notifier
File "site-packages/calibre/gui2/notify.py", line 89, in get_dbus_notifier
File "site-packages/dbus/_dbus.py", line 211, in __new__
File "site-packages/dbus/_dbus.py", line 100, in __new__
File "site-packages/dbus/bus.py", line 122, in __new__
DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out

 

Edit 2:

 

not even removing the GUAC user and pass fields helped... whew lads... This container is a real princess. :D I really wanted to run with authentication, now I finally settled for skipping it (at least for now) and not even the workaround that seemed to help a few guys on the previous page has helped me.

 

Now my strategy is to try two things:

 

1) remove (with image) the container and reinstall without those fields again.

 

2) figure out where GUAC settings are stored in contrast to Calibre's so I can try wiping the right bits rather than my Calibre settings?

Edited by Glassed Silver
more info

Share this post


Link to post

HI Guys

 

I have been trying for a few days to get this running.

I was following SpaceInvaders tutorial but using your release.

I have tried all the path solutions on here but it will not work!!

I have tried all the settings from the video and note this is several years later and many of the paths added in that are a default here 

All i get is a 404 error????

See this issue 95.png

calibre1.txt

Share this post


Link to post
14 hours ago, OsoPolar said:

HI Guys

 

I have been trying for a few days to get this running.

I was following SpaceInvaders tutorial but using your release.

I have tried all the path solutions on here but it will not work!!

I have tried all the settings from the video and note this is several years later and many of the paths added in that are a default here 

All i get is a 404 error????

See this issue 95.png

calibre1.txt 17.18 kB · 1 download

Welcome to the party, at this point I'm convinced the container is fundamentally broken/way too finicky to be reasonably maintainable by an average user.

 

I have no idea where to troubleshoot next and since only some of the users in here seem to have gotten the help they needed I think some got lucky and some didn't with their config.

 

If only it was running once it's running... But to see it work once, then not anymore after a reset of the container is disheartening and frankly speaking has broken my trust I might have once it may be running for more than an hour.

 

I'm out of ideas at this point.

Share this post


Link to post
3 hours ago, Glassed Silver said:

 

I'm out of ideas at this point.

It would help if you could document what customizations / settings you changed. I just pulled a download of this container on my test server and it's started just fine. What do you want me to change or customize to see if I can make it break? BTW, besides changing the data folder from the /config location that comes up by default to /books, I haven't done any customization at all. I've never set a GUAC user or password either.

 

I've been running this container since release on my main server with a good number of customizations and thousands of books just fine, I did a new install on my test server that has never had it installed before, so I'm game to mess with the new install however you think will help troubleshoot.

Share this post


Link to post
4 hours ago, jonathanm said:

It would help if you could document what customizations / settings you changed. I just pulled a download of this container on my test server and it's started just fine. What do you want me to change or customize to see if I can make it break? BTW, besides changing the data folder from the /config location that comes up by default to /books, I haven't done any customization at all. I've never set a GUAC user or password either.

 

I've been running this container since release on my main server with a good number of customizations and thousands of books just fine, I did a new install on my test server that has never had it installed before, so I'm game to mess with the new install however you think will help troubleshoot.

HI 

That would be great if you check my post above you can see my full paths and log if you need any further details let me know.

Share this post


Link to post
Posted (edited)

Got it to work for one update I think... (one update was successful, iirc)

 

Updated today after receiving a notification in calibre (updated the docker, mind you, as advised) and then it wouldn't load the WebGUI anymore...

 

Well, what are my settings?

 

These:

 

Ports:

11415 for 8080

11416 for 8081

 

Paths:

/mnt/user/EBooks/Calibre/ for /books

/mnt/user/EBooks/CalibreImport/ for /import

(these WORKED before, I don't have a cache drive and I doubt mapping to a drive would fix it, it didn't before)

 

PUID/PGID default as well as the other settings

/mnt/user/appdata/calibre is Appdata

 

Before getting it to work what I did was to remove all folders and data from the appdata directory except for .config/calibre/ and deleting the guacamole user and pass fields from the template.

 

With today's update the user and pass fields got inserted again (naturally) and removing them, the appdata content as mentioned above and re-installing the container, but no, stays broken...

 

Edit: I hope it's not rude to ping you, @jonathanm? Appreciate any help I can get with this.

Edited by Glassed Silver
ping

Share this post


Link to post
On 3/6/2020 at 5:50 PM, Glassed Silver said:

 

Edit: I hope it's not rude to ping you, @jonathanm? Appreciate any help I can get with this.

It's fine.

 

On 3/6/2020 at 5:50 PM, Glassed Silver said:

Before getting it to work what I did was to remove all folders and data from the appdata directory except for .config/calibre/ and deleting the guacamole user and pass fields from the template.

 

With today's update the user and pass fields got inserted again (naturally) and removing them, the appdata content as mentioned above and re-installing the container, but no, stays broken...

Why are you deleting fields?

 

On 2/26/2020 at 9:44 PM, jonathanm said:

besides changing the data folder from the /config location that comes up by default to /books, I haven't done any customization at all. I've never set a GUAC user or password either.

When I did my test, all I did was pull the container, set the host paths in the template to match my array locations, and on first run changed the data location in calibre itself to /books instead of /config.

Share this post


Link to post
On 3/6/2020 at 5:50 PM, Glassed Silver said:

With today's update the user and pass fields got inserted again (naturally) and removing them, the appdata content as mentioned above and re-installing the container, but no, stays broken...

As you noticed, by design the fields will get re-added with any update to the app.

Share this post


Link to post
On 3/13/2020 at 4:52 PM, jonathanm said:

It's fine.

 

Why are you deleting fields?

 

When I did my test, all I did was pull the container, set the host paths in the template to match my array locations, and on first run changed the data location in calibre itself to /books instead of /config.

I did because that's how I got it to work initially after trying all the other things like setting the md5 hash for an empty password, for an actual password I would use and nothing worked...

 

As for mappings, I also mapped within the app itself to /books, I did see my test library when it worked for a short while.

 

latest log:

 

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/


Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 11-moduser: executing...
[cont-init.d] 11-moduser: exited 0.
[cont-init.d] 12-prep_xrdp: executing...
[cont-init.d] 12-prep_xrdp: exited 0.
[cont-init.d] 13-update_app_name: executing...
[cont-init.d] 13-update_app_name: exited 0.
[cont-init.d] 14-configure_openbox: executing...
[cont-init.d] 14-configure_openbox: exited 0.
[cont-init.d] 30-update_webapp_context: executing...
[cont-init.d] 30-update_webapp_context: exited 0.
[cont-init.d] 35-update_guac_creds: executing...
[cont-init.d] 35-update_guac_creds: exited 0.
[cont-init.d] 50-config: executing...
[cont-init.d] 50-config: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Unable to find an X display. Ensure you have permission to connect to the display.

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-168-generic x86_64 Ubuntu
Current Operating System: Linux 25535faebf2c 4.19.98-Unraid #1 SMP Sun Jan 26 09:15:03 PST 2020 x86_64
Kernel command line: BOOT_IMAGE=/bzimage initrd=/bzroot
Build Date: 14 November 2019 06:20:00PM
xorg-server 2:1.19.6-1ubuntu4.4 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.pid-424.log", Time: Tue Mar 10 21:43:34 2020
(++) Using config file: "/etc/X11/xrdp/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
guacd[432]: INFO: Guacamole proxy daemon (guacd) version 0.9.14 started
guacd[432]: INFO: Listening on host 127.0.0.1, port 4822
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10

:
rdpPreInit:
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x14f51879f010
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000206d7 bx 0x0b200800 cx 0x1fbee3ff dx 0xbfebfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpXvInit: depth 24
rdpClientConInit: kill disconnected [0] timeout [0] sec

rdpScreenInit: out
rdpmousePreInit: drv 0x55937a891990 info 0x55937aa395b0, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x14f518b78c60
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x55937a8add70 info 0x55937abaa1e0, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x14f518975530
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpSaveScreen:
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRGetInfo:
screen resized to 1024x768
RRScreenSizeSet ok 1
Warning: Cannot convert string "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-courier-medium-r-normal--*-120-*-*-*-*-iso8859-1" to type FontStruct
rdpRRGetInfo:
Obt-Message: Xinerama extension is not present on the server
rdpInDeferredUpdateCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
Openbox-Message: Unable to find a valid menu file "/var/lib/openbox/debian-menu.xml"
guacd[432]: INFO: Guacamole connection closed during handshake
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
rdpRRGetInfo:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abc'
qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 181, resource id: 0, major code: 140 (Unknown), minor code: 20
libpng warning: iCCP: known incorrect sRGB profile
DBusExport: Failed to connect to DBUS session bus, with error: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
s6-svwait: fatal: timed out
Traceback (most recent call last):
File "site-packages/calibre/gui2/notify.py", line 159, in get_notifier
File "site-packages/calibre/gui2/notify.py", line 89, in get_dbus_notifier
File "site-packages/dbus/_dbus.py", line 211, in __new__
File "site-packages/dbus/_dbus.py", line 100, in __new__
File "site-packages/dbus/bus.py", line 122, in __new__
DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
s6-svwait: fatal: timed out
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
after 3787 requests (3534 known processed) with 0 events remaining.
rdpmouseControl: what 2
rdpmouseDeviceOff:
rdpkeybControl: what 2
rdpkeybDeviceOff:
rdpkeybControl: what 3
rdpkeybUnInit: drv 0x55937a8add70 info 0x55937abaa1e0, flags 0x0
rdpUnregisterInputCallback: proc 0x14f518975530
rdpmouseControl: what 3
rdpmouseUnInit: drv 0x55937a891990 info 0x55937aa395b0, flags 0x0
rdpUnregisterInputCallback: proc 0x14f518b78c60
rdpCloseScreen:
xorgxrdpDownDown:
xorgxrdpDownDown: 1
rdpClientConDeinit:
rdpClientConDeinit: deleting file /tmp/.xrdp/xrdp_display_1
rdpClientConDeinit: deleting file /tmp/.xrdp/xrdp_disconnect_display_1
(II) Server terminated successfully (0). Closing log file.
s6-svwait: fatal: supervisor died
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
The X11 connection broke (error 1). Did the X11 server die?
s6-svwait: fatal: supervisor died
[s6-finish] sending all processes the TERM signal.
s6-svwait: fatal: timed out
[s6-finish] sending all processes the KILL signal and exiting.

(complete log from start to stop)

Share this post


Link to post

Sometimes when I convert books, my docker image fills up very fast and doesn't go down.  I think this means the conversion occurs within the docker.  Is there a way to fix this please as sometimes I have to delete my whole image.

 

Also, how do I stop the Trash-99 folder being created?

 

Thanks

Share this post


Link to post
On 3/22/2020 at 11:14 AM, DZMM said:

Sometimes when I convert books, my docker image fills up very fast and doesn't go down.  I think this means the conversion occurs within the docker.  Is there a way to fix this please as sometimes I have to delete my whole image.

 

Also, how do I stop the Trash-99 folder being created?

 

Thanks

You could try and set the "CALIBRE_TEMP_DIR" variable in the Docker container (Unraid -> Docker -> calibre -> Edit -> Add another Path, Port, Variable, Label or Device) and set it to e.g. "/config/tmp". Maybe you have to create the "tmp" folder manually first.

 

Variable name taken from: https://manual.calibre-ebook.com/customize.html#environment-variables

 

Than restart your calibre container. I don't know yet if this fixes the conversion error, but it fixes the same behavior when importing a large library.

 

Hope this helps.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.