Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

(Support) Aptalca's docker templates

Featured Replies

1 hour ago, aptalca said:

 

Which docker? This thread is for the whole repo

Sorry - cailbre

  • Replies 1.2k
  • Views 276.6k
  • Created
  • Last Reply
  • Author
6 hours ago, DZMM said:

Sorry - cailbre

 

EDGE=1 will make it update on start

28 minutes ago, aptalca said:

 

EDGE=1 will make it update on start

Ahh didn't spot that in the docker description - thanks

What settings are folks using to reverse proxy the rdp gui? I cannot seem to get it to work and im not sure what is my issue. I cannot find any errors. accessing the domain and subdir https://domain.com/calibre fails with a blank screen. no console errors, no errors on the container logs, no errors on the letsencrypt log. i dont get it.

 

here is what i have:

 

  #RDPCalibre Container
    location /calibre {
        #auth_request /auth-1; #=Co-Admin
        proxy_pass http://192.168.2.1:9080/;
        include /config/nginx/proxy.conf;
    }

 

proxy contains:

## Version 2018/05/31 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/proxy.conf

client_max_body_size 10m;
client_body_buffer_size 128k;

#Timeout if the real server is dead
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

# Advanced Proxy Config
send_timeout 5m;
proxy_read_timeout 240;
proxy_send_timeout 240;
proxy_connect_timeout 240;

# Basic Proxy Config
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Ssl on;
proxy_redirect  http://  $scheme://;
proxy_http_version 1.1;
proxy_set_header Connection "";
#proxy_cookie_path / "/; HTTPOnly; Secure"; # enable at your own risk, may break certain apps
proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session;
proxy_buffers 32 4k;

anyone have any thoughts or working examples? thanks!

  • Author
4 hours ago, Tergi said:

What settings are folks using to reverse proxy the rdp gui? I cannot seem to get it to work and im not sure what is my issue. I cannot find any errors. accessing the domain and subdir https://domain.com/calibre fails with a blank screen. no console errors, no errors on the container logs, no errors on the letsencrypt log. i dont get it.

 

here is what i have:

 


  #RDPCalibre Container
    location /calibre {
        #auth_request /auth-1; #=Co-Admin
        proxy_pass http://192.168.2.1:9080/;
        include /config/nginx/proxy.conf;
    }

 

proxy contains:


## Version 2018/05/31 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/proxy.conf

client_max_body_size 10m;
client_body_buffer_size 128k;

#Timeout if the real server is dead
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

# Advanced Proxy Config
send_timeout 5m;
proxy_read_timeout 240;
proxy_send_timeout 240;
proxy_connect_timeout 240;

# Basic Proxy Config
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Ssl on;
proxy_redirect  http://  $scheme://;
proxy_http_version 1.1;
proxy_set_header Connection "";
#proxy_cookie_path / "/; HTTPOnly; Secure"; # enable at your own risk, may break certain apps
proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session;
proxy_buffers 32 4k;

anyone have any thoughts or working examples? thanks!

 

Use the address you actually access the calibre gui with in the proxy pass directive

Ok, so you mean to use the full url /#/whatever? like you get when you use unraid "web Ui" menu item?

 

If i use: proxy_pass http://192.168.2.1:9080/#/client/c/Calibre; i get 404 from apache tomcat.

if i use: proxy_pass http://192.168.2.1:9080/#/client/c/Calibre/; i get 404 from apache tomcat still. 

 

If its tomcat reporting back i think that means i am hitting the container because organizr and letsencrypt use nginx.

  • 1 month later...

The RDP-Calibre Docker is offering a network server so that you can add books via your home network directly into your e-book reader and without attaching it to the server USB port or avoiding to load files into a Cloud and pulling the books from there.

 

The server ist starting just fine but showing a strange address: 172.17.0.2:8081 (you can define a different port under "settings"). Is anyone successfully using that feature? Thank you,

  • Author
8 hours ago, EdgarWallace said:

The RDP-Calibre Docker is offering a network server so that you can add books via your home network directly into your e-book reader and without attaching it to the server USB port or avoiding to load files into a Cloud and pulling the books from there.

 

The server ist starting just fine but showing a strange address: 172.17.0.2:8081 (you can define a different port under "settings"). Is anyone successfully using that feature? Thank you,

That's the docker network ip. You can use the host ip instead and it should work

Thanks a lot @aptalca this what I thought as Weller. I tried the address shown in my initial post as well as 192.168.178.22:8081. The port is available so this can‘t be the issue either. 

