DZMM Posted August 16, 2018 Share Posted August 16, 2018 1 hour ago, aptalca said: Which docker? This thread is for the whole repo Sorry - cailbre Quote Link to comment
aptalca Posted August 16, 2018 Author Share Posted August 16, 2018 6 hours ago, DZMM said: Sorry - cailbre EDGE=1 will make it update on start 1 Quote Link to comment
DZMM Posted August 16, 2018 Share Posted August 16, 2018 28 minutes ago, aptalca said: EDGE=1 will make it update on start Ahh didn't spot that in the docker description - thanks Quote Link to comment
Tergi Posted August 22, 2018 Share Posted August 22, 2018 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! Quote Link to comment
aptalca Posted August 22, 2018 Author Share Posted August 22, 2018 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 Quote Link to comment
Tergi Posted August 22, 2018 Share Posted August 22, 2018 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. Quote Link to comment
EdgarWallace Posted October 2, 2018 Share Posted October 2, 2018 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, Quote Link to comment
aptalca Posted October 3, 2018 Author Share Posted October 3, 2018 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 Quote Link to comment
EdgarWallace Posted October 3, 2018 Share Posted October 3, 2018 (edited) 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 October 3, 2018 by EdgarWallace Quote Link to comment
JohanSF Posted October 12, 2018 Share Posted October 12, 2018 (edited) I had a fully working RDP-Calibre going and wanted to update so changed to EDGE=1, then I got this: 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: Edited October 12, 2018 by JohanSF Quote Link to comment
aptalca Posted October 12, 2018 Author Share Posted October 12, 2018 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: 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: 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 Quote Link to comment
JohanSF Posted October 12, 2018 Share Posted October 12, 2018 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' Quote Link to comment
sinbrkatetete Posted January 4, 2019 Share Posted January 4, 2019 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. Quote Link to comment
aptalca Posted January 5, 2019 Author Share Posted January 5, 2019 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. Quote Link to comment
sinbrkatetete Posted January 5, 2019 Share Posted January 5, 2019 (edited) 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 January 5, 2019 by sinbrkatetete Quote Link to comment
alturismo Posted January 15, 2019 Share Posted January 15, 2019 (edited) 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 January 15, 2019 by alturismo Quote Link to comment
sinbrkatetete Posted January 17, 2019 Share Posted January 17, 2019 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! Quote Link to comment
aptalca Posted January 17, 2019 Author Share Posted January 17, 2019 (edited) 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 January 17, 2019 by aptalca Quote Link to comment
alturismo Posted January 18, 2019 Share Posted January 18, 2019 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 Quote Link to comment
dukiethecorgi Posted January 20, 2019 Share Posted January 20, 2019 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 Any ideas what's going on? Quote Link to comment
entourage2111 Posted March 10, 2019 Share Posted March 10, 2019 (edited) 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 March 10, 2019 by entourage2111 Quote Link to comment
alturismo Posted March 11, 2019 Share Posted March 11, 2019 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 Quote Link to comment
driph Posted March 21, 2019 Share Posted March 21, 2019 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? Quote Link to comment
JonathanM Posted March 21, 2019 Share Posted March 21, 2019 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. Quote Link to comment
driph Posted March 22, 2019 Share Posted March 22, 2019 (edited) 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 March 22, 2019 by driph Quote Link to comment
Recommended Posts
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.