[support] Bungy's docker repository


Recommended Posts

Not sure what I am doing wrong but I can't connect to the nzbget gui after install.

 

txqDKrw.jpg

 

Here is the docker log:

 

2015-05-24 08:46:14,464 CRIT Set uid to user 0
2015-05-24 08:46:14,464 WARN Included extra file "/etc/supervisor/conf.d/nzbget.conf" during parsing
2015-05-24 08:46:14,468 INFO supervisord started with pid 1
2015-05-24 08:46:15,471 INFO spawned: 'nzbget' with pid 7
2015-05-24 08:46:15,472 INFO spawned: 'start' with pid 8
2015-05-24 08:46:15,495 DEBG 'start' stdout output:
[info] VPN provider defined as pia

2015-05-24 08:46:15,496 INFO success: nzbget entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2015-05-24 08:46:15,496 INFO success: start entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2015-05-24 08:46:15,500 DEBG 'start' stdout output:
[info] VPN provider remote and port defined as us-east.privateinternetaccess.com 1194

2015-05-24 08:46:15,510 DEBG 'nzbget' stderr output:
/data/dst/nzbget.log: No such file or directory
/data/dst/nzbget.log: No such file or directory
/data/dst/nzbget.log: No such file or directory
/data/dst/nzbget.log: No such file or directory
/data/dst/nzbget.log: No such file or directory

2015-05-24 08:46:15,510 DEBG 'nzbget' stdout output:
nzbget.conf(49): Invalid value for option "InterDir" (/data/inter/): could not create directory /data/inter: 
nzbget.conf(70): Invalid value for option "TempDir" (/data/tmp/): could not create directory /data/tmp: 
nzbget.conf(67): Invalid value for option "QueueDir" (/data/queue/): could not create directory /data/queue: 
nzbget.conf(61): Invalid value for option "NzbDir" (/data/nzb/): could not create directory /data/nzb: 

2015-05-24 08:46:15,511 DEBG fd 8 closed, stopped monitoring (stderr)>
2015-05-24 08:46:15,511 DEBG fd 6 closed, stopped monitoring (stdout)>
2015-05-24 08:46:15,511 INFO exited: nzbget (exit status 0; expected)
2015-05-24 08:46:15,511 DEBG received SIGCLD indicating a child quit
2015-05-24 08:46:15,515 INFO reaped unknown pid 19
2015-05-24 08:46:15,516 DEBG received SIGCLD indicating a child quit
2015-05-24 08:46:15,670 DEBG 'start' stdout output:
[info] ip route

2015-05-24 08:46:15,671 DEBG 'start' stdout output:
default via 172.17.42.1 dev eth0 
8.8.4.4 via 172.17.42.1 dev eth0 
8.8.8.8 via 172.17.42.1 dev eth0 
64.237.0.0/16 via 172.17.42.1 dev eth0 
66.55.0.0/16 via 172.17.42.1 dev eth0 
108.61.0.0/16 via 172.17.42.1 dev eth0 

2015-05-24 08:46:15,671 DEBG 'start' stdout output:
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.6 
208.167.0.0/16 via 172.17.42.1 dev eth0 

2015-05-24 08:46:15,671 DEBG 'start' stdout output:
--------------------

2015-05-24 08:46:15,704 DEBG 'start' stdout output:
[info] iptables

2015-05-24 08:46:15,705 DEBG 'start' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1194 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 6789 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 6789 -j ACCEPT
-A INPUT -p udp -m udp --sport 53 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1194 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 6789 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 6789 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2015-05-24 08:46:15,705 DEBG 'start' stdout output:
--------------------

2015-05-24 08:46:15,706 DEBG 'start' stdout output:
[info] nameservers

2015-05-24 08:46:15,706 DEBG 'start' stdout output:
nameserver 8.8.8.8
nameserver 8.8.4.4

2015-05-24 08:46:15,707 DEBG 'start' stdout output:
--------------------

2015-05-24 08:46:15,707 DEBG 'start' stdout output:
[info] Starting OpenVPN...

2015-05-24 08:46:15,714 DEBG 'start' stdout output:
Sun May 24 08:46:15 2015 OpenVPN 2.3.6 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on Dec 2 2014
Sun May 24 08:46:15 2015 library versions: OpenSSL 1.0.2 22 Jan 2015, LZO 2.09

2015-05-24 08:46:15,714 DEBG 'start' stdout output:
Sun May 24 08:46:15 2015 WARNING: file 'credentials.conf' is group or others accessible

