pervin_1 Posted August 10, 2017 Share Posted August 10, 2017 (edited) 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 August 10, 2017 by pervin_1 Quote Link to comment
Arndroid Posted August 25, 2017 Share Posted August 25, 2017 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! Quote Link to comment
Arndroid Posted August 26, 2017 Share Posted August 26, 2017 (edited) 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 August 26, 2017 by Arndroid Quote Link to comment
Bungy Posted August 26, 2017 Author Share Posted August 26, 2017 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? Quote Link to comment
Arndroid Posted August 26, 2017 Share Posted August 26, 2017 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. Quote Link to comment
Bungy Posted August 26, 2017 Author Share Posted August 26, 2017 2 hours ago, Arndroid said: The IP from the machine I'm connecting from is 192.168.0.190. That's the problem. LAN_NETWORK should be set to 192.168.0.0/24 if that is your IP address. Make that change and you should be able to connect. Quote Link to comment
Arndroid Posted August 27, 2017 Share Posted August 27, 2017 (edited) 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 August 27, 2017 by Arndroid Quote Link to comment
Dazza1 Posted September 24, 2017 Share Posted September 24, 2017 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 Quote Link to comment
Bungy Posted September 24, 2017 Author Share Posted September 24, 2017 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 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? Quote Link to comment
Dazza1 Posted September 25, 2017 Share Posted September 25, 2017 (edited) 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 unRAID2017-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/Linux2017-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 mappings2017-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 ports2017-09-25 08:08:06.716825 [warn] NAME_SERVERS not defined (via -e NAME_SERVERS), defaulting to Google and FreeDNS name servers2017-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 02017-09-25 08:08:07,446 INFO Included extra file "/etc/supervisor/conf.d/nzbget.conf" during parsing2017-09-25 08:08:07,450 INFO supervisord started with pid 72017-09-25 08:08:08,453 INFO spawned: 'start-script' with pid 1152017-09-25 08:08:08,455 INFO spawned: 'nzbget-script' with pid 1162017-09-25 08:08:08,456 INFO spawned: 'privoxy-script' with pid 1172017-09-25 08:08:08,457 INFO reaped unknown pid 82017-09-25 08:08:08,463 DEBG 'start-script' stdout output:[info] VPN is enabled, beginning configuration of VPN2017-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 copy2017-09-25 08:08:08,465 DEBG 'privoxy-script' stdout output:[info] Privoxy set to disabled2017-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 quit2017-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.ovpn2017-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.12017-09-25 08:08:08,533 DEBG 'start-script' stdout output:[info] Adding 8.8.8.8 to /etc/resolv.conf2017-09-25 08:08:08,537 DEBG 'start-script' stdout output:[info] Adding 37.235.1.174 to /etc/resolv.conf2017-09-25 08:08:08,541 DEBG 'start-script' stdout output:[info] Adding 8.8.4.4 to /etc/resolv.conf2017-09-25 08:08:08,545 DEBG 'start-script' stdout output:[info] Adding 37.235.1.177 to /etc/resolv.conf2017-09-25 08:08:08,553 DEBG 'start-script' stdout output:[info] Adding 192.168.1.26 as route via docker eth02017-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 eth0172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.5192.168.1.26 via 172.17.0.1 dev eth02017-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 tables2017-09-25 08:08:08,584 DEBG 'start-script' stdout output:[info] Docker network defined as 172.17.0.0/162017-09-25 08:08:08,623 DEBG 'nzbget-script' stdout output:[info] VPN is enabled, checking VPN tunnel local ip is valid2017-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 ACCEPT2017-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 accessibleMon 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 2017Mon Sep 25 08:08:08 2017 library versions: OpenSSL 1.1.0e 16 Feb 2017, LZO 2.102017-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 scripts2017-09-25 08:08:08,667 DEBG 'start-script' stdout output:[info] OpenVPN started2017-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:1198Mon 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:11982017-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:11982017-09-25 08:08:10,004 DEBG 'start-script' stdout output:Mon Sep 25 08:08:10 2017 TUN/TAP device tun0 openedMon Sep 25 08:08:10 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0Mon Sep 25 08:08:10 2017 /usr/bin/ip link set dev tun0 up mtu 15002017-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.52017-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 init2017-09-25 08:08:10,014 DEBG 'start-script' stdout output:Mon Sep 25 08:08:10 2017 Initialization Sequence Completed2017-09-25 08:08:10,088 DEBG 'start-script' stdout output:[info] Successfully retrieved external IP address 212.92.115.1072017-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 directory2017-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 started2017-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 directory2017-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 started2017-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 directory2017-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 September 25, 2017 by Dazza1 Full Log uploaded Quote Link to comment
Dazza1 Posted September 30, 2017 Share Posted September 30, 2017 Sorted had to delete the config file from unraid, I can now access the webpage again Quote Link to comment
Katherine Posted October 24, 2017 Share Posted October 24, 2017 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? Quote Link to comment
Bungy Posted October 25, 2017 Author Share Posted October 25, 2017 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. 1 Quote Link to comment
Katherine Posted October 25, 2017 Share Posted October 25, 2017 (edited) 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 October 25, 2017 by Katherine Quote Link to comment
Bungy Posted October 25, 2017 Author Share Posted October 25, 2017 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. 1 Quote Link to comment
Katherine Posted October 25, 2017 Share Posted October 25, 2017 (edited) 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 October 25, 2017 by Katherine Quote Link to comment
Bungy Posted October 25, 2017 Author Share Posted October 25, 2017 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. Quote Link to comment
Bungy Posted October 25, 2017 Author Share Posted October 25, 2017 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. 1 Quote Link to comment
Katherine Posted October 30, 2017 Share Posted October 30, 2017 (edited) 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 October 30, 2017 by Katherine Quote Link to comment
MrGreen718 Posted November 8, 2017 Share Posted November 8, 2017 (edited) @Bungythe 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 Edited November 8, 2017 by MrGreen718 tagging bungy Quote Link to comment
Bungy Posted November 19, 2017 Author Share Posted November 19, 2017 [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 foundpwgen 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 Quote Link to comment
macattack Posted January 12, 2018 Share Posted January 12, 2018 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. Quote Link to comment
jedimstr Posted February 5, 2018 Share Posted February 5, 2018 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. Quote Link to comment
ElectricBadger Posted March 10, 2018 Share Posted March 10, 2018 (edited) 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… Edited March 11, 2018 by ElectricBadger possible fix Quote Link to comment
marduk201 Posted March 13, 2018 Share Posted March 13, 2018 (edited) hey anyone got mysql working ? i can't change the password and i cant get root to login.. anyone having the same problem? Edited March 13, 2018 by marduk201 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.