[support] Bungy's docker repository


Recommended Posts

when ownclound docker gets installed, which other services installed in this container? 

 

PHP? 

Mysql? 

Which web server? Nginx or Apache? 

 

I am trying to Import SSL certificate to my owncloud for secured connection, but Owncloud complains about "An error occurred. please upload an ascii-encoded pem certificate". I am uploading self signed certificate generated by openssl on ubuntu with .pem extension btw

 

I am new to linux and coming from WIndows eco-system, but learned a lot for past 2 weeks and love it so much!!

Edited by pervin_1
Link to comment
  • 3 weeks later...

I cannot seem to login to the WEBGUI:

Docker log

 

Docker settings:

Host Port1: 6789 (default)
Host Path 1: /mnt/user/appdata/nzbgetvpn/downloads (default)
Host Path 3: /etc/localtime (default)
Key 1: yes (default) 
Key 2: no (default) 
Key 3: $username
Key 4: $password
Key 5: $server
Key 6: 1198 (default)  (tried 1194)
Key 7: custom (default was "pia", but I don't have a PIA vpn atm/yet)
Key 8: udp (default) 
Key 9: 192.168.1.0/24 (default) (and is correct for my network)
unRAID Share Path: /mnt/usr
AppData Config Path: /mnt/user/appdata/nzbgetvpn (default) 

I have been able to get the WebGUI to work (with approximately, minor key value differences) the same settings for Transmission VPN, which is also based on BinHex's VPN side of things.

 

Thanks in advance for the help!

Link to comment

If I set Key 1 to "no" (VPN Enabled), so disabling the VPN side of things, I can access the WebGUI.

When I enable to VPN, setting Key 1 to "yes", I cannot access the WebGUI.

 

I now have Key 6, (the VPN Port) set to 1194, and Key 7 to custom (VPN Provider), since 1198 is something exclusively for PIA and not setting the VPN Provider to custom will default to port something PIA's 1198 port.

Still, with that out of the way, I cannot connect to the WebGUI.

 

If it makes any difference, here is the Docker log.

 

I also tried to transfer the OpenVPN files from the TransmissionVPN docker, under the openvpn folder, (I put the files there manually aswell) to the openvpn folder in this docker, just to make sure. No dice.

Edited by Arndroid
Link to comment
39 minutes ago, Arndroid said:

If I set Key 1 to "no" (VPN Enabled), so disabling the VPN side of things, I can access the WebGUI.

When I enable to VPN, setting Key 1 to "yes", I cannot access the WebGUI.

 

I now have Key 6, (the VPN Port) set to 1194, and Key 7 to custom (VPN Provider), since 1198 is something exclusively for PIA and not setting the VPN Provider to custom will default to port something PIA's 1198 port.

Still, with that out of the way, I cannot connect to the WebGUI.

 

If it makes any difference, here is the Docker log.

 

I also tried to transfer the OpenVPN files from the TransmissionVPN docker, under the openvpn folder, (I put the files there manually aswell) to the openvpn folder in this docker, just to make sure. No dice.

 

This is a common symptom of trying to access the docker container from a machine that is not on the LAN_NETWORK subnet. Can you verify the ip address of the machine you're trying to connect from?

 

Can you also exec inside of the container and verify it is connected to the VPN?

Link to comment
17 minutes ago, Bungy said:

 

This is a common symptom of trying to access the docker container from a machine that is not on the LAN_NETWORK subnet. Can you verify the ip address of the machine you're trying to connect from?

 

Can you also exec inside of the container and verify it is connected to the VPN?

 

The IP from the machine I'm connecting from is 192.168.0.190.

 

I tried to execute "curl ipinfo.io/ip" (to get the Public IP) on this docker, it just did nothing. Pinging 8.8.8.8 did work though.

On the TransmissionVPN docker I can run "curl ipinfo.io/ip" and get a VPN IP address back. Pinging 8.8.8.8 is also successful.

 

The "LAN_NETWORK" Key is "192.168.1.0/24", same as on the TransmissionVPN docker.

Link to comment

I can acces the WebGUI with both LAN_NETWORK 192.168.0.0/24 and 192.168.1.0/24, weird...?

 

However that's only when I disable the VPN, when I enable it I cannot connect to the WebGUI.

I don't know what settings of my VPN info are wrong, since I use the exact same info for TransmissionVPN.

 

Is the VPN_PROVIDER, which is set to "custom" by me, invalid perhaps?

 

 

Edit:

Same goes for LAN_NETWORK being set on /23 or different numbers all together... strange.

Edited by Arndroid
Link to comment
  • 4 weeks later...
1 hour ago, Dazza1 said:

Hi Buggy,

i don’t seem to be able to get into the webgui anymore after doing a couple of settings on the webgui I’m no longer able to get in, I’ve deleted the docker countless times but can’t get back to how it was is there a way to rest it? please help here is my info

C4ABA483-43F2-4B12-8DCB-78C91F3ACE5F.png

 

The top of your logs are cut off. What do you have LAN_NETWORK set to and what is your unraid server's ip address?

Link to comment

Hi Bungy, In the settings of nzbgetvpn I’ve got it on 192.168.1.0/26 my server ip is 192.168.1.26 I’ve tried changing the lan_network to exactly the same ip as unraid but still can’t the webgui

Here is the full log

 


Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2017-09-25 08:08:06.086261 [info] Host is running unRAID
2017-09-25 08:08:06.123546 [info] System information Linux d614028e5d52 4.9.30-unRAID #1 SMP PREEMPT Fri May 26 13:56:36 PDT 2017 x86_64 GNU/Linux
2017-09-25 08:08:06.164901 [warn] PUID not defined (via -e PUID), defaulting to '99'
2017-09-25 08:08:06.208542 [warn] PGID not defined (via -e PGID), defaulting to '100'
2017-09-25 08:08:06.327890 [warn] UMASK not defined (via -e UMASK), defaulting to '000'
2017-09-25 08:08:06.370577 [info] Permissions already set for volume mappings
2017-09-25 08:08:06.418589 [info] VPN_ENABLED defined as 'yes'
2017-09-25 08:08:06.462284 [info] VPN_PROV defined as 'pia'
2017-09-25 08:08:06.504639 [info] VPN_REMOTE defined as 'nl.privateinternetaccess.com'
2017-09-25 08:08:06.546984 [info] VPN_PORT defined as '1198'
2017-09-25 08:08:06.588999 [info] VPN_PROTOCOL defined as 'udp'
2017-09-25 08:08:06.632455 [info] LAN_NETWORK defined as '192.168.1.26'
2017-09-25 08:08:06.674489 [info] ADDITIONAL_PORTS not defined (via -e ADDITIONAL_PORTS), skipping allow for custom incoming ports
2017-09-25 08:08:06.716825 [warn] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to Google and FreeDNS name servers
2017-09-25 08:08:06.759484 [info] VPN_USER defined as 'xxxxxxxx'
2017-09-25 08:08:06.802467 [info] VPN_PASS defined as 'xxxxxxxxxxx'
2017-09-25 08:08:06.845527 [warn] VPN_DEVICE_TYPE not defined (via -e VPN_DEVICE_TYPE), defaulting to 'tun'
2017-09-25 08:08:06.887952 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2017-09-25 08:08:06.930871 [info] STRONG_CERTS defined as 'no'
2017-09-25 08:08:06.973021 [warn] ENABLE_PRIVOXY not defined (via -e ENABLE_PRIVOXY), defaulting to 'no'
2017-09-25 08:08:07.015966 [info] Starting Supervisor...
2017-09-25 08:08:07,446 CRIT Set uid to user 0
2017-09-25 08:08:07,446 INFO Included extra file "/etc/supervisor/conf.d/nzbget.conf" during parsing
2017-09-25 08:08:07,450 INFO supervisord started with pid 7
2017-09-25 08:08:08,453 INFO spawned: 'start-script' with pid 115
2017-09-25 08:08:08,455 INFO spawned: 'nzbget-script' with pid 116
2017-09-25 08:08:08,456 INFO spawned: 'privoxy-script' with pid 117
2017-09-25 08:08:08,457 INFO reaped unknown pid 8
2017-09-25 08:08:08,463 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2017-09-25 08:08:08,463 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-09-25 08:08:08,464 INFO success: nzbget-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-09-25 08:08:08,464 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-09-25 08:08:08,464 DEBG 'nzbget-script' stdout output:
[info] Nzbget config file already exists, skipping copy

2017-09-25 08:08:08,465 DEBG 'privoxy-script' stdout output:
[info] Privoxy set to disabled

2017-09-25 08:08:08,466 DEBG fd 17 closed, stopped monitoring <POutputDispatcher at 47568713016600 for <Subprocess at 47568713377768 with name privoxy-script in state RUNNING> (stdout)>
2017-09-25 08:08:08,466 DEBG fd 21 closed, stopped monitoring <POutputDispatcher at 47568713018832 for <Subprocess at 47568713377768 with name privoxy-script in state RUNNING> (stderr)>
2017-09-25 08:08:08,466 INFO exited: privoxy-script (exit status 0; expected)
2017-09-25 08:08:08,466 DEBG received SIGCLD indicating a child quit
2017-09-25 08:08:08,471 DEBG 'start-script' stdout output:
[info] VPN default certs defined, copying to /config/openvpn/...

2017-09-25 08:08:08,475 DEBG 'start-script' stdout output:
[info] VPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn

2017-09-25 08:08:08,476 DEBG 'start-script' stderr output:
dos2unix:
2017-09-25 08:08:08,476 DEBG 'start-script' stderr output:
converting file /config/openvpn/openvpn.ovpn to Unix format...

2017-09-25 08:08:08,528 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2017-09-25 08:08:08,533 DEBG 'start-script' stdout output:
[info] Adding 8.8.8.8 to /etc/resolv.conf

2017-09-25 08:08:08,537 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf

2017-09-25 08:08:08,541 DEBG 'start-script' stdout output:
[info] Adding 8.8.4.4 to /etc/resolv.conf

2017-09-25 08:08:08,545 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf

2017-09-25 08:08:08,553 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.26 as route via docker eth0

2017-09-25 08:08:08,554 DEBG 'start-script' stdout output:
[info] ip route defined as follows...

2017-09-25 08:08:08,554 DEBG 'start-script' stdout output:
--------------------

2017-09-25 08:08:08,554 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.5
192.168.1.26 via 172.17.0.1 dev eth0

2017-09-25 08:08:08,555 DEBG 'start-script' stdout output:
--------------------

2017-09-25 08:08:08,558 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2017-09-25 08:08:08,584 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2017-09-25 08:08:08,623 DEBG 'nzbget-script' stdout output:
[info] VPN is enabled, checking VPN tunnel local ip is valid

2017-09-25 08:08:08,646 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2017-09-25 08:08:08,649 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1198 -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 -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -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

2017-09-25 08:08:08,649 DEBG 'start-script' stdout output:
--------------------

2017-09-25 08:08:08,649 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2017-09-25 08:08:08,666 DEBG 'start-script' stdout output:
Mon Sep 25 08:08:08 2017 WARNING: file 'credentials.conf' is group or others accessible
Mon Sep 25 08:08:08 2017 OpenVPN 2.4.1 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar 22 2017
Mon Sep 25 08:08:08 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.10

2017-09-25 08:08:08,667 DEBG 'start-script' stdout output:
Mon Sep 25 08:08:08 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2017-09-25 08:08:08,667 DEBG 'start-script' stdout output:
[info] OpenVPN started

2017-09-25 08:08:08,694 DEBG 'start-script' stdout output:
Mon Sep 25 08:08:08 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]46.166.188.205:1198
Mon Sep 25 08:08:08 2017 UDP link local: (not bound)
Mon Sep 25 08:08:08 2017 UDP link remote: [AF_INET]46.166.188.205:1198