Edited by EdgarWallace

  • 2 weeks later...

I had a fully working RDP-Calibre going and wanted to update so changed to EDGE=1, then I got this:
image.png.c7fac0271f62e89189fb4a10b66a7a65.png
Setting it back to EDGE=0 gives me a black screen with the mouse cursor and I can do ctrl+shift+alt but nothing else.
Strangely, if I visit the reverse proxy I have of RDP-Calibre I see this on the black screen:
image.png.f06be5cc174485d4fa221648874f23eb.png

Edited by JohanSF

  • Author
29 minutes ago, JohanSF said:

I had a fully working RDP-Calibre going and wanted to update so changed to EDGE=1, then I got this:
image.png.c7fac0271f62e89189fb4a10b66a7a65.png
Setting it back to EDGE=0 gives me a black screen with the mouse cursor and I can do ctrl+shift+alt but nothing else.
Strangely, if I visit the reverse proxy I have of RDP-Calibre I see this on the black screen:
image.png.f06be5cc174485d4fa221648874f23eb.png

When you set edge to 1, it will update during container start. But their download server is unreliable and sometimes it takes a long time to download the update. During which time, the web gui won't be up. Watch the logs to see what's going on. 

 

Once updated, going back may break things due to calibre database having been updated

I found out what broke.

I do this Extra Parameter in order to map the calibredb file so that LazyLibrarian can connect to it, and found that it works with EDGE=0, but not with EDGE=1.
 

-v '/mnt/cache/appdata/Automation-LazyLibrarianOpt/calibredb':'/opt/calibre/calibredb':'rw'

 

  • 2 months later...

Hey, @aptalca. Thanks for all the work. A quick question about RDP-Calibre. Would it be possible to add an option to change/set the user/group for this docker? Something like what filebot, filezilla, emby and others expose ("USER_ID" / "UID" / "GROUP_ID"...) as an option while setting up the docker in unraid. If not, is it possible to alter user/group at start time / extra parameters? If it is, could you please tell me how. Thanks in advance.

  • Author
12 hours ago, sinbrkatetete said:

Hey, @aptalca. Thanks for all the work. A quick question about RDP-Calibre. Would it be possible to add an option to change/set the user/group for this docker? Something like what filebot, filezilla, emby and others expose ("USER_ID" / "UID" / "GROUP_ID"...) as an option while setting up the docker in unraid. If not, is it possible to alter user/group at start time / extra parameters? If it is, could you please tell me how. Thanks in advance.

That would have to be supported by the baseimage which was by a different author. If I recall correctly, there was already a way to define that. But honestly I haven't looked into this image in a while. 

 

I'll give it another look. 

4 hours ago, aptalca said:

That would have to be supported by the baseimage which was by a different author. If I recall correctly, there was already a way to define that. But honestly I haven't looked into this image in a while. 

 

I'll give it another look. 

Thanks in advance. The thing is, I have a hard disk mounted through veracrypt that only one user has access to and I want Calibre to be able to access it. Anything else that came to mind (except changing/remapping the docker user) defeated the purpose of keeping it available to that one user only. If anyone has another idea on how to tackle this... thanks.

Edited by sinbrkatetete

  • 2 weeks later...

Hi, may a question about the dockergui-dev and chrome browser (chromium),

i am able to install it via terminal, but cannot start it, may someone has an idea what is wrong or what would be the trigger to run without sandbox in root ?

 

heres from the terminal ...

 

nobody@f2058683d611:~$ chromium-browser
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
Trace/breakpoint trap
nobody@f2058683d611:~$ sudo chromium-browser
[241:241:0115/162421.389728:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
nobody@f2058683d611:~$ 

 

for any tipps, thanks ahead ;)

 

and while im on it, it should be possible to run chrome on autostart then inside the docker ?

 

as note, firefox working, chrome see upper failures ...

 

EDIT

 

reinstalled without apt-get upgrade and its working ... sorry ...

now i just have to figure howto autostart chrome ;)

Edited by alturismo

On 1/5/2019 at 6:01 AM, aptalca said:

That would have to be supported by the baseimage which was by a different author. If I recall correctly, there was already a way to define that. But honestly I haven't looked into this image in a while. 

 

I'll give it another look. 

Well, it seems it was just a matter of reading the first couple of lines of your dockerfile on git... Created two more "keys" - one for user_id and another for group_id and all seems to be working as needed. Thanks!

  • Author
