Jump to content
binhex

[Support] binhex - DelugeVPN

6300 posts in this topic Last Reply

Recommended Posts

That is great. Have you thought perhaps of some sort of automatic VPN tunnel test (perhaps in a separated container)?

Something that would ping something, and check that all is good?

I am just thinking out loud... it might be useful (and reassuring) to just show it on some dashboard or somewhere else, that VPN is up and running, current IP this-and-that, last re-connected timestamp, ping... even simple json response that other dashboards could pick up, or even command line response, whatever is easiest..

Share this post


Link to post
35 minutes ago, dakipro said:

That is great. Have you thought perhaps of some sort of automatic VPN tunnel test (perhaps in a separated container)?

Something that would ping something, and check that all is good?

I am just thinking out loud... it might be useful (and reassuring) to just show it on some dashboard or somewhere else, that VPN is up and running, current IP this-and-that, last re-connected timestamp, ping... even simple json response that other dashboards could pick up, or even command line response, whatever is easiest..

tbh this is so trivial that its not really worth creating a docker image for, for example you can simply do something like this:-

docker exec <name of container> bash -c 'curl -s https://api.ipify.org' > '/tmp/vpn_ip.txt'

you can have this running in a while loop if you want it to continuously monitor, or check the output and if it matches your ISP ip address then it sends you an email, or some such command.

Share this post


Link to post
7 hours ago, lrx345 said:

Hello,

 

Loving the docker so far. Is it possible to connect to the docker via the GTK? If so, what username and password would I use?

 

Thanks!

IIRC it’s deluge/deluge. I know the default password is deluge. May be wrong about the default user.

Share this post


Link to post
4 hours ago, wgstarks said:

IIRC it’s deluge/deluge. I know the default password is deluge. May be wrong about the default user.

Hi thanks!

 

I found you can also go into the docker's appdata folder and edit the "auth" file. Adding a new line containing

<username>:<password>:10

