Public | Automated Build

Last pushed: 4 months ago
Short Description
Full Calibre GUI and webserver accessible in a web browser
Full Description

Calibre GUI and Server

Run the Calibre X app accessible in a web browser

Install On unRaid:

On unRaid, install from the Community Repositories and enter the app folder location and the port for the webUI.

Install On Other Platforms (like Ubuntu, Synology 5.2 DSM, etc.):

On other platforms, you can run this docker with the following command:

docker run -d --name="RDP-Calibre" -e EDGE="0" -e WIDTH="1280" -e HEIGHT="720" -v /path/to/config:/config:rw -e TZ=America/New_York -p XXXX:8080 -p YYYY:8081 aptalca/docker-rdp-calibre

Setup Instructions

  • Replace the variable "/path/to/config" with your choice of folder on your system. That is where the config and the library files will reside, and they will survive an update, reinstallation, etc. of the container.
  • Change "XXXX" to a port of your choice, it will be the port for the main Calibre GUI
  • Change "YYYY" to a port of your choice, it will be the port for the Calibre webserver
  • If you would like to have the latest updates, change the EDGE variable to "1", and the container will update calibre to the latest version every time it is restarted
  • If you'd like to change the resolution for the GUI, you can modify the WIDTH and HEIGHT variables
  • IMPORTANT: On first start, select "/config" as the library location in the Calibre wizard
  • Calibre webserver can be enabled from the calibre gui under Preferences/Sharing over the net. Port has to be set to 8081

You can access the GUI by pointing your web browser to http://SERVERIP:XXXX/#/client/c/Calibre

You can access the Calibre webserver by pointing your web browser to http://SERVERIP:YYYY

(Replace SERVERIP, XXXX and YYYY with your values)

Advanced Features (only for docker pros)

(Deprecated)Custom library location:

If you would like to change the library location you need to do a couple of things:

  • First add a new mount point for the library location in the docker run command. Example: -v /path/to/library:/library:rw
  • Then add an environment variable (LIBRARYINTERNALPATH) to specify the internal library location for the webserver. Example: -e LIBRARYINTERNALPATH="/library"
  • When you fire up calibre the first time select your library location. Example: /library

(Deprecated)Url Prefix for reverse proxy:

  • Add an environment variable (URLPREFIX) to docker run to specify the url prefix for the webserver. Example: -e URLPREFIX="/calibre"
  • To access the webserver, go to http://SERVERIP:YYYY/calibre

Changelog:

  • 2017-06-24: LIBRARYINTERNALPATH and URLPREFIX variables are deprecated. They were required for the calibre webserver. The new webserver should be enabled from the calibre gui under Preferences/Sharing over the net. Port has to be set to 8081
  • 2016-09-16: Remove X1-lock if exists, which prevents start up following an unclean shutdown
  • 2016-09-15: Updated base to x11rdp1.3, which now supports clipboard through the left hand side menu (ctrl+alt+shift) - calibre updated to 2.67
Docker Pull Command
Owner
aptalca
Source Repository

Comments (14)
billakingjr
16 days ago

I'm impressed. I spent all morning thinking about building a project to do this and here you've done it! Great job! Now the bad news. I set the flag EDGE=1 and got the latest Calibre library. When I drag books into the GUI I get "An internal error has occurred within the Guacamole server..." How do I check the system logs on? Are you aware of this? Thanks

richardchristian
3 months ago

Is it possible to set a login or maybe only a password for the calibre-gui?

tweebee
4 months ago

Looks like calibre 3.0 broke in this package. Could your please provide a fix? Thank you.

beerboyuk
5 months ago

I am running the configuration on a Synology DS916+ and have the GUI setup correctly. The library screen loads but I can not load any library contents. The error message is :

Error: No books found

createException@http://192.168.192.59:32792/static/stacktrace.js:81:23

run@http://192.168.192.59:32792/static/stacktrace.js:66:40

printStackTrace@http://192.168.192.59:32792/static/stacktrace.js:57:65

render_error@http://192.168.192.59:32792/static/browse/browse.js:134:33

booklist@http://192.168.192.59:32792/static/browse/browse.js:271:41

http://192.168.192.59:32792/browse/category/allbooks:34:25

ready@http://192.168.192.59:32792/static/jquery.js:392:13

DOMContentLoaded@http://192.168.192.59:32792/static/jquery.js:745:15

Do you have any suggestions how I can resolve this?

pheoxy
10 months ago

No Wireless Sync support?
Would I just need to open another port?

chielmi
10 months ago

Works really nice. Excellent container!

woodshoesgeek
a year ago

Thank you! Works awesome on my QNAP

torpid
2 years ago

I'm stuck. I managed to get it all running, but when I start it up the first time, the only location I can put the library is /nobody/Calibre Library. That's not part of the volume1 on my synology, and I can't even see 'volume1' from the root of the nobody account. I've setup a share on they Synology for \Calibre\config and \Calibre\Library, but I can't seem to get to those folders to show up anywhere.

feilongfl
2 years ago

Thank you,It works well on my docker host.

lazuruz
2 years ago

To anyone running Debian (OpenMediaVault 2.0+ especially) you most likely need to change the timezone option. Try removing the following from your run command: -v /etc/localtime:/etc/localtime:ro and replace it with the following: -e TZ="America/New_York"

TZ format list here:
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

(credit for this info comes from here: https://github.com/aptalca/docker-jdownloader2/issues/2)