On 1/15/2019 at 10:33 AM, alturismo said:

Hi, may a question about the dockergui-dev and chrome browser (chromium),

i am able to install it via terminal, but cannot start it, may someone has an idea what is wrong or what would be the trigger to run without sandbox in root ?

 

heres from the terminal ...

 

nobody@f2058683d611:~$ chromium-browser
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
Trace/breakpoint trap
nobody@f2058683d611:~$ sudo chromium-browser
[241:241:0115/162421.389728:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
nobody@f2058683d611:~$ 

 

for any tipps, thanks ahead ;)

 

and while im on it, it should be possible to run chrome on autostart then inside the docker ?

 

as note, firefox working, chrome see upper failures ...

 

EDIT

 

reinstalled without apt-get upgrade and its working ... sorry ...

now i just have to figure howto autostart chrome ;)

🙂 dockergui dev was really something I cooked up for myself so I could test new applications before I went out and created a repo for them.

 

autostart is done through the startapp.sh https://github.com/aptalca/docker-rdp-dev/blob/master/startapp.sh which is currently set to launch the terminal

Edited by aptalca

nice playground ;) but i gave up on chrome in docker, pretty unstable ... so i made me a small lubuntu vm with xrdp therefore now ...

just have to figure how the web part of xrdp works ... would be nice to direct access it like your other dockers ... instead using guacamole rdp.

 

thanks anyway for the tipp

I'm can't seem to get the DigiKam to work.  Installed with these settings:

Container port 8080 ==> 9555

Container path /pictures ==> /mnt/user/pictures/

edge is 0

 

container installs, but the log has errors.

digikam-install.zip

 

open the webui, go through the first setup wizard.  I keep the default settings, except setting the image library to /pictures

The wizard finishes, but after 10-15 seconds it crashes. 

 

digikam-webui.zip

 

screenshot1.png.f553433fff94be79037406b12039c90a.png

 

Any ideas what's going on?

 

 

  • 1 month later...

Hi, 

 

Does anyone have any recommendations on how to get this (Jdownloader 2)docker working with vpn? (Aside from the whole pfsense route as I can't do that)

 

Basically a similar solution to binhex vpn addons....

 

Appreciate the help!

Edited by entourage2111

10 hours ago, entourage2111 said:

Hi, 

 

Does anyone have any recommendations on how to get this (Jdownloader 2)docker working with vpn? (Aside from the whole pfsense route as I can't do that)

 

Basically a similar solution to binhex vpn addons....

 

Appreciate the help!

use the privoxy vpn from binhex and connect jd to it in the connection settings

 

image.thumb.png.0623aa306d732447e4c0381f51e520ae.png

  • 2 weeks later...

First off, thank you for these!

 

I've got RDP-Calibre up and running, my library is good to go, and calibre web is humming alongside it for remote access.

 

Is there a proper way to safely access the same library share that RDP-Calibre is using with a standalone Calibre client? For example, when I'm on the same network as the server I'd love to be able to manipulate and add books to the library using a native client. Is it as simple as pointing the native client to the share as its library, or are there issues that could spring up as a result?

3 hours ago, driph said:

Is it as simple as pointing the native client to the share as its library, or are there issues that could spring up as a result?

If the proper options are in place, it will work, however, it's not recommended by calibre's author. Changes made by one client may not get seen by the other client until the database is reloaded, so strange things are possible. The way I handle it is to manually ensure only one client at a time is actually running, it only takes a second or two to shut down the docker when I want to load the desktop client.

 

See here for one discussion. https://www.mobileread.com/forums/showthread.php?t=295590

It's been discussed many times on the calibre forums.

19 hours ago, jonathanm said:

If the proper options are in place, it will work, however, it's not recommended by calibre's author. Changes made by one client may not get seen by the other client until the database is reloaded, so strange things are possible. The way I handle it is to manually ensure only one client at a time is actually running, it only takes a second or two to shut down the docker when I want to load the desktop client.

  

See here for one discussion. https://www.mobileread.com/forums/showthread.php?t=295590

It's been discussed many times on the calibre forums.

 

Ahh, that makes sense. So yeah, looks like the best option for now is as you stated, map the library to both the docker and native client (or keep separate libraries and sync them), but never have the docker active when using the native client.

 

Looks like managing remote instances is on the Calibre development roadmap, at least: 

https://github.com/kovidgoyal/calibre/blob/master/src/calibre/srv/TODO.rst

Edited by driph

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.