dewlite

Members
  • Posts

    12
  • Joined

  • Last visited

dewlite's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Noticed some issues when I restarted my docker, log shows it was unable to curl the PIA server list as the first fail, otherwises sits in a loop. thoughts? 2020-10-19 19:43:59.180700 [info] System information Linux f108de28b7a0 5.8.13-Unraid #1 SMP Wed Oct 7 01:03:59 CDT 2020 x86_64 GNU/Linux 2020-10-19 19:43:59.209830 [info] OS_ARCH defined as 'x86-64' 2020-10-19 19:43:59.239983 [info] PUID defined as '99' 2020-10-19 19:43:59.275972 [info] PGID defined as '100' 2020-10-19 19:43:59.324722 [info] UMASK defined as '000' 2020-10-19 19:43:59.354076 [info] Permissions already set for volume mappings 2020-10-19 19:43:59.383596 [info] Deleting files in /tmp (non recursive)... 2020-10-19 19:43:59.418391 [info] VPN_ENABLED defined as 'yes' 2020-10-19 19:43:59.451083 [warn] VPN_CLIENT not defined (via -e VPN_CLIENT), defaulting to 'openvpn' 2020-10-19 19:43:59.481398 [info] VPN_PROV defined as 'pia' 2020-10-19 19:45:18.691599 [warn] PIA VPN server info JSON cannot be downloaded from URL 'https://serverlist.piaservers.net/vpninfo/servers/v4' exit code from curl is '1' 2020-10-19 19:45:18.724749 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/CA Ontario.ovpn 2020-10-19 19:45:18.785739 [info] VPN remote server(s) defined as 'ca-ontario.privateinternetaccess.com,' 2020-10-19 19:45:18.809211 [info] VPN remote port(s) defined as '1198,' 2020-10-19 19:45:18.832702 [info] VPN remote protcol(s) defined as 'udp,' 2020-10-19 19:45:18.863195 [info] VPN_DEVICE_TYPE defined as 'tun0' 2020-10-19 19:45:18.891742 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS) 2020-10-19 19:45:18.922066 [info] LAN_NETWORK defined as '192.168.1.0/24' 2020-10-19 19:45:18.950525 [info] NAME_SERVERS defined as '209.222.18.222,209.222.18.218' 2020-10-19 19:45:18.979009 [info] VPN_USER defined as 'pXXXXXXXX' 2020-10-19 19:45:19.007621 [info] VPN_PASS defined as 'XXXXXXXXX' 2020-10-19 19:45:19.038522 [info] STRICT_PORT_FORWARD defined as 'yes' 2020-10-19 19:45:19.067998 [info] ENABLE_PRIVOXY defined as 'yes' 2020-10-19 19:45:19.097357 [info] ADDITIONAL_PORTS not defined (via -e ADDITIONAL_PORTS), skipping allow for custom incoming ports 2020-10-19 19:45:19.127136 [info] ENABLE_AUTODL_IRSSI defined as 'no' 2020-10-19 19:45:19.155728 [info] ENABLE_RPC2 defined as 'yes' 2020-10-19 19:45:19.185254 [info] ENABLE_RPC2_AUTH defined as 'yes' 2020-10-19 19:45:19.212703 [info] RPC2_USER defined as 'admin' 2020-10-19 19:45:19.240507 [info] RPC2_PASS defined as 'XXXXXXXX' 2020-10-19 19:45:19.272897 [info] ENABLE_WEBUI_AUTH defined as 'yes' 2020-10-19 19:45:19.303551 [info] WEBUI_USER defined as 'admin' 2020-10-19 19:45:19.333847 [info] WEBUI_PASS defined as 'XXXXXXXX' 2020-10-19 19:45:19.362149 [info] Starting Supervisor... 2020-10-19 19:45:19,505 INFO Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing 2020-10-19 19:45:19,505 INFO Set uid to user 0 succeeded 2020-10-19 19:45:19,507 INFO supervisord started with pid 6 2020-10-19 19:45:20,510 INFO spawned: 'logrotate-script' with pid 204 2020-10-19 19:45:20,512 INFO spawned: 'pyrocore-script' with pid 205 2020-10-19 19:45:20,513 INFO spawned: 'rutorrent-script' with pid 206 2020-10-19 19:45:20,514 INFO spawned: 'start-script' with pid 207 2020-10-19 19:45:20,515 INFO spawned: 'watchdog-script' with pid 208 2020-10-19 19:45:20,516 INFO reaped unknown pid 7 (exit status 0) 2020-10-19 19:45:20,522 DEBG 'watchdog-script' stdout output: [info] rTorrent config file already exists, skipping copy 2020-10-19 19:45:20,522 INFO success: logrotate-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2020-10-19 19:45:20,522 INFO success: pyrocore-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2020-10-19 19:45:20,522 INFO success: rutorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2020-10-19 19:45:20,522 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2020-10-19 19:45:20,522 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2020-10-19 19:45:20,522 DEBG 'start-script' stdout output: [info] VPN is enabled, beginning configuration of VPN 2020-10-19 19:45:20,561 DEBG 'start-script' stdout output: [info] Adding 209.222.18.222 to /etc/resolv.conf 2020-10-19 19:45:20,564 DEBG 'start-script' stdout output: [info] Adding 209.222.18.218 to /etc/resolv.conf 2020-10-19 19:45:20,608 DEBG 'start-script' stdout output: [info] Default route for container is 172.17.0.1 2020-10-19 19:45:20,622 DEBG 'start-script' stdout output: [info] Docker network defined as 172.17.0.0/16 2020-10-19 19:45:20,626 DEBG 'start-script' stdout output: [info] Adding 192.168.1.0/24 as route via docker eth0 2020-10-19 19:45:20,627 DEBG 'start-script' stdout output: [info] ip route defined as follows... -------------------- 2020-10-19 19:45:20,627 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.4 192.168.1.0/24 via 172.17.0.1 dev eth0 2020-10-19 19:45:20,628 DEBG 'start-script' stdout output: -------------------- 2020-10-19 19:45:20,630 DEBG 'start-script' stdout output: iptable_mangle 16384 2 ip_tables 28672 6 iptable_filter,iptable_raw,iptable_nat,iptable_mangle 2020-10-19 19:45:20,630 DEBG 'start-script' stdout output: [info] iptable_mangle support detected, adding fwmark for tables 2020-10-19 19:45:20,672 DEBG 'start-script' stdout output: [info] iptables defined as follows... -------------------- 2020-10-19 19:45:20,674 DEBG 'start-script' stdout output: -P INPUT DROP -P FORWARD DROP -P OUTPUT DROP -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 9080 -j ACCEPT -A INPUT -i eth0 -p tcp -m tcp --sport 9080 -j ACCEPT -A INPUT -i eth0 -p tcp -m tcp --dport 9443 -j ACCEPT -A INPUT -i eth0 -p tcp -m tcp --sport 9443 -j ACCEPT -A INPUT -s 192.168.1.0/24 -i eth0 -p tcp -m tcp --dport 5000 -j ACCEPT -A INPUT -s 192.168.1.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -i 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 9080 -j ACCEPT -A OUTPUT -o eth0 -p tcp -m tcp --sport 9080 -j ACCEPT -A OUTPUT -o eth0 -p tcp -m tcp --dport 9443 -j ACCEPT -A OUTPUT -o eth0 -p tcp -m tcp --sport 9443 -j ACCEPT -A OUTPUT -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 5000 -j ACCEPT -A OUTPUT -s 172.17.0.0/16 -d 192.168.1.0/24 -o eth0 -p tcp -j ACCEPT -A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT -A OUTPUT -o lo -j ACCEPT -A OUTPUT -o tun0 -j ACCEPT 2020-10-19 19:45:20,674 DEBG 'start-script' stdout output: -------------------- 2020-10-19 19:45:20,675 DEBG 'start-script' stdout output: [info] Starting OpenVPN (non daemonised)... 2020-10-19 19:45:20,680 DEBG 'start-script' stdout output: Mon Oct 19 19:45:20 2020 WARNING: file 'credentials.conf' is group or others accessible Mon Oct 19 19:45:20 2020 OpenVPN 2.4.9 [git:makepkg/9b0dafca6c50b8bb+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 20 2020 Mon Oct 19 19:45:20 2020 library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10 2020-10-19 19:45:20,680 DEBG 'start-script' stdout output: Mon Oct 19 19:45:20 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 2020-10-19 19:45:20,681 DEBG 'start-script' stdout output: Mon Oct 19 19:45:20 2020 CRL: loaded 1 CRLs from file [[INLINE]] 2020-10-19 19:45:20,682 DEBG 'start-script' stdout output: Mon Oct 19 19:45:20 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]184.75.208.114:1198 Mon Oct 19 19:45:20 2020 UDP link local: (not bound) Mon Oct 19 19:45:20 2020 UDP link remote: [AF_INET]184.75.208.114:1198 2020-10-19 19:45:20,685 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 23449394272768 for <Subprocess at 23449394272096 with name pyrocore-script in state RUNNING> (stdout)> 2020-10-19 19:45:20,685 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 23449394365344 for <Subprocess at 23449394272096 with name pyrocore-script in state RUNNING> (stderr)> 2020-10-19 19:45:20,685 INFO exited: pyrocore-script (exit status 0; expected) 2020-10-19 19:45:20,685 DEBG received SIGCHLD indicating a child quit 2020-10-19 19:46:20,714 DEBG 'start-script' stdout output: Mon Oct 19 19:46:20 2020 [UNDEF] Inactivity timeout (--ping-restart), restarting 2020-10-19 19:46:20,714 DEBG 'start-script' stdout output: Mon Oct 19 19:46:20 2020 SIGHUP[soft,ping-restart] received, process restarting Mon Oct 19 19:46:20 2020 WARNING: file 'credentials.conf' is group or others accessible
  2. Thanks again for supporting this, Wiregurad seems to be working great. Going to start hoping between the servers to see which works best long term.
  3. My VPN passport is stamped all over. I wonder if PIA is going to get themselves sorted out. Are there any other providers that have the ability to do Port Forwarding? Curious about their Wireguard implementation once they get it figured out but assume we would need to use a separate container and route everything through it. If it isnt said enough, thank you for the work you do on all of this.
  4. Same, but small part of me wants to think it might be linked to PIA's recent bad IP lists which are evident by more Captcha pages, etc. If some of their Port Forwarding servers made it on a blocklist due to some bad apples, it might also be why they re not connecting. I am not seeing the UDP issue on all, but persists on a bunch.
  5. Seeing an issue currently with UDP unable to connect, also using PIA. It finds a multiple list of peers, but none will connect.
  6. only one transcode happening now, will try to grab when there are more. It almost seems like it is barley transcoding?
  7. The only other thing I can think of is I added a script awhile ago to return the care to the P0 state after it was done, as it was hanging at full power and not returning. i copied down a script that checks to see if there are any active transcodes, and if not returns it to P0. #!/bin/bash TOKILL="" CPT_TRANSCODE=-1 CPT_SERVER=-1 for ELEMENT in $(lsof /dev/nvidia0 | awk '{print $1 "@" $2}') do IFS='@' read -r -a array <<< "$ELEMENT" if [ "${array[0]}" != "Xorg" ] && [ "${array[0]}" != "ffmpeg" ] then if [ "${array[0]}" = "Plex\x20T" ] then ((CPT_TRANSCODE++)) fi if [ "${array[0]}" = "Plex\x20M" ] then ((CPT_SERVER++)) TOKILL="${array[1]}" fi fi done if [ $CPT_SERVER -gt 0 ] && [ $CPT_TRANSCODE -lt 1 ] && [ "$1" != "test" ] then kill -9 "$TOKILL" fi if [ "$1" == "test" ] then echo "$TOKILL" fi not sure if this is having an affect also.
  8. Updated to Nvidia 6.8.3 from previous versions, but it looks like my card is not being used anymore based on the info stating it is power = 0, and my cpu is running very high on 5 streams. Based on the below output, shouldn't I be seeing some use, not just memory? Plex pas with HW Transcoding on, Tautulli cofirmed HW Transcodes, 1050 Ti installed. I did try and removed Bionic previously, otherwise at a loss.
  9. Same for me, cant figure it out. Worked previously.
  10. I can't remember the source, but I added the below script using the Userscripts plugin and have it running hourly (need to update to a shorter time window) that will check to see if the gpu is being used, otherwise return it to an idle state of P0. Others had cited that once the card was fired up it would not return to idle once done, this script check for any processes and then forces the return. See if it helps for you. #!/bin/bash TOKILL="" CPT_TRANSCODE=-1 CPT_SERVER=-1 for ELEMENT in $(lsof /dev/nvidia0 | awk '{print $1 "@" $2}') do IFS='@' read -r -a array <<< "$ELEMENT" if [ "${array[0]}" != "Xorg" ] && [ "${array[0]}" != "ffmpeg" ] then if [ "${array[0]}" = "Plex\x20T" ] then ((CPT_TRANSCODE++)) fi if [ "${array[0]}" = "Plex\x20M" ] then ((CPT_SERVER++)) TOKILL="${array[1]}" fi fi done if [ $CPT_SERVER -gt 0 ] && [ $CPT_TRANSCODE -lt 1 ] && [ "$1" != "test" ] then kill -9 "$TOKILL" fi if [ "$1" == "test" ] then echo "$TOKILL" fi
  11. So as an update, I gave it one last shot and before I started up any containers I ran the Docker Safe Permissions tool. Everything works as planned now. Appreciate all of the work done.
  12. Appreciate all the work you guys have put in but I am stumped. I have been unable to build or update any containers once I install RC3 or RC4. If I switch back to the standard build, no issues. I even tried switching the older K2200 card out with a 1050 Ti. I tried multiple different containers, but all spit out errors. Any insights? root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-plexpass' --net='host' --log-opt max-size='50m' --log-opt max-file='1' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'TRANS_DIR'='/config/transcode' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -e 'NVIDIA_DRIVER_CAPABILITIES'='all' -e 'NVIDIA_VISIBLE_DEVICES'='GPU-c8814be1-3d0f-15fa-c1c4-bf0f4aa47348' -v '/mnt/user':'/media':'rw' -v '/mnt/cache/appdata/binhex-plexpass':'/config':'rw' --runtime=nvidia 'binhex/arch-plexpass' panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0xb2 pc=0x8b00ec] goroutine 1 [running]: github.com/docker/cli/vendor/github.com/spf13/pflag.(*FlagSet).VarPF(0xc0000c6800, 0x2197420, 0xc00021d1c8, 0x1e4316a, 0x6, 0x0, 0x0, 0x1e71894, 0x1f, 0x1e7622f) /go/src/github.com/docker/cli/vendor/github.com/spf13/pflag/flag.go:817 +0x6c github.com/docker/cli/vendor/github.com/spf13/pflag.(*FlagSet).VarP(...) /go/src/github.com/docker/cli/vendor/github.com/spf13/pflag/flag.go:825 github.com/docker/cli/vendor/github.com/spf13/pflag.(*FlagSet).StringVar(0xc0000c6800, 0xc00021d1c8, 0x1e4316a, 0x6, 0xc0000f2da0, 0xd, 0x1e71894, 0x1f) /go/src/github.com/docker/cli/vendor/github.com/spf13/pflag/string.go:37 +0x9d github.com/docker/cli/cli.setupCommonRootCommand(0xc0003b4f00, 0x1c448a0, 0xbd, 0xbe) /go/src/github.com/docker/cli/cli/cobra.go:24 +0xe1 github.com/docker/cli/cli.SetupRootCommand(0xc0003b4f00, 0xc00002ebd0, 0xc0001b1df0, 0x2) /go/src/github.com/docker/cli/cli/cobra.go:55 +0x2f main.newDockerCommand(0xc0001540f0, 0x11) /go/src/github.com/docker/cli/cmd/docker/docker.go:54 +0x233 main.runDocker(0xc0001540f0, 0x2150ba0, 0xc00000e020) /go/src/github.com/docker/cli/cmd/docker/docker.go:250 +0x40 main.main() /go/src/github.com/docker/cli/cmd/docker/docker.go:292 +0xf1 The command failed.