2017-09-25 08:08:08,794 DEBG 'start-script' stdout output:
Mon Sep 25 08:08:08 2017 [bc0de5605339fd9b767f5086e373da88] Peer Connection Initiated with [AF_INET]46.166.188.205:1198

2017-09-25 08:08:10,004 DEBG 'start-script' stdout output:
Mon Sep 25 08:08:10 2017 TUN/TAP device tun0 opened
Mon Sep 25 08:08:10 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Mon Sep 25 08:08:10 2017 /usr/bin/ip link set dev tun0 up mtu 1500

2017-09-25 08:08:10,006 DEBG 'start-script' stdout output:
Mon Sep 25 08:08:10 2017 /usr/bin/ip addr add dev tun0 local 10.46.10.6 peer 10.46.10.5

2017-09-25 08:08:10,007 DEBG 'start-script' stdout output:
Mon Sep 25 08:08:10 2017 /root/openvpnup.sh tun0 1500 1558 10.46.10.6 10.46.10.5 init

2017-09-25 08:08:10,014 DEBG 'start-script' stdout output:
Mon Sep 25 08:08:10 2017 Initialization Sequence Completed

2017-09-25 08:08:10,088 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 212.92.115.107

2017-09-25 08:08:10,114 DEBG 'nzbget-script' stdout output:
[info] Nzbget not running
[info] Attempting to start Nzbget...

