Jump to content
Bungy

[support] Bungy's docker repository

470 posts in this topic Last Reply

Recommended Posts

Hope you get an answer, sorry to butt in but this support page needs to be split into relevant docker support, bungy?

 

I have a short nzbgetvpn question .... am currently using binhex's nzbget but have downloaded bungy's vpn docker image.

Can i just copy across the config files from nzbget into nzbgetvpn alongwith a suitable ovpn file in openvpn folder and will it work?

Or do i have to setup all of my nzbget settings again??

I'd rather not as it involves recreating everything which is currently working. Is the only difference here the external inclusion of vpn support?

Edited by superloopy1

Share this post


Link to post

Hey Bungy - is there any straightforward way to enable SSH management of the MySQL container (by adding credentials into MySQL Workbench) so that I can edit some MySQL options.

 

Also, what's the best way to make a change to the cnf file and have it persist? I remember trying before and losing the setting when the container restarted, and kind of gave up there?

 

Thanks in advance!

Share this post


Link to post

You should move over to containarrr/watchtower

Share this post


Link to post

Hi,

 

tried the nzbgetvpn container, and the VPN connection works.

Got to the console and entered this command

dig +short myip.opendns.com @resolver1.opendns.com

got a different IP address than my ISPs, but nzbget won't start downloading any files, and I don't know why.

 

Tested the linuxserver/nzbget container and download works fine.

Share this post


Link to post

Hi @Bungy

 

I have been using nzbgetvpn for a while with the Bridge networking option without problems. Thanks a lot for doing it! For various reasons I created a br0 network so I can put containers on the same network as my Unraid host. For the other dockers I have done this with (most notably radarr and sonarr) it works fine. Hosts on the br0 as well as the rest of my network can get in touch with them. However, for nzbgetvpn this is different. Hosts on my network EXCEPT those other containers on br0 can access nzbgetvpn. And I just don't get it.

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='nzbgetvpn' --net='br0' --ip='10.20.30.205' --privileged=true -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e 'TCP_PORT_6789'='6789' -e 'VPN_ENABLED'='yes' -e 'STRONG_CERTS'='yes' -e 'VPN_USER'='xxxxx' -e 'VPN_PASS'='xxxxxx' -e 'VPN_REMOTE'='de.privateinternetaccess.com' -e 'VPN_PORT'='1198' -e 'VPN_PROV'='pia' -e 'VPN_PROTOCOL'='udp' -e 'LAN_NETWORK'='10.20.30.0/24' -v '/mnt/user/downloads/':'/data':'rw' -v '/etc/localtime':'/etc/localtime':'ro' -v '/mnt/user/appdata/nzbgetvpn':'/config':'rw' 'jshridha/docker-nzbgetvpn' 

 

My network is 10.20.30.0/24.

 

Can you figure out what's wrong?

 

/klaus

Share this post


Link to post

Hi, 

 

Have installed this mysql image from Community Apps, alongside chvb/docker-apache-php. Connecting to MySQL using PHP code fails with error

 

Connection failed: Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

 

Have frantically Googled this to no avail, solution seems to be adding "--default-authentication-plugin=mysql_native_password" to the command line on startup of the docker container, but I can't work out which box in the Docker Advanced View I need to put it in to make it work

 

Any help much appreciated, thanks! :-)

 

Share this post


Link to post
40 minutes ago, itfcjim said:

Hi, 

 

Have installed this mysql image from Community Apps, alongside chvb/docker-apache-php. Connecting to MySQL using PHP code fails with error

 

Connection failed: Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

 

Have frantically Googled this to no avail, solution seems to be adding "--default-authentication-plugin=mysql_native_password" to the command line on startup of the docker container, but I can't work out which box in the Docker Advanced View I need to put it in to make it work

 

Any help much appreciated, thanks! 🙂

 

So you want to use access a docker container within another docker container?  This can be done via linking containers: https://docs.docker.com/network/links/#communication-across-links with the example similar to --link <name or id>:alias

I believe some recent changes to the version of docker will require you to use a user defined custom bridged network to do this as well.  Documentation on that is here: https://docs.docker.com/network/bridge/#differences-between-user-defined-bridges-and-the-default-bridge unfortunately this is a command line only creation process that I know of.  The reason for this i believe is because --link is legacy and may be removed in future versions, although I have no idea how to link without it when it goes away...  I'm willing to bet they really want people to use Docker compose instead, but I'm not really sure... just the speculation train rolling through.

Share this post


Link to post

Hey man, thanks for the reply

 

I don't think the connection between containers is the issue as the MySQL container exposes port 3306 and the PHP application seems to be able to connect to it (as it's the MySQL container throwing the error about authentication). If I stop the MySQL container then a different error occurs.

 

I think sending that command line argument "--default-authentication-plugin=mysql_native_password" is the fix, I just can't work out where to put it! 

 

Cheers

Share this post


Link to post

Have now installed the MariaDB container instead from CA which works fine - thanks for trying to help out. Cheers

Share this post


Link to post
Posted (edited)