2015-05-24 08:46:15,741 DEBG 'start' stdout output:
Sun May 24 08:46:15 2015 UDPv4 link local: [undef]
Sun May 24 08:46:15 2015 UDPv4 link remote: [AF_INET]108.61.68.157:1194

2015-05-24 08:46:15,764 DEBG 'start' stdout output:
Sun May 24 08:46:15 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this

2015-05-24 08:46:16,042 DEBG 'start' stdout output:
Sun May 24 08:46:16 2015 [Private Internet Access] Peer Connection Initiated with [AF_INET]108.61.68.157:1194

2015-05-24 08:46:18,146 DEBG 'start' stdout output:
Sun May 24 08:46:18 2015 TUN/TAP device tun0 opened
Sun May 24 08:46:18 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sun May 24 08:46:18 2015 /usr/bin/ip link set dev tun0 up mtu 1500

2015-05-24 08:46:18,148 DEBG 'start' stdout output:
Sun May 24 08:46:18 2015 /usr/bin/ip addr add dev tun0 local 10.128.1.6 peer 10.128.1.5

2015-05-24 08:46:18,154 DEBG 'start' stdout output:
Sun May 24 08:46:18 2015 Initialization Sequence Completed

 

Something weird...if I look at my cache drive where I keep my docker configs, the only thing I see there relevant to nzbget is the conf file.  Should there be more?

 

VW0yqTn.jpg

 

Any ideas?

 

John

Link to comment

Hey Bungy,

 

This has been working great, any chance of an update to V15 now it's in stable?

 

Thanks  :)

 

I triggered a new build, which should update the nzbget daemon to v15. The build is pushing now so it should be done shortly.

Link to comment

Hey Bungy,

 

This has been working great, any chance of an update to V15 now it's in stable?

 

Thanks  :)

 

I triggered a new build, which should update the nzbget daemon to v15. The build is pushing now so it should be done shortly.

 

Thanks Bungy.

Link to comment

Just thinking out loud here...

 

What is the benefit of using NZB with VPN?  Just an extra layer of protection (whether needed or not)?  I understand the need for torrents but most news providers are anon and SSL

 

John

Yep, just for the extra layer of protection.

Link to comment
  • 2 weeks later...

I just tried the openhab docker and get an error when browsing to the webui on port 8081:

 

--

HTTP ERROR 500

 

Problem accessing /openhab.app. Reason:

 

    Sitemap 'default' could not be found

Caused by:

 

org.openhab.ui.webapp.render.RenderException: Sitemap 'default' could not be found

--

 

Here is how it is configured:

Container volume - Host path

/etc/openhab - /mnt/cache/appdata/openhab/config

/etc/localtime - /etc/localtime

 

Container port - Host port

8080 - 8081    (because I also have the sab docker on 8080)

 

 

Is there additional configuration I need to do in order to have it spin up?

 

thanks,

Link to comment

So I am thinking through how openhab would work for me. Just say I get a house full of Z-Wave devices. That requires a controller to make them work, say the usb Z-Stick thing.  What would the usb Z-Wave controller plug into? Plug into the tower server and then somehow pass this through to the openhab docker?

 

Thanks for any guidance on how to architect this

 

 

Link to comment

Awesome. I'm glad people are using it. I didn't expect that one to get any traction and kinda just built it for myself.

 

What controller software are you using? I haven't found anything that handles RF dimming gracefully. I had to write my own modifications to the openhab mochad binding, and these changes still haven't found their way into the master branch.

Link to comment
  • 2 weeks later...

Hello!

 

Could anyone help me? Gitlab from this repo doesn't start or at least I doesn't see GUI (Chrome says ERR_CONNECTION_REFUSED).

Giltlab log:

debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
Creating SSH2 ED25519 key; this may take some time ...
invoke-rc.d: policy-rc.d denied execution of restart.
SSL keys and certificates were not found.
Assuming that the container is running behind a HTTPS enabled load balancer.
Waiting for database server to accept connections
Setting up GitLab for firstrun. Please be patient, this could take a while...
gitlabhq_production already exists
Migrating database...
Compiling assets. Please be patient, this could take a while...
Starting supervisord...
2015-06-29 08:25:57,247 CRIT Supervisor running as root (no user in config file)
2015-06-29 08:25:57,247 WARN Included extra file "/etc/supervisor/conf.d/cron.conf" during parsing
2015-06-29 08:25:57,247 WARN Included extra file "/etc/supervisor/conf.d/nginx.conf" during parsing
2015-06-29 08:25:57,247 WARN Included extra file "/etc/supervisor/conf.d/sshd.conf" during parsing
2015-06-29 08:25:57,247 WARN Included extra file "/etc/supervisor/conf.d/unicorn.conf" during parsing
2015-06-29 08:25:57,247 WARN Included extra file "/etc/supervisor/conf.d/sidekiq.conf" during parsing
2015-06-29 08:25:57,266 INFO RPC interface 'supervisor' initialized
2015-06-29 08:25:57,266 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-06-29 08:25:57,267 INFO supervisord started with pid 1
2015-06-29 08:25:58,271 INFO spawned: 'sidekiq' with pid 576
2015-06-29 08:25:58,273 INFO spawned: 'unicorn' with pid 577
2015-06-29 08:25:58,275 INFO spawned: 'cron' with pid 578
2015-06-29 08:25:58,278 INFO spawned: 'nginx' with pid 579
2015-06-29 08:25:58,280 INFO spawned: 'sshd' with pid 580
2015-06-29 08:25:59,788 INFO success: sidekiq entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-06-29 08:25:59,788 INFO success: unicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-06-29 08:25:59,789 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-06-29 08:25:59,789 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-06-29 08:25:59,789 INFO success: sshd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

 

I also installed Postgres and Redis from the repo. All configs are default.

Postgres log:

Initializing database...
Creating user "gitlab"...
Creating database "gitlabhq_production"...
Granting access to database "gitlabhq_production" for user "gitlab"...
Starting PostgreSQL server...
2015-06-29 15:24:28 UTC [1-1] LOG: could not create IPv6 socket: Address family not supported by protocol
2015-06-29 15:24:28 UTC [72-1] LOG: database system was shut down at 2015-06-29 15:24:28 UTC
2015-06-29 15:24:28 UTC [72-2] LOG: MultiXact member wraparound protections are now enabled
2015-06-29 15:24:28 UTC [1-2] LOG: database system is ready to accept connections
2015-06-29 15:24:28 UTC [76-1] LOG: autovacuum launcher started
2015-06-29 15:25:12 UTC [81-1] gitlab@postgres ERROR: database "gitlabhq_production" already exists
2015-06-29 15:25:12 UTC [81-2] gitlab@postgres STATEMENT: CREATE DATABASE "gitlabhq_production" ENCODING = 'unicode'

 

Redis log:

[1] 29 Jun 08:24:45.696 # Server started, Redis version 2.8.4
[1] 29 Jun 08:24:45.697 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[1] 29 Jun 08:24:45.697 * The server is now ready to accept connections on port 6379
[1] 29 Jun 08:24:45.697 * The server is now ready to accept connections at /var/run/redis/redis.sock
[1] 29 Jun 08:29:46.057 * 10 changes in 300 seconds. Saving...
[1] 29 Jun 08:29:46.063 * Background saving started by pid 13
[13] 29 Jun 08:29:46.079 * DB saved on disk
[13] 29 Jun 08:29:46.079 * RDB: 4 MB of memory used by copy-on-write
[1] 29 Jun 08:29:46.163 * Background saving terminated with success

 

P.S. I'm using the latest Unraid 6.0.1 and 4Gb of RAM.

Link to comment

Is there any chance you could downgrade Python from version 3 to 2 on Nzbgetvpn?

 

I use some scripts in Nzbget like Subliminal and VideoSort, it is not compatible with Python 3.

 

Thanks :)

 

I'll try to create a branch that includes python 2. I'm not sure when I"ll get to this, so if you get to it first, feel free to send me a merge request.

Link to comment

Hello!

 

Could anyone help me? Gitlab from this repo doesn't start or at least I doesn't see GUI (Chrome says ERR_CONNECTION_REFUSED).

Giltlab log:

debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
Creating SSH2 ED25519 key; this may take some time ...
invoke-rc.d: policy-rc.d denied execution of restart.
SSL keys and certificates were not found.
Assuming that the container is running behind a HTTPS enabled load balancer.
Waiting for database server to accept connections
Setting up GitLab for firstrun. Please be patient, this could take a while...
gitlabhq_production already exists
Migrating database...
Compiling assets. Please be patient, this could take a while...
Starting supervisord...
2015-06-29 08:25:57,247 CRIT Supervisor running as root (no user in config file)
2015-06-29 08:25:57,247 WARN Included extra file "/etc/supervisor/conf.d/cron.conf" during parsing
2015-06-29 08:25:57,247 WARN Included extra file "/etc/supervisor/conf.d/nginx.conf" during parsing
2015-06-29 08:25:57,247 WARN Included extra file "/etc/supervisor/conf.d/sshd.conf" during parsing
2015-06-29 08:25:57,247 WARN Included extra file "/etc/supervisor/conf.d/unicorn.conf" during parsing
2015-06-29 08:25:57,247 WARN Included extra file "/etc/supervisor/conf.d/sidekiq.conf" during parsing
2015-06-29 08:25:57,266 INFO RPC interface 'supervisor' initialized
2015-06-29 08:25:57,266 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-06-29 08:25:57,267 INFO supervisord started with pid 1
2015-06-29 08:25:58,271 INFO spawned: 'sidekiq' with pid 576
2015-06-29 08:25:58,273 INFO spawned: 'unicorn' with pid 577
2015-06-29 08:25:58,275 INFO spawned: 'cron' with pid 578
2015-06-29 08:25:58,278 INFO spawned: 'nginx' with pid 579
2015-06-29 08:25:58,280 INFO spawned: 'sshd' with pid 580
2015-06-29 08:25:59,788 INFO success: sidekiq entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-06-29 08:25:59,788 INFO success: unicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-06-29 08:25:59,789 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-06-29 08:25:59,789 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-06-29 08:25:59,789 INFO success: sshd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

 

I also installed Postgres and Redis from the repo. All configs are default.

Postgres log:

Initializing database...
Creating user "gitlab"...
Creating database "gitlabhq_production"...
Granting access to database "gitlabhq_production" for user "gitlab"...
Starting PostgreSQL server...
2015-06-29 15:24:28 UTC [1-1] LOG: could not create IPv6 socket: Address family not supported by protocol
2015-06-29 15:24:28 UTC [72-1] LOG: database system was shut down at 2015-06-29 15:24:28 UTC
2015-06-29 15:24:28 UTC [72-2] LOG: MultiXact member wraparound protections are now enabled
2015-06-29 15:24:28 UTC [1-2] LOG: database system is ready to accept connections
2015-06-29 15:24:28 UTC [76-1] LOG: autovacuum launcher started
2015-06-29 15:25:12 UTC [81-1] gitlab@postgres ERROR: database "gitlabhq_production" already exists
2015-06-29 15:25:12 UTC [81-2] gitlab@postgres STATEMENT: CREATE DATABASE "gitlabhq_production" ENCODING = 'unicode'

 

Redis log:

[1] 29 Jun 08:24:45.696 # Server started, Redis version 2.8.4
[1] 29 Jun 08:24:45.697 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[1] 29 Jun 08:24:45.697 * The server is now ready to accept connections on port 6379
[1] 29 Jun 08:24:45.697 * The server is now ready to accept connections at /var/run/redis/redis.sock
[1] 29 Jun 08:29:46.057 * 10 changes in 300 seconds. Saving...
[1] 29 Jun 08:29:46.063 * Background saving started by pid 13
[13] 29 Jun 08:29:46.079 * DB saved on disk
[13] 29 Jun 08:29:46.079 * RDB: 4 MB of memory used by copy-on-write
[1] 29 Jun 08:29:46.163 * Background saving terminated with success

 

P.S. I'm using the latest Unraid 6.0.1 and 4Gb of RAM.

 

It looks like gitlab is up and running correctly. My guess is you're trying to connect to the web gui on the wrong port. Which ports did you assign to the container and what port is gitlab set to use? This is based on your environmental variable for "GITLAB_PORT" and whether you're using HTTPS ("GITLAB_HTTPS=true").

 

For more information, you may want to look at sameersbn's documentation (https://github.com/sameersbn/docker-gitlab). He's the one who wrote the docker container. I simply provided a template for unraid users.

Link to comment

Is there any chance you could downgrade Python from version 3 to 2 on Nzbgetvpn?

 

I use some scripts in Nzbget like Subliminal and VideoSort, it is not compatible with Python 3.

 

Thanks :)

 

I'll try to create a branch that includes python 2. I'm not sure when I"ll get to this, so if you get to it first, feel free to send me a merge request.

 

Ice_Black, python2.7 and python 3.4 are installed by default, but the symbolic link for python points to python 3. Can you change your scripts to use "python2" instead of "python"? Alternatively, there is a symbolic link in /usr/bin pointing python to python3. You could easily change it to point to python2 instead.

 

unlink /usr/bin/python
ln -s /usr/bin/python2 /usr/bin/python

 

I'm happy to make a branch that has python2 as the default, but if it's easy enough to change your scripts, then I think that is the cleaner solution.

Link to comment
  • 2 weeks later...

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.