2017-09-25 08:08:10,121 DEBG 'nzbget-script' stderr output:
/downloads/Complete//nzbget.log: No such file or directory
/downloads/Complete//nzbget.log: No such file or directory
/downloads/Complete//nzbget.log: No such file or directory
/downloads/Complete//nzbget.log: No such file or directory

2017-09-25 08:08:10,122 DEBG 'nzbget-script' stdout output:
nzbget.conf(55): Invalid value for option "TempDir" (/downloads//tmp): could not create directory :
nzbget.conf(52): Invalid value for option "QueueDir" (/downloads//queue): could not create directory :
nzbget.conf(46): Invalid value for option "NzbDir" (/downloads//nzb): could not create directory :

2017-09-25 08:08:10,123 DEBG 'nzbget-script' stdout output:
[info] Nzbget started

2017-09-25 08:08:40,253 DEBG 'nzbget-script' stdout output:
[info] Nzbget not running
[info] Attempting to start Nzbget...

2017-09-25 08:08:40,260 DEBG 'nzbget-script' stderr output:
/downloads/Complete//nzbget.log: No such file or directory
/downloads/Complete//nzbget.log: No such file or directory
/downloads/Complete//nzbget.log: No such file or directory
/downloads/Complete//nzbget.log: No such file or directory

2017-09-25 08:08:40,260 DEBG 'nzbget-script' stdout output:
nzbget.conf(55): Invalid value for option "TempDir" (/downloads//tmp): could not create directory :
nzbget.conf(52): Invalid value for option "QueueDir" (/downloads//queue): could not create directory :
nzbget.conf(46): Invalid value for option "NzbDir" (/downloads//nzb): could not create directory :

2017-09-25 08:08:40,261 DEBG 'nzbget-script' stdout output:
[info] Nzbget started

2017-09-25 08:09:10,392 DEBG 'nzbget-script' stdout output:
[info] Nzbget not running
[info] Attempting to start Nzbget...

2017-09-25 08:09:10,399 DEBG 'nzbget-script' stderr output:
/downloads/Complete//nzbget.log: No such file or directory
/downloads/Complete//nzbget.log: No such file or directory
/downloads/Complete//nzbget.log: No such file or directory
/downloads/Complete//nzbget.log: No such file or directory

2017-09-25 08:09:10,400 DEBG 'nzbget-script' stdout output:
nzbget.conf(55): Invalid value for option "TempDir" (/downloads//tmp): could not create directory :
nzbget.conf(52): Invalid value for option "QueueDir" (/downloads//queue): could not create directory :
nzbget.conf(46): Invalid value for option "NzbDir" (/downloads//nzb): could not create directory :

2017-09-25 08:09:10,400 DEBG 'nzbget-script' stdout output:
[info] Nzbget started
 

Edited by Dazza1
Full Log uploaded
Link to comment
  • 4 weeks later...

In NZBGet, I enabled CertCheck under Security and now I'm getting a bunch of errors:

ERROR	Tue Oct 24 2017 15:20:46	Could not set certificate store location: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
ERROR	Tue Oct 24 2017 15:20:46	Could not set certificate store location: error:2006D080:BIO routines:BIO_new_file:no such file
ERROR	Tue Oct 24 2017 15:20:46	Could not set certificate store location: error:02001002:system library:fopen:No such file or directory

Does the NZBGet docker container already have the cacert.pem?

Link to comment
5 hours ago, Katherine said:

In NZBGet, I enabled CertCheck under Security and now I'm getting a bunch of errors:


ERROR	Tue Oct 24 2017 15:20:46	Could not set certificate store location: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
ERROR	Tue Oct 24 2017 15:20:46	Could not set certificate store location: error:2006D080:BIO routines:BIO_new_file:no such file
ERROR	Tue Oct 24 2017 15:20:46	Could not set certificate store location: error:02001002:system library:fopen:No such file or directory

Does the NZBGet docker container already have the cacert.pem?

 

No, you will need to provide your own certificates if you would like to use this option. The docker does not generate certificates by default. This shouldn't be hard to accomplish though. There's plenty of tutorials out there on how to use openssl to generate certificates.

  • Like 1
Link to comment

Thank you @Bungy, I'll generate a certificate.

 

I also had all my scripts terminate with unknown status. Is this an issue with the Python folder? Any suggestions how to fix this?

 

ERROR	Tue Oct 24 2017 22:31:12	Post-process-script Others/ResetDateTime.py for Ubuntu-16.04.1-server-I386 failed (terminated with unknown status)
INFO	Tue Oct 24 2017 22:31:12	ResetDateTime: /usr/bin/env: ‘python’: No such file or directory
INFO	Tue Oct 24 2017 22:31:12	Executing post-process-script Others/ResetDateTime.py for Ubuntu-16.04.1-server-I386
ERROR	Tue Oct 24 2017 22:31:12	Post-process-script Others/DeleteSamples.py for Ubuntu-16.04.1-server-I386 failed (terminated with unknown status)
INFO	Tue Oct 24 2017 22:31:12	DeleteSamples: /usr/bin/env: ‘python’: No such file or directory
INFO	Tue Oct 24 2017 22:31:12	Executing post-process-script Others/DeleteSamples.py for Ubuntu-16.04.1-server-I386

 

Edited by Katherine
Link to comment
8 hours ago, Katherine said:

Thank you @Bungy, I'll generate a certificate.

 

I also had all my scripts terminate with unknown status. Is this an issue with the Python folder? Any suggestions how to fix this?

 


ERROR	Tue Oct 24 2017 22:31:12	Post-process-script Others/ResetDateTime.py for Ubuntu-16.04.1-server-I386 failed (terminated with unknown status)
INFO	Tue Oct 24 2017 22:31:12	ResetDateTime: /usr/bin/env: ‘python’: No such file or directory
INFO	Tue Oct 24 2017 22:31:12	Executing post-process-script Others/ResetDateTime.py for Ubuntu-16.04.1-server-I386
ERROR	Tue Oct 24 2017 22:31:12	Post-process-script Others/DeleteSamples.py for Ubuntu-16.04.1-server-I386 failed (terminated with unknown status)
INFO	Tue Oct 24 2017 22:31:12	DeleteSamples: /usr/bin/env: ‘python’: No such file or directory
INFO	Tue Oct 24 2017 22:31:12	Executing post-process-script Others/DeleteSamples.py for Ubuntu-16.04.1-server-I386

 

 

The issue is that python2 is installed, but python3 is not. If your scripts are compatible with python2, the easiest fix will be to change the shebang in your scripts to point to /usr/sbin/python2. Otherwise, I'll have to include python3 in the container. Let me know if you need python3 and I'll be happy to include it.

  • Like 1
Link to comment

Thank you @Bungy once again. I did change the shebang in all the scripts to

#!/usr/sbin/python2

from

#!/usr/bin/env python

 

With the exception of one script, I got all the scripts working. Oddly enough, when I check the documentation for the failed script it does say that the script will work with Python 2.6 and above so I'm not entirely sure what is going on.

Edited by Katherine
Link to comment
1 minute ago, Katherine said:

Thank you @Bungy once again. I did change the shebang in all the scripts to


#!/usr/sbin/python2

from


#!/usr/bin/env python

 

With the exception of one script, I got all the scripts working. Oddly enough, when I check the documentation it does say that the script will work with Python 2.6 and above so I'm not sure what is going on.

 

Post the script and I'll take a look. Otherwise, it may just be easiest for me to include python3 in and you can reset your shebangs to the original.

Link to comment
23 minutes ago, Katherine said:

Thank you @Bungy once again. I did change the shebang in all the scripts to


#!/usr/sbin/python2

from


#!/usr/bin/env python

 

With the exception of one script, I got all the scripts working. Oddly enough, when I check the documentation for the failed script it does say that the script will work with Python 2.6 and above so I'm not entirely sure what is going on.

 

@Katherine I decided to go ahead and include python3. You're not the first user that requested it, and more things are moving towards python3 so it's definitely warranted. Give it about 10 minutes for the build to finish and then pull down the new image. Revert your shebang back and you should be good to go.

  • Like 1
Link to comment

Thank you @Bungy for the update.

 

I updated the docker and restored the default shebang (#!/usr/bin/env python) but that only made all the scripts throw errors. So I'm back to using the shebang you suggested (#!/usr/sbin/python2) and now all the scripts are working with the exception of one. The script in question is Subliminal. It does state on their GitHub repo that they support Python 2.6 and it was working fine when I was using LinuxServer's NZBGet docker. I did reset permissions after I switched over to your docker just to be safe.

 

Here's the error Subliminal throws with the default shebang (#!/usr/bin/env python):

ERROR	Mon Oct 30 2017 04:43:41	Post-process-script Subliminal/Subliminal.py for c80122f7a8dc35d02d918f0b7aaaa0fe failed (terminated with unknown status)
INFO	Mon Oct 30 2017 04:43:41	Subliminal: SyntaxError: invalid syntax
INFO	Mon Oct 30 2017 04:43:41	Subliminal: ^
INFO	Mon Oct 30 2017 04:43:41	Subliminal: except ConfigException, e:
INFO	Mon Oct 30 2017 04:43:41	Subliminal: File "/media/scripts/Subliminal/Subliminal.py", line 2435
INFO	Mon Oct 30 2017 04:43:41	Executing post-process-script Subliminal/Subliminal.py for c80122f7a8dc35d02d918f0b7aaaa0fe

 

I'm using Subliminal 1.0.0 though I've also tried Subliminal 0.10.0 without any success.

Edited by Katherine
Link to comment
  • 2 weeks later...
  • 2 weeks later...
[mention=7061]Bungy[/mention]the PWgen commend doesnt work when I telnet to my unraid machine. Any ideas as to why? I keep getting the following error.
 
-bash: pwgen: command not found
pwgen doesn't exist on unraid. You may have to run that command from within a Ubuntu docker container or another container that has that command.

Sent from my SM-N950U using Tapatalk

Link to comment
  • 1 month later...

For the mysql docker how do I set lower_case_table_names attribute I tried adding it to the custom.cnf file like so

 

[mysqld]
lower_case_table_names  = 2
key_buffer_size         = 16M
max_allowed_packet      = 16M
 

but it failed I have a program that I am trying to use that query's in lowercase and the program can't find the table it made because it was created in upper case. Unfortunately I can't fix the program.

Link to comment
  • 4 weeks later...

Can we get the Testing build of NZBGet with VPN added as a tag option (maybe as :testing)?  It's up to 20.0-testing-r2159 as of last November and has some major performance enhancements over the current stable build 19.  Linuxserver.io's docker template for nzbget provides the testing tag version, but I don't want to lose the great VPN integration you put in yours.

Link to comment
  • 1 month later...

UPDATE: hm, it looks like it might be a similar problem in both versions — despite setting the Postgres data to be on /mnt/disk6/appdata rather than /mnt/cache/appdata, it seems to have created files in both folders. I've stopped the Dockers, nuked both folders, and restarted — so far, everything's correctly appearing just on disk6. I'll run it for a few nights and see if that fixes the problem.

 

 

I've tried switching to the sameersbn version of gitlab after having terrible trouble getting the GitLab CE Docker image to work. It worked for slightly less than 12 hours, and then postgresql failed overnight and will not restart:

 

ErrorWarningSystemArrayLogin

Initializing datadir...
Initializing certdir...
Initializing logdir...
Initializing rundir...
Setting resolv.conf ACLs...
Creating database user: gitlab
Creating database: gitlabhq_production...
‣ Loading pg_trgm extension...
‣ Granting access to gitlab user...
Starting PostgreSQL 9.6...
LOG: database system was shut down at 2018-03-09 22:52:40 GMT
LOG: MultiXact member wraparound protections are now enabled
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
ERROR: database "gitlabhq_production" already exists
STATEMENT: CREATE DATABASE "gitlabhq_production" ENCODING = 'unicode'
FATAL: could not open relation mapping file "global/pg_filenode.map": No such file or directory
FATAL: could not open relation mapping file "global/pg_filenode.map": No such file or directory
FATAL: could not open relation mapping file "global/pg_filenode.map": No such file or directory
PANIC: could not open control file "global/pg_control": No such file or directory
LOG: checkpointer process (PID 1285) was terminated by signal 6: Aborted
LOG: terminating any other active server processes
WARNING: terminating connection because of crash of another server process
DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
HINT: In a moment you should be able to reconnect to the database and repeat your command.
WARNING: terminating connection because of crash of another server process
DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
HINT: In a moment you should be able to reconnect to the database and repeat your command.
WARNING: terminating connection because of crash of another server process
DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
HINT: In a moment you should be able to reconnect to the database and repeat your command.
WARNING: terminating connection because of crash of another server process
DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
HINT: In a moment you should be able to reconnect to the database and repeat your command.
WARNING: terminating connection because of crash of another server process
DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
HINT: In a moment you should be able to reconnect to the database and repeat your command.
LOG: all server processes terminated; reinitializing
PANIC: could not open control file "global/pg_control": No such file or directory
Initializing datadir...
Initializing certdir...
Initializing logdir...
Initializing rundir...
Setting resolv.conf ACLs...
Initializing database...
initdb: directory "/var/lib/postgresql/9.6/main" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/var/lib/postgresql/9.6/main" or run initdb
with an argument other than "/var/lib/postgresql/9.6/main".
Initializing datadir...
Initializing certdir...
Initializing logdir...
Initializing rundir...
Setting resolv.conf ACLs...
Initializing database...
initdb: directory "/var/lib/postgresql/9.6/main" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/var/lib/postgresql/9.6/main" or run initdb
with an argument other than "/var/lib/postgresql/9.6/main".

Why is it trying to initialise the database every time it starts? Surely the logic should be "if the database already exists, use it, otherwise create it"?

 

I can't see anything odd in the config — the only things I've done are move the /var/lib/postgresql mapping to be on disk6 rather than cache* and add the DB_EXTENSION=pg_trgm.

 

Does anybody know why this is unstable?

 

Thanks

 

* Or is it safe to just point at /mnt/user/appdata/postgresql here? I know the gitlab-ce docker has dire warnings about using cache (too expensive to fill with a massive database) or an explicit disk rather than /mnt/user…

Screen Shot 2018-03-10 at 10.46.59.png

 

Edited by ElectricBadger
possible fix
Link to comment

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.