My nzbgetvpn stopped working with vpn enabled. I’m using PIA and latest docker release. Anyone else experience this and have a solution? DelugeVPN still working correctly as usually if it is a PIA issue they break together.

Edited by betaman

Share this post


Link to post
Posted (edited)
On 5/5/2020 at 8:31 PM, betaman said:

My nzbgetvpn stopped working with vpn enabled. I’m using PIA and latest docker release. Anyone else experience this and have a solution? DelugeVPN still working correctly as usually if it is a PIA issue they break together.

I am having the same issue but I do not use PIA.  I have a Privoxy with VPN as well which does not have any issues.  I am guessing it is an issue with the docker container, not our VPNs.
I'm a derp...It was my VPN after all.  I didn't realize my .ovpn config file in this container was connecting to a different server than my Privoxy+VPN.  Switched it out to match what I have in Privoxy and this worked immediately.  Guess one of their servers was down or something.  All good now.

Edited by Aegisnir
Resolved issue

Share this post


Link to post
Posted (edited)
44 minutes ago, Aegisnir said:

I am having the same issue but I do not use PIA.  I have a Privoxy with VPN as well which does not have any issues.  I am guessing it is an issue with the docker container, not our VPNs.
I'm a derp...It was my VPN after all.  I didn't realize my .ovpn config file in this container was connecting to a different server than my Privoxy+VPN.  Switched it out to match what I have in Privoxy and this worked immediately.  Guess one of their servers was down or something.  All good now.

Damn...was hoping it wasn’t just me. Just curious if yours was working and then stopped suddenly? And in theory,  why couldn’t these two containers use different VPN servers?

Edited by betaman

Share this post


Link to post
Posted (edited)

Is support for nzbgetvpn dead? Is there another alternative for vpn with an nzb downloader?

 

Edit: I just deleted, reinstalled and reconfigured docker and it's working. No idea what changed.

Edited by betaman

Share this post


Link to post
Posted (edited)

I have a couple of questions as I'm looking to move to this container over the sabnzbvpn one.

 

**I figured it out myself - see bottom of this post**

 

1. Will this essentially operate the same way sabnzbvpn does, where I can route sonarr/radarr/nzbhydra via proxy out the nzbgetvpn container?

2. Page 1 of this topic states that you need the following servers installed and running for nzbgetvpn to work.

[*]Redis

[*]Postgresql

Why is that, do they just allow nzbget to work over VPN? Asking as sab didn't require any additional components.

 

3. On the dockerhub page for nzbgetvpn it show the following options for installation, more specifically those highlighted in yellow.

nzbgetvpn options.JPG

 

However, when I install nzbgetvpn from CA, *without Redis & Postgresql installed, I have no options for those highlighted in yellow above. Even after selecting 'advanced view'.

22325919_nzbgetvpnoptions.JPG.d23948a640300c88905db32e49c59050.JPG

 

Am I supposed to be creating these variables myself?

 

I assumed installing this would have been the same/similar as sabvpn, modify/add some variables and change any required locations and we're set. So far, it doesn't appear to be that way, at least not for me.

 

If anyone can answer or provide any information that would be greatly appreciated.

============================================================================================================

============================================================================================================

 

******

The docker nzbgetvpn works the same as sabnzbdvpn, at least it seems to be working the same for me.

I did not need Redis or Postgresql to get this working.

I added all the variables that were highlighted in the first picture. I also had to add Host Port 2, with a value of 8118, which is the port that Privoxy uses.

 

Since a picture says a 1000 words, here's what my config looks like, VPN user/pass info removed.

I also removed keys 5 and 6 as I didn't need them for this to work.

1112912604_ConfigScreen1.thumb.jpg.aedffdb91028879da4687792f0c6e378.jpg505488379_ConfigScreen2.thumb.jpg.8f5d41fed1f38b7e1ae3f90970830d18.jpg

Edited by unRAIDuser7
Provided info for others about solution

Share this post


Link to post

Have been running nzbgetvpn since my last post above, May 21, without issue.

 

I have however noticed that log is continually being written to every few seconds with junk, see below.

 

8:42:31,062 DEBG 'start-script' stdout output: R
2020-05-28 18:42:32,258 DEBG 'start-script' stdout output: W
2020-05-28 18:42:33,022 DEBG 'start-script' stdout output: rW
2020-05-28 18:42:36,097 DEBG 'start-script' stdout output: R
2020-05-28 18:42:38,191 DEBG 'start-script' stdout output: rW

 

Does anyone know why this is happening?

I have DEBUG set to false

No, nothing is being downloaded.

I have the console set where it DOES NOT automatically refresh. I just changed the 'writelog' to rotate as it's already created 6 log files today, all are 10.5 MB each.

 

Would really like to know why this is happening!

Share this post


Link to post

Hi Bungy,

 

It's my first time using MySQL docker, I'd like to put database in another folder instead of the default /mnt/user/appdata/mysql, however it seems like the mysql server only works with the default folder, anything else will not work. Is it a bug or just designed to be like that?

 