where 10 is the permission level (see deluge documentation for more, but you'll probably want 10 as it is the highest).

Share this post


Link to post

I just updated my docker image to latest and it started giving this error message

 

[FATAL tini (7)] exec '/bin/bash' failed: No such file or directory
 

I am running docker-ce 18 and on Ubuntu 18

 

Thanks,

Z

 

 

 

Share this post


Link to post
I just updated my docker image to latest and it started giving this error message
 
[FATAL tini (7)] exec '/bin/bash' failed: No such file or directory
 
I am running docker-ce 18 and on Ubuntu 18
 
Thanks,
Z
 
 
 
I would suspect a badly formed docker run command is your problem I am running the latest image with no issues so I'm confident the issue is configuration

Sent from my EML-L29 using Tapatalk

Share this post


Link to post

I have a few problems.

Firstly my password for the webui is always resetting when the docker is restarted.

2. When the vpn is active i can't use the remote daemon feature because the daemon is offline in my thin client.

3. Since the last update the network interface is always false configured.

2018-12-23 12:27:01,314 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.15.x.x different, marking for reconfigure

2018-12-23 12:27:01,316 DEBG 'watchdog-script' stdout output:
[info] Deluge not running

2018-12-23 12:27:01,319 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running

2018-12-23 12:27:01,517 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 190.2.x.x

2018-12-23 12:27:01,521 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...

2018-12-23 12:27:01,654 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface currently defined as 0.0.0.0
[info] Deluge listening interface will be changed to 0.0.0.0
[info] Saving changes to Deluge config file /config/core.conf...

 

Share this post


Link to post

Hi Binhex,

 

I have two instances of this plugin going one for movies, another for TV shows.

 

PROBLEM DESCRIPTION

The Movies instance, writes data to the logs inside the container until the docker.img is filled. I have a few hundred torrents going since I perma-seed.

 

I've attached the .json log.

 

Most of the messages aren't useful.

 

Quote

{"log":"2018-12-23 22:45:04,594 DEBG 'start-script' stdout output:\n","stream":"stdout","time":"2018-12-24T03:45:04.595016271Z"}
{"log":"rWrW\n","stream":"stdout","time":"2018-12-24T03:45:04.595033635Z"}
{"log":"2018-12-23 22:45:04,599 DEBG 'start-script' stdout output:\n","stream":"stdout","time":"2018-12-24T03:45:04.599570746Z"}
{"log":"rW\n","stream":"stdout","time":"2018-12-24T03:45:04.599593628Z"}
{"log":"2018-12-23 22:45:04,599 DEBG 'start-script' stdout output:\n","stream":"stdout","time":"2018-12-24T03:45:04.599763453Z"}
{"log":"rWrW\n","stream":"stdout","time":"2018-12-24T03:45:04.599776328Z"}
{"log":"2018-12-23 22:45:04,609 DEBG 'start-script' stdout output:\n","stream":"stdout","time":"2018-12-24T03:45:04.60933797Z"}
{"log":"rW\n","stream":"stdout","time":"2018-12-24T03:45:04.609365552Z"}
{"log":"2018-12-23 22:45:04,609 DEBG 'start-script' stdout output:\n","stream":"stdout","time":"2018-12-24T03:45:04.609541692Z"}
{"log":"rWrW\n","stream":"stdout","time":"2018-12-24T03:45:04.609558447Z"}

It seems to be working fine. Stuff is being downloaded, it just spams the logs until docker.img fills and crashes :(

Edited by spatial_awareness

Share this post


Link to post

Hi,

 

Tried to set up this docker with a ovpn file from my OpenVPN server running on a VPS.

With VPN disabled it works, but with VPN enabled it says connected but no local binding.

 

Any ideas? I only have the ovpn file in /openvpn folder.

 

Sorry if this already has been answered but I couldn't find it :(

Share this post


Link to post
14 hours ago, Tarald said:

Hi,

 

Tried to set up this docker with a ovpn file from my OpenVPN server running on a VPS.

With VPN disabled it works, but with VPN enabled it says connected but no local binding.

 

Any ideas? I only have the ovpn file in /openvpn folder.

 

Sorry if this already has been answered but I couldn't find it :(

Hi Tarald

 

Welcome to the forums.  The pros will need to see logs to know what is happening.

 

Stop the container, delete supervisord.log, edit the container properties, set DEBUG to true, start the container, wait 5 minutes then copy supervisord.log here.

 

Good luck.

 

Edited by Gog

Share this post


Link to post

Hi,

 

Redacted the log.

open vpn server is not set up with any password. Tried removing but it defaults to vpnuser and vpnpassword.

Certs snipped and server IP (ipv4) replaced.

 

supervisord.log

Share this post


Link to post
On 12/25/2018 at 11:51 AM, Tarald said:

open vpn server is not set up with any password. Tried removing but it defaults to vpnuser and vpnpassword.

What do you mean?  Your VPN provider is not using a username and password to authenticate you?

 

There is also this feature in your ovpn file that doesn't seem to be supported: block-outside-dns

 

Share this post


Link to post

Hey got a permission issue.

 

Every time Deluge downloads a torrent, the torrent is not accessible through SMB in the incomplete or complete folder.

 

I am able to access all other files through SMB accept the ones downloaded through Deluge, so I'm assuming Deluge is setting the permission wrong on the downloaded torrents

 

Error message: "You do not have permission to access this file"

 

I have the containers UMASK set to 000

 

Capture.PNG.b9c3568b76c664929a5eec8b0bc886f1.PNG

 

When I run the Docker Safe New Perms tool, the torrents permissions are fixed and I can access it through SMB. I just don't want to have to run that script every time I download something new.

 

I restored the app data folder as well (was surprised that didn't fix it).

 

Thanks for any help.

Share this post


Link to post
On 12/24/2018 at 11:47 PM, Tarald said:

Hi,

 

Tried to set up this docker with a ovpn file from my OpenVPN server running on a VPS.

With VPN disabled it works, but with VPN enabled it says connected but no local binding.

 

Any ideas? I only have the ovpn file in /openvpn folder.

 

Sorry if this already has been answered but I couldn't find it :(

VPS is not supported im afraid, no LAN means no easy way to access deluge over public ip and prevent ip leakage. 

Share this post


Link to post
23 minutes ago, axman said:

Hey got a permission issue.

 

Every time Deluge downloads a torrent, the torrent is not accessible through SMB in the incomplete or complete folder.

 

I am able to access all other files through SMB accept the ones downloaded through Deluge, so I'm assuming Deluge is setting the permission wrong on the downloaded torrents

 

Error message: "You do not have permission to access this file"

 

I have the containers UMASK set to 000

 

Capture.PNG.b9c3568b76c664929a5eec8b0bc886f1.PNG

 

When I run the Docker Safe New Perms tool, the torrents permissions are fixed and I can access it through SMB. I just don't want to have to run that script every time I download something new.

 

I restored the app data folder as well (was surprised that didn't fix it).

 

Thanks for any help.

ok so umask looks correct, but what about PUID and PGID? have you set those to the correct values?

Edited by binhex

Share this post


Link to post
9 minutes ago, binhex said:

ok so umask looks correct, but what about PUID and PGID? have you set those to the correct values?

 

Yes they are correct.

 

Capture1.thumb.PNG.ff9d8811b1aa6cd2a267f593a6efb3b8.PNG

 

 

Here is a shot of the downloaded torrent properties in Krusader.

 

Capture2.PNG.f9d76292dfb4e5a8f0bcb66b9a5aa6c9.PNG

 

 

Share this post


Link to post
5 minutes ago, axman said:

Here is a shot of the downloaded torrent properties in Krusader.

ok and that screenshot is what the permissions look like when you cant access it via SMB?

Share this post


Link to post
3 minutes ago, binhex said:

ok and that screenshot is what the permissions look like when you cant access it via SMB?

Yeah, the permission are drwxrwx--- (can't screen shot it) when I can't access it via SMB


The permissions are set to drwxrwxrwx when I can access it after Docker Safe New Perms script is ran.

Share this post


Link to post
1 hour ago, axman said:

Yeah, the permission are drwxrwx--- (can't screen shot it) when I can't access it via SMB


The permissions are set to drwxrwxrwx when I can access it after Docker Safe New Perms script is ran.

that looks ok, so check your Shares/Security, ensure 'User Shares' and/or 'Disk Shares' are set to 'Public', examples from my setup:-

 

image.png.f98c9650715beff5ebe2e405c942544a.png

 

and:-

 

image.png.4113a5ceb3fb74903923fbad88e29788.png

Share this post


Link to post

Hi all, I just tried to access the webui on my unraid box.  I get "the site cannot be reached" error.  I'm using 8112 as the web gui and I haven't changed anything.  i can VPN into the docker without a problem.  I looked through the last few pages of comments and can't tell if the suggestions would solve my problem.  Everything is functioning well on unraid outside of this.  I am new to unraid so if you have suggestions, if you could explain where I need to get the log or run a command etc... generally, I can find it.

Share this post


Link to post
2 hours ago, ledfortr said:

i can VPN into the docker without a problem.

What do you mean by this?

 

Does it work if you set VPN_ENABLED to no?

Share this post


Link to post

I can connect to the app remotely using the microsoft vpn software.  It authenticates fine. 

 

Where would I find the VPN_Enabled setting?

Share this post


Link to post
9 minutes ago, ledfortr said:

Where would I find the VPN_Enabled setting?

In the edit screen of the docker:

 

image.png.388ca0ea0b42415359c014ba16dae471.png

Share this post


Link to post
On 12/24/2018 at 4:19 AM, spatial_awareness said:

Hi Binhex,

 

I have two instances of this plugin going one for movies, another for TV shows.

 

PROBLEM DESCRIPTION

The Movies instance, writes data to the logs inside the container until the docker.img is filled. I have a few hundred torrents going since I perma-seed.

 

I've attached the .json log.

 

Most of the messages aren't useful.

 

It seems to be working fine. Stuff is being downloaded, it just spams the logs until docker.img fills and crashes :(

ok and can you tell me what the path to the log file is?.

Share this post


Link to post
4 hours ago, binhex said:

ok and can you tell me what the path to the log file is?.

root@tank:/var/lib/docker/containers/c5cb99ad5b0690aa3a26d92382da049710ad08f8641c76f0432891a00cff80bc# ls -lh
total 8.8G
-rw-r----- 1 root root 8.8G Jan  3 10:00 c5cb99ad5b0690aa3a26d92382da049710ad08f8641c76f0432891a00cff80bc-json.log  < ----
drwx------ 1 root root    0 Dec 31 14:20 checkpoints/
-rw------- 1 root root 4.0K Jan  2 14:22 config.v2.json
-rw-r--r-- 1 root root 1.5K Jan  2 14:22 hostconfig.json
-rw-r--r-- 1 root root   13 Jan  2 14:22 hostname
-rw-r--r-- 1 root root  224 Jan  2 14:22 hosts
drwx------ 1 root root    6 Dec 31 14:20 mounts/
-rw-r--r-- 1 root root  176 Jan  2 14:22 resolv.conf
-rw-r--r-- 1 root root   71 Jan  2 14:22 resolv.conf.hash


root@tank:/var/lib/docker/containers/c5cb99ad5b0690aa3a26d92382da049710ad08f8641c76f0432891a00cff80bc# docker ps
CONTAINER ID        IMAGE                   COMMAND                  CREATED             STATUS              PORTS                                                                                                                          NAMES
c5cb99ad5b06        binhex/arch-delugevpn   "/usr/bin/tini -- /b…"   2 days ago          Up 20 hours         0.0.0.0:8111->8112/tcp, 0.0.0.0:8117->8118/tcp, 0.0.0.0:58845->58846/tcp, 0.0.0.0:58945->58946/tcp, 0.0.0.0:58945->58946/udp   binhex-delugevpn-movies   < ----
b02e3b1f816f        limetech/plex           "/sbin/my_init"          10 days ago         Up 2 days                                                                                                                                          PlexMediaServer
6e1a05fe9fe2        binhex/arch-delugevpn   "/usr/bin/tini -- /b…"   10 days ago         Up 2 days           0.0.0.0:8113->8112/tcp, 0.0.0.0:8119->8118/tcp, 0.0.0.0:58847->58846/tcp, 0.0.0.0:58947->58946/tcp, 0.0.0.0:58947->58946/udp   binhex-delugevpn-tv

 

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.