Thank you.

 

George

Share this post


Link to post

I never received a reply on either of my two posts, just above yours. It doesn't seem too promising that you'll get a reply.

Share this post


Link to post
On 6/11/2020 at 12:48 AM, georgez said:

Hi Bungy,

 

It's my first time using MySQL docker, I'd like to put database in another folder instead of the default /mnt/user/appdata/mysql, however it seems like the mysql server only works with the default folder, anything else will not work. Is it a bug or just designed to be like that?

 

Thank you.

 

George

Advanced view on the edit container screen, then show more settings, then adjust the path accordingly.

Share this post


Link to post

I have been running the nzbget+vpn container for over a year without touching the config but a couple days ago it stopped functioning.  I am getting an error unable to resolve the dns name of the vpn server "cannot be resolved, possible DNS issues".  Has anyone seen this before?  I consoled into the container and I can ping the fqdn of the vpn server just fine. the DNS resolves the name.

 

[info] VPN is enabled, beginning configuration of VPN

2020-06-24 18:15:02,185 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-06-24 18:15:02,185 INFO success: nzbget-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-06-24 18:15:02,186 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-06-24 18:15:02,187 DEBG 'nzbget-script' stdout output:
[info] Nzbget config file already exists, skipping copy

2020-06-24 18:15:02,188 DEBG fd 17 closed, stopped monitoring <POutputDispatcher at 22852840142608 for <Subprocess at 22852840174656 with name privoxy-script in state RUNNING> (stdout)>
2020-06-24 18:15:02,189 DEBG fd 21 closed, stopped monitoring <POutputDispatcher at 22852841104664 for <Subprocess at 22852840174656 with name privoxy-script in state RUNNING> (stderr)>
2020-06-24 18:15:02,189 INFO exited: privoxy-script (exit status 0; expected)
2020-06-24 18:15:02,189 DEBG received SIGCLD indicating a child quit
2020-06-24 18:15:02,198 DEBG 'start-script' stdout output:
[warn] Password contains characters which could cause authentication issues, please consider changing this if possible

2020-06-24 18:15:02,211 DEBG 'nzbget-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2020-06-24 18:15:02,312 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2020-06-24 18:15:02,316 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2020-06-24 18:15:02,321 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2020-06-24 18:15:02,325 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2020-06-24 18:15:02,328 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2020-06-24 18:15:02,390 DEBG 'start-script' stdout output:
[crit] us-slc.secureconnect.me cannot be resolved, possible DNS issues

2020-06-24 18:15:02,391 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22852840174512 for <Subprocess at 22852840174080 with name start-script in state RUNNING> (stdout)>
2020-06-24 18:15:02,391 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22852840175088 for <Subprocess at 22852840174080 with name start-script in state RUNNING> (stderr)>
2020-06-24 18:15:02,391 INFO exited: start-script (exit status 1; not expected)
2020-06-24 18:15:02,391 DEBG received SIGCLD indicating a child quit

 

Share this post


Link to post
On 11/7/2016 at 1:38 PM, Bungy said:

 

That's a good point. It could be that the VPN_PROTOCL env was not configured and was causing the issue. I'm using the same baseimage as binhex's deluge and sabnzbd dockers now, so the configuration for openvpn in my docker should be exactly the same as those dockers.

I have verified all my settings, VPN_PROTOCOL is set to udp, NAME_SERVERS.  I am thinking this has to be something else.

 

2020-06-25 00:22:34.758528 [info] Permissions already set for volume mappings
2020-06-25 00:22:34.803354 [info] VPN_ENABLED defined as 'yes'
2020-06-25 00:22:34.852415 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/torgaurd.ovpn
dos2unix: converting file /config/openvpn/torgaurd.ovpn to Unix format...
2020-06-25 00:22:34.905846 [info] VPN remote line defined as 'remote us-slc.secureconnect.me 1912'
2020-06-25 00:22:34.943237 [info] VPN_REMOTE defined as 'us-slc.secureconnect.me'
2020-06-25 00:22:34.975424 [info] VPN_PORT defined as '1912'
2020-06-25 00:22:35.012189 [info] VPN_PROTOCOL defined as 'udp'
2020-06-25 00:22:35.042827 [info] VPN_DEVICE_TYPE defined as 'tun0'
2020-06-25 00:22:35.073059 [info] VPN_PROV defined as 'custom'
2020-06-25 00:22:35.103400 [info] LAN_NETWORK defined as '192.168.1.0/24'
2020-06-25 00:22:35.134825 [info] NAME_SERVERS defined as '84.200.70.40,84.200.69.80,209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4'
2020-06-25 00:22:35.166555 [info] VPN_USER defined as '#########'
2020-06-25 00:22:35.196731 [info] VPN_PASS defined as '#########'
2020-06-25 00:22:35.228146 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2020-06-25 00:22:35.260177 [info] ENABLE_PRIVOXY defined as 'no'
2020-06-25 00:22:35.291090 [info] Starting Supervisor...

 

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.