DZMM

Members
  • Posts

    2801
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by DZMM

  1. my upload doesn't let me bust 750GB/day (moved home) anymore. stop on limit stops the download when the error occurs, not before i.e. it is not preventative - it just stops the script constantly hammering away for 24 hours to upload files. If you want to upload >750GB/day, use service accounts with the script.
  2. Probably, just create a new instance of the script maybe and --include only that path https://rclone.org/filtering/
  3. Excluded files aren't deleted - they stay local and aren't uploaded
  4. The /Sync+ folder is where Plex stores the temp files that users select to be downloaded to their devices until they are downloaded. It is not controlled by the trancode folder location, which is where tmp files created when a file is streamed are stored. If they aren't being removed, then one of your users has (probably) mistakenly selected lots of files e.g. a whole season or a whole library to be downloaded, but e.g. doesn't have the space on their device to sync them, or have enough BW to sync them, or never connects that device again for long enough, meaning they don't get uploaded to their device. Sadly, Plex doesn't make it easy to work out which user is syncing. I don't like the feature for my users as they always do it wrong, meaning my server wastes a lot of resources and space, so I turn off user syncing for most users. If you don't want this behaviour, then go through each of your users and Disable "Allow Downloads". Then delete the files from the Sync+ folder.
  5. I just had this problem again. I think the port forwarding on the BT hub is rubbish and fails occasionally. SWAG stopped working for me again - I just had to reboot the hub.
  6. Post your full mount script and rclone config without passwords please
  7. Hi has anyone succeeded with running the commands to repair a database in the docker? Annoyingly my database backups were never made - and I'm trying to avoid using CA as my backup's a bit old. https://support.plex.tv/articles/repair-a-corrupted-database/ When I try to run the commands to repair the database (I created a copy of my database) I get this: root@Highlander:/# "/usr/lib/plexmediaserver/Plex SQLite" com.plexapp.plugins.library2.db "PRAGMA integrity_check" ok root@Highlander:/# "/usr/lib/plexmediaserver/Plex SQLite" com.plexapp.plugins.library2.db ".output dump.sql" ".dump" root@Highlander:/# del com.plexapp.plugins.library2.db bash: del: command not found Nothing seems to happen with the dump command, and then the del fails. Any idea what I'm doing wrong? Thanks in advance.
  8. I'm not sure. A quick google turned this up on the rclone forum - I'll keep an eye on the thread
  9. I can't remember what copy is on github these days, but in my local script I'd add it anywhere after the #remove dummy file at the end of the script. # remove dummy file rm /mnt/user/appdata/other/rclone/remotes/$RcloneUploadRemoteName/upload_running$JobName echo "$(date "+%d.%m.%Y %T") INFO: Script complete" copy = copies files without deleting the source sync = sync new or changed files. I think it's a 2-way sync
  10. lots of questions there. i) If you need a folder to be present that the upload job is deleting at the end because it's empty, just add a mkdir to the right section of the script ii) radarr/sonarr usually need starting AFTER the mount - that's why the script has a section to start dockers once a successful mount has been verified. An alternative is to manually restart the dockers
  11. Don't think so - when I want it to get a certificate I temporarily delete one of my sub-domains, restart to get the certs, and then re-add the sub-domain.
  12. Thanks. I think the use of 8080 was causing my network to melt down as Unifi is hardcoded onto 8080 and the two were knocking out my house as pretty much everything (lights, heating, AV etc) is all on a smarthome
  13. @binhex Hopefully my last question. I'm trying to move the docker off port 8080 as I use that for something else, but it doesn't work. Everything looks ok in the logs, but when I go to the new webui port e.g. 8086 it doesn't load. Thanks root@Highlander:/mnt/apps/local/tdrive_vfs/unfiled/movies/lists# docker run --rm -v /var/run/docker.sock:/var/run/docker.sopose qbittorrentvpn version: "3" services: qbittorrentvpn: command: - '/bin/bash /usr/local/bin/init.sh' container_name: qbittorrentvpn cpuset: 1,2,3,4,8,9,13,14,15,17,18,19,20,24,25,29,30,31, entrypoint: - /usr/bin/tini - -g - -- environment: - 'VPN_USER=vpn username' - 'VPN_PASS=vpn password' - VPN_PROV=airvpn - VPN_OPTIONS= - ENABLE_PRIVOXY=yes - WEBUI_PORT=8086 - NAME_SERVERS=209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1 - VPN_INPUT_PORTS= - TZ=Europe/London - HOST_OS=Unraid - VPN_CLIENT=openvpn - UMASK=000 - PUID=99 - PGID=100 - STRICT_PORT_FORWARD=yes - LAN_NETWORK=192.168.1.0/24 - VPN_ENABLED=yes - VPN_OUTPUT_PORTS= - DEBUG=false - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin - HOME=/home/nobody - TERM=xterm - LANG=en_GB.UTF-8 hostname: e104fe09b0ec image: binhex/arch-qbittorrentvpn ipc: private labels: org.opencontainers.image.authors: binhex logging: driver: json-file options: max-file: 3 max-size: 50m mac_address: 02:42:ac:11:00:0e networks: - bridge ports: - 19182:19182/tcp - 6881:6881/tcp - 6881:6881/udp - 8086:8080/tcp - 8118:8118/tcp privileged: true security_opt: - label=disable volumes: - /mnt/user/mount_mergerfs/tdrive_vfs/downloads/qbittorrent/:/data:rw - /mnt/user/:/user:rw - /mnt/user/appdata/dockers/qbittorrentvpn:/config:rw networks: bridge: external: true
  14. Thanks - sorted. I used to have pfsense/VLANs setup that I removed last week, so my settings were a bit messed up.
  15. Think so. My ISP router is: 192.168.1.254 root@Highlander:~# ifconfig br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.1 netmask 255.255.255.0 broadcast 0.0.0.0 ether 30:9c:23:9d:67:3d txqueuelen 1000 (Ethernet) RX packets 11072566 bytes 10170092868 (9.4 GiB) RX errors 0 dropped 10159 overruns 0 frame 0 TX packets 2853296 bytes 13614611695 (12.6 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  16. Sorry, me again. I can access the WEBUI ok if I turn off the VPN, but if I turn the VPN on I can't. Everything looks fine in the logs - am I doing something stupid (probably)? Thanks ErrorWarningSystemArrayLogin Created by... ___. .__ .__ \_ |__ |__| ____ | |__ ____ ___ ___ | __ \| |/ \| | \_/ __ \\ \/ / | \_\ \ | | \ Y \ ___/ > < |___ /__|___| /___| /\___ >__/\_ \ \/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/ 2021-08-04 11:48:24.246532 [info] Host is running unRAID 2021-08-04 11:48:24.267335 [info] System information Linux 13a02b1de59b 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64 GNU/Linux 2021-08-04 11:48:24.291095 [info] OS_ARCH defined as 'x86-64' 2021-08-04 11:48:24.314769 [info] PUID defined as '99' 2021-08-04 11:48:24.359866 [info] PGID defined as '100' 2021-08-04 11:48:24.408771 [info] UMASK defined as '000' 2021-08-04 11:48:24.431569 [info] Permissions already set for volume mappings 2021-08-04 11:48:24.455040 [info] Deleting files in /tmp (non recursive)... 2021-08-04 11:48:24.482320 [info] VPN_ENABLED defined as 'yes' 2021-08-04 11:48:24.506423 [info] VPN_CLIENT defined as 'openvpn' 2021-08-04 11:48:24.529076 [info] VPN_PROV defined as 'airvpn' 2021-08-04 11:48:24.557172 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/AirVPN_United-Kingdom_UDP-443.ovpn 2021-08-04 11:48:24.602177 [info] VPN remote server(s) defined as 'gb.vpn.airdns.org,' 2021-08-04 11:48:24.622914 [info] VPN remote port(s) defined as '443,' 2021-08-04 11:48:24.642965 [info] VPN remote protcol(s) defined as 'udp,' 2021-08-04 11:48:24.668104 [info] VPN_DEVICE_TYPE defined as 'tun0' 2021-08-04 11:48:24.691043 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS) 2021-08-04 11:48:24.713667 [info] LAN_NETWORK defined as '192.168.1.0/24' 2021-08-04 11:48:24.737759 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1' 2021-08-04 11:48:24.760422 [info] ENABLE_PRIVOXY defined as 'no' 2021-08-04 11:48:24.786812 [info] VPN_INPUT_PORTS not defined (via -e VPN_INPUT_PORTS), skipping allow for custom incoming ports 2021-08-04 11:48:24.810419 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports 2021-08-04 11:48:24.833076 [info] WEBUI_PORT defined as '8080' 2021-08-04 11:48:25.131383 [info] Starting Supervisor... 2021-08-04 11:48:25,270 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing 2021-08-04 11:48:25,270 INFO Set uid to user 0 succeeded 2021-08-04 11:48:25,273 INFO supervisord started with pid 7 2021-08-04 11:48:26,275 INFO spawned: 'shutdown-script' with pid 167 2021-08-04 11:48:26,276 INFO spawned: 'start-script' with pid 168 2021-08-04 11:48:26,278 INFO spawned: 'watchdog-script' with pid 169 2021-08-04 11:48:26,279 INFO reaped unknown pid 8 (exit status 0) 2021-08-04 11:48:26,283 DEBG 'start-script' stdout output: [info] VPN is enabled, beginning configuration of VPN 2021-08-04 11:48:26,283 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-08-04 11:48:26,283 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-08-04 11:48:26,283 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-08-04 11:48:26,286 DEBG 'watchdog-script' stdout output: [info] qBittorrent config file already exists, skipping copy [info] Removing session lock file (if it exists)... 2021-08-04 11:48:26,292 DEBG 'start-script' stdout output: [warn] Username contains characters which could cause authentication issues, please consider changing this if possible 2021-08-04 11:48:26,296 DEBG 'start-script' stdout output: [warn] Password contains characters which could cause authentication issues, please consider changing this if possible 2021-08-04 11:48:26,338 DEBG 'start-script' stdout output: [info] Adding 209.222.18.222 to /etc/resolv.conf 2021-08-04 11:48:26,341 DEBG 'start-script' stdout output: [info] Adding 84.200.69.80 to /etc/resolv.conf 2021-08-04 11:48:26,344 DEBG 'start-script' stdout output: [info] Adding 37.235.1.174 to /etc/resolv.conf 2021-08-04 11:48:26,347 DEBG 'start-script' stdout output: [info] Adding 1.1.1.1 to /etc/resolv.conf 2021-08-04 11:48:26,349 DEBG 'start-script' stdout output: [info] Adding 209.222.18.218 to /etc/resolv.conf 2021-08-04 11:48:26,351 DEBG 'start-script' stdout output: [info] Adding 37.235.1.177 to /etc/resolv.conf 2021-08-04 11:48:26,354 DEBG 'start-script' stdout output: [info] Adding 84.200.70.40 to /etc/resolv.conf 2021-08-04 11:48:26,357 DEBG 'start-script' stdout output: [info] Adding 1.0.0.1 to /etc/resolv.conf 2021-08-04 11:48:26,596 DEBG 'start-script' stdout output: [info] Default route for container is 192.168.1.254 2021-08-04 11:48:26,608 DEBG 'start-script' stdout output: [info] Docker network defined as 192.168.1.0/24 2021-08-04 11:48:26,611 DEBG 'start-script' stdout output: [info] Adding 192.168.1.0/24 as route via docker eth0 2021-08-04 11:48:26,612 DEBG 'start-script' stderr output: RTNETLINK answers: File exists 2021-08-04 11:48:26,612 DEBG 'start-script' stdout output: [info] ip route defined as follows... -------------------- 2021-08-04 11:48:26,613 DEBG 'start-script' stdout output: default via 192.168.1.254 dev eth0 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.61 2021-08-04 11:48:26,613 DEBG 'start-script' stdout output: broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1 local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1 local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1 broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1 broadcast 192.168.1.0 dev eth0 table local proto kernel scope link src 192.168.1.61 local 192.168.1.61 dev eth0 table local proto kernel scope host src 192.168.1.61 broadcast 192.168.1.255 dev eth0 table local proto kernel scope link src 192.168.1.61 2021-08-04 11:48:26,613 DEBG 'start-script' stdout output: -------------------- 2021-08-04 11:48:26,615 DEBG 'start-script' stdout output: iptable_mangle 16384 1 ip_tables 28672 3 iptable_filter,iptable_nat,iptable_mangle x_tables 28672 14 ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,xt_addrtype,xt_CHECKSUM,xt_nat,ip6_tables,ipt_REJECT,ip_tables,ip6table_mangle,xt_MASQUERADE,iptable_mangle,xt_mark 2021-08-04 11:48:26,615 DEBG 'start-script' stdout output: [info] iptable_mangle support detected, adding fwmark for tables 2021-08-04 11:48:26,658 DEBG 'start-script' stdout output: [info] iptables defined as follows... -------------------- 2021-08-04 11:48:26,659 DEBG 'start-script' stdout output: -P INPUT DROP -P FORWARD DROP -P OUTPUT DROP -A INPUT -s 192.168.1.0/24 -d 192.168.1.0/24 -j ACCEPT -A INPUT -s 84.39.117.56/32 -i eth0 -j ACCEPT -A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT -A INPUT -i eth0 -p udp -m udp --dport 8080 -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 192.168.1.0/24 -d 192.168.1.0/24 -j ACCEPT -A OUTPUT -d 84.39.117.56/32 -o eth0 -j ACCEPT -A OUTPUT -o eth0 -p tcp -m tcp --sport 8080 -j ACCEPT -A OUTPUT -o eth0 -p udp -m udp --sport 8080 -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 2021-08-04 11:48:26,659 DEBG 'start-script' stdout output: -------------------- 2021-08-04 11:48:26,660 DEBG 'start-script' stdout output: [info] Starting OpenVPN (non daemonised)... 2021-08-04 11:48:26,666 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning. 2021-08-04 11:48:26,666 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 WARNING: file 'credentials.conf' is group or others accessible 2021-08-04 11:48:26 OpenVPN 2.5.3 [git:makepkg/ecaf88f8a4e75856+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jun 18 2021 2021-08-04 11:48:26 library versions: OpenSSL 1.1.1k 25 Mar 2021, LZO 2.10 2021-08-04 11:48:26,666 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 2021-08-04 11:48:26,667 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication 2021-08-04 11:48:26 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication 2021-08-04 11:48:26,667 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 TCP/UDP: Preserving recently used remote address: [AF_INET]84.39.117.56:443 2021-08-04 11:48:26,667 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 Socket Buffers: R=[212992->212992] S=[212992->212992] 2021-08-04 11:48:26 UDP link local: (not bound) 2021-08-04 11:48:26 UDP link remote: [AF_INET]84.39.117.56:443 2021-08-04 11:48:26,679 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 TLS: Initial packet from [AF_INET]84.39.117.56:443, sid=d82e76e1 74d819ac 2021-08-04 11:48:26,703 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, [email protected] 2021-08-04 11:48:26,703 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 VERIFY KU OK 2021-08-04 11:48:26 Validating certificate extended key usage 2021-08-04 11:48:26 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication 2021-08-04 11:48:26 VERIFY EKU OK 2021-08-04 11:48:26 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Naos, [email protected] 2021-08-04 11:48:26,722 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, peer certificate: 4096 bit RSA, signature: RSA-SHA512 2021-08-04 11:48:26 [Naos] Peer Connection Initiated with [AF_INET]84.39.117.56:443 2021-08-04 11:48:26,848 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.24.204.1,route-gateway 10.24.204.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.24.204.29 255.255.255.0,peer-id 0,cipher AES-256-GCM' 2021-08-04 11:48:26 OPTIONS IMPORT: timers and/or timeouts modified 2021-08-04 11:48:26 OPTIONS IMPORT: compression parms modified 2021-08-04 11:48:26 OPTIONS IMPORT: --ifconfig/up options modified 2021-08-04 11:48:26 OPTIONS IMPORT: route options modified 2021-08-04 11:48:26 OPTIONS IMPORT: route-related options modified 2021-08-04 11:48:26 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified 2021-08-04 11:48:26 OPTIONS IMPORT: peer-id set 2021-08-04 11:48:26 OPTIONS IMPORT: adjusting link_mtu to 1625 2021-08-04 11:48:26 OPTIONS IMPORT: data channel crypto options modified 2021-08-04 11:48:26 Data Channel: using negotiated cipher 'AES-256-GCM' 2021-08-04 11:48:26,848 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key 2021-08-04 11:48:26 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key 2021-08-04 11:48:26 net_route_v4_best_gw query: dst 0.0.0.0 2021-08-04 11:48:26 net_route_v4_best_gw result: via 192.168.1.254 dev eth0 2021-08-04 11:48:26 ROUTE_GATEWAY 192.168.1.254/255.255.255.0 IFACE=eth0 HWADDR=02:42:c0:a8:01:3d 2021-08-04 11:48:26,848 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 TUN/TAP device tun0 opened 2021-08-04 11:48:26 net_iface_mtu_set: mtu 1500 for tun0 2021-08-04 11:48:26 net_iface_up: set tun0 up 2021-08-04 11:48:26,848 DEBG 'start-script' stdout output: 2021-08-04 11:48:26 net_addr_v4_add: 10.24.204.29/24 dev tun0 2021-08-04 11:48:26 /root/openvpnup.sh tun0 1500 1553 10.24.204.29 255.255.255.0 init 2021-08-04 11:48:31,602 DEBG 'start-script' stdout output: 2021-08-04 11:48:31 net_route_v4_add: 84.39.117.56/32 via 192.168.1.254 dev [NULL] table 0 metric -1 2021-08-04 11:48:31,602 DEBG 'start-script' stdout output: 2021-08-04 11:48:31 net_route_v4_add: 0.0.0.0/1 via 10.24.204.1 dev [NULL] table 0 metric -1 2021-08-04 11:48:31 net_route_v4_add: 128.0.0.0/1 via 10.24.204.1 dev [NULL] table 0 metric -1 2021-08-04 11:48:31 Initialization Sequence Completed 2021-08-04 11:48:32,970 DEBG 'start-script' stdout output: [info] Attempting to get external IP using 'http://checkip.amazonaws.com'... 2021-08-04 11:48:33,270 DEBG 'start-script' stdout output: [info] Successfully retrieved external IP address 84.39.117.57 2021-08-04 11:48:33,270 DEBG 'start-script' stdout output: [info] Application does not require port forwarding or VPN provider is != pia, skipping incoming port assignment 2021-08-04 11:48:47,989 DEBG 'watchdog-script' stdout output: [info] qBittorrent listening interface IP 0.0.0.0 and VPN provider IP 10.24.204.29 different, marking for reconfigure 2021-08-04 11:48:47,992 DEBG 'watchdog-script' stdout output: [info] qBittorrent not running 2021-08-04 11:48:47,992 DEBG 'watchdog-script' stdout output: [info] Removing session lock file (if it exists)... 2021-08-04 11:48:47,999 DEBG 'watchdog-script' stdout output: [info] Attempting to start qBittorrent... 2021-08-04 11:48:48,015 DEBG 'watchdog-script' stdout output: [info] qBittorrent process started [info] Waiting for qBittorrent process to start listening on port 8080... 2021-08-04 11:48:48,129 DEBG 'watchdog-script' stdout output: [info] qBittorrent process listening on port 8080 2021-08-04 11:48:47,999 DEBG 'watchdog-script' stdout output: [info] Attempting to start qBittorrent... 2021-08-04 11:48:48,015 DEBG 'watchdog-script' stdout output: [info] qBittorrent process started [info] Waiting for qBittorrent process to start listening on port 8080... 2021-08-04 11:48:48,129 DEBG 'watchdog-script' stdout output: [info] qBittorrent process listening on port 8080
  17. sorted it. VPN wasn't enabled yet - just wanted to build the config files first and test the webui
  18. @binhex I've taken your advice and I'm giving qbittorrentvpn another go. But, I'm stuck right at the start as I can't get the webui http://192.168.1.81:8080/ to load - any ideas? Thanks ErrorWarningSystemArrayLogin Created by... ___. .__ .__ \_ |__ |__| ____ | |__ ____ ___ ___ | __ \| |/ \| | \_/ __ \\ \/ / | \_\ \ | | \ Y \ ___/ > < |___ /__|___| /___| /\___ >__/\_ \ \/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/ 2021-08-04 10:20:02.743555 [info] Host is running unRAID 2021-08-04 10:20:02.765052 [info] System information Linux a3351c613287 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64 GNU/Linux 2021-08-04 10:20:02.789918 [info] OS_ARCH defined as 'x86-64' 2021-08-04 10:20:02.814062 [info] PUID defined as '99' 2021-08-04 10:20:02.942450 [info] PGID defined as '100' 2021-08-04 10:20:02.982983 [info] UMASK defined as '000' 2021-08-04 10:20:03.005662 [info] Permissions already set for volume mappings 2021-08-04 10:20:03.030413 [info] Deleting files in /tmp (non recursive)... 2021-08-04 10:20:03.057839 [info] VPN_ENABLED defined as 'no' 2021-08-04 10:20:03.078248 [warn] !!IMPORTANT!! VPN IS SET TO DISABLED', YOU WILL NOT BE SECURE 2021-08-04 10:20:03.101931 [info] WEBUI_PORT defined as '8084' 2021-08-04 10:20:03.411356 [info] Starting Supervisor... 2021-08-04 10:20:03,551 INFO Included extra file "/etc/supervisor/conf.d/qbittorrent.conf" during parsing 2021-08-04 10:20:03,551 INFO Set uid to user 0 succeeded 2021-08-04 10:20:03,554 INFO supervisord started with pid 8 2021-08-04 10:20:04,556 INFO spawned: 'shutdown-script' with pid 80 2021-08-04 10:20:04,557 INFO spawned: 'start-script' with pid 81 2021-08-04 10:20:04,559 INFO spawned: 'watchdog-script' with pid 82 2021-08-04 10:20:04,559 INFO reaped unknown pid 9 (exit status 0) 2021-08-04 10:20:04,565 DEBG 'start-script' stdout output: [info] VPN not enabled, skipping configuration of VPN 2021-08-04 10:20:04,566 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 22399161397648 for <Subprocess at 22399161202912 with name start-script in state STARTING> (stderr)> 2021-08-04 10:20:04,566 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-08-04 10:20:04,566 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-08-04 10:20:04,566 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2021-08-04 10:20:04,566 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22399161203584 for <Subprocess at 22399161202912 with name start-script in state RUNNING> (stdout)> 2021-08-04 10:20:04,566 INFO exited: start-script (exit status 0; expected) 2021-08-04 10:20:04,566 DEBG received SIGCHLD indicating a child quit 2021-08-04 10:20:04,567 DEBG 'watchdog-script' stdout output: [info] qBittorrent config file already exists, skipping copy [info] Removing session lock file (if it exists)... 2021-08-04 10:20:04,583 DEBG 'watchdog-script' stdout output: [info] qBittorrent not running 2021-08-04 10:20:04,584 DEBG 'watchdog-script' stdout output: [info] Removing session lock file (if it exists)... 2021-08-04 10:20:04,592 DEBG 'watchdog-script' stdout output: [info] Attempting to start qBittorrent... 2021-08-04 10:20:04,622 DEBG 'watchdog-script' stdout output: [info] qBittorrent process started [info] Waiting for qBittorrent process to start listening on port 8084... 2021-08-04 10:20:04,736 DEBG 'watchdog-script' stdout output: [info] qBittorrent process listening on port 8084 root@Highlander:/mnt/apps/appdata/dockers# docker run --rm -v /var/run/docker.sock:/var/run/docker.sock red5d/docker-autocompose qbittorrentvpn version: "3" services: qbittorrentvpn: command: - '/bin/bash /usr/local/bin/init.sh' container_name: qbittorrentvpn cpuset: 1,2,3,4,8,9,13,14,15,17,18,19,20,24,25,29,30,31, entrypoint: - /usr/bin/tini - -g - -- environment: - TZ=Europe/London - UMASK=000 - PUID=99 - TCP_PORT_19182=19182 - HOST_OS=Unraid - TCP_PORT_8118=8118 - 'VPN_PASS=vpn password' - ENABLE_PRIVOXY=no - LAN_NETWORK=192.168.1.0/24 - VPN_INPUT_PORTS= - DEBUG=false - UDP_PORT_42565=42565 - TCP_PORT_6881=6881 - TCP_PORT_8080=8080 - WEBUI_PORT=8084 - PGID=100 - TCP_PORT_42565=42565 - UDP_PORT_6881=6881 - VPN_OPTIONS= - NAME_SERVERS=209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1 - VPN_ENABLED=no - VPN_PROV=airvpn - VPN_CLIENT=openvpn - TCP_PORT_58124=58124 - STRICT_PORT_FORWARD=yes - 'VPN_USER=vpn username' - VPN_OUTPUT_PORTS= - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin - HOME=/home/nobody - TERM=xterm - LANG=en_GB.UTF-8 expose: - 6881/tcp - 8080/tcp - 8118/tcp hostname: a3351c613287 image: binhex/arch-qbittorrentvpn ipc: private labels: org.opencontainers.image.authors: binhex logging: driver: json-file options: max-file: 3 max-size: 50m networks: - br0 privileged: true security_opt: - label=disable volumes: - /mnt/user/mount_mergerfs/tdrive_vfs/downloads/qbittorrent:/data:rw - /mnt/user/:/user:rw - /mnt/user/appdata/dockers/qbittorrentvpn:/config:rw networks: br0: external: true
  19. Hi Did you crack unpacking season packs? Thanks
  20. Thanks. I used to use qbittorrent quite successfully, but I moved to rtorrent because: (i) built-in unrar (ii) ratio groups - adding upload/download channels automatically (iii) ratio groups - removing per tracker once seed time hit (iii) was the main one for me, but I've realised now that I have each indexer added individually in sonarr etc I should be able to handle this myself. I'm going to have another look at qbit to see if I can get the unrar working.
  21. Hi @binhex another great docker - thanks! I keep having problems where rtorrent becomes unavailable - sometimes it recovers but it can take literally a day (if I'm patient and wait that long). I'm noticed that I can avoid this by waiting for the "working" animation to finish when e.g. changing labels, moving torrent locations etc. But, it's still very delicate and locks me out frequently. Restarting the docker doesn't fix the problem and I just have to wait it out - rebooting unRAID helps, but isn't ideal. I get errors like this in my logs: 2021-08-04 08:42:03,544 DEBG 'rutorrent-script' stderr output: 2021/08/04 08:42:03 [error] 2333#2333: *8409 upstream prematurely closed connection while reading response header from upstream, client: 172.17.0.1, server: localhost, request: "POST /RPC2 HTTP/1.1", upstream: "scgi://127.0.0.1:5000", host: "192.168.1.1:9080" 2021-08-04 08:40:15,939 DEBG 'watchdog-script' stdout output: [warn] Wait for rTorrent process to start aborted, too many retries [warn] Failed to start rTorrent, skipping initialisation of ruTorrent Plugins... 2021-08-04 08:40:53,117 DEBG 'rutorrent-script' stderr output: 2021/08/04 08:40:53 [error] 2333#2333: *8397 connect() failed (111: Unknown error) while connecting to upstream, client: 172.17.0.1, server: localhost, request: "POST /RPC2 HTTP/1.1", upstream: "scgi://127.0.0.1:5000", host: "192.168.1.1:9080" 2021-08-04 08:38:43,583 DEBG 'watchdog-script' stdout output: [warn] Wait for rTorrent process to start aborted, too many retries [warn] Failed to start rTorrent, skipping initialisation of ruTorrent Plugins... 2021-08-04 08:46:27,001 DEBG 'rutorrent-script' stderr output: 2021/08/04 08:46:27 [error] 2333#2333: *8450 connect() failed (111: Unknown error) while connecting to upstream, client: 172.17.0.1, server: localhost, request: "POST /RPC2 HTTP/1.1", upstream: "scgi://127.0.0.1:5000", host: "192.168.1.1:9080" Any ideas what's wrong? Thanks in advance. # This is an example resource file for rTorrent. Copy to # ~/.rtorrent.rc and enable/modify the options as needed. Remember to # uncomment the options you wish to enable. # rTorrent log file locations execute = {/bin/bash,-c,mkdir -p /config/rtorrent/logs} log.open_file = "rtorrent", /config/rtorrent/logs/rtorrent.log log.open_file = "tracker", /config/rtorrent/logs/tracker.log log.open_file = "storage", /config/rtorrent/logs/storage.log # rTorrent logging verbosity for rtorrent, comment out if logs are too chatty log.add_output = "info", "rtorrent" log.add_output = "critical", "rtorrent" log.add_output = "error", "rtorrent" log.add_output = "warn", "rtorrent" log.add_output = "notice", "rtorrent" log.add_output = "debug", "rtorrent" # rTorrent logging for dht and tracker traffic log.add_output = "dht_debug", "tracker" log.add_output = "tracker_debug", "tracker" # rTorrent logging for storage log.add_output = "storage_debug", "storage" # Maximum number of simultaneous downloads and uploads slots (global slots!) (`max_downloads_global`, `max_uploads_global`) # throttle.max_downloads.global.set = 10 throttle.max_uploads.global.set = 3000 # Global upload and download rate in KiB. "0" for unlimited. # # throttle.global_down.max_rate.set_kb = 0 throttle.global_up.max_rate.set_kb = 3000 throttle.global_down.max_rate.set_kb = 0 # Maximum number of simultaneous downloads and uploads slots per torrent (`max_uploads`) Default: `50` for both # #throttle.max_downloads.set = 50 #throttle.max_uploads.set = 8 # Maximum and minimum number of peers to connect to per torrent. # #throttle.min_peers.normal.set = 100 #throttle.max_peers.normal.set = 200 # Same as above but for seeding completed torrents (-1 = same as downloading) # #throttle.min_peers.seed.set = 10 #throttle.max_peers.seed.set = 50 # Maximum number of connections rtorrent can accept/make (`sockets`) # #network.max_open_sockets.set = 1200 # Maximum number of open files rtorrent can keep open (you have to modify the system wide settings with ulimit!) (`set_max_open_files`) # network.max_open_files.set = 600 # Default directory to save the downloaded torrents. # execute = {/bin/bash,-c,mkdir -p /data/incomplete} directory.default.set = /user/mount_mergerfs/tdrive_vfs/downloads/intermediate/rtorrent # Default session directory. Make sure you don't run multiple instance # of rtorrent using the same session directory. Perhaps using a # relative path? # execute = {/bin/bash,-c,mkdir -p /config/rtorrent/session} session.path.set = /config/rtorrent/session/ # Watch a directory for new torrents, and stop those that have been # deleted. # #schedule2 = watch_directory,5,5,load.start=./watch/*.torrent #schedule2 = untied_directory,5,5,stop_untied= # Close torrents when diskspace is low. # schedule2 = low_diskspace,5,60,close_low_diskspace=100G # The ip address reported to the tracker. # #network.local_address.set = 127.0.0.1 #network.local_address.set = rakshasa.no # The ip address the listening socket and outgoing connections is # bound to. # #network.bind_address.set = 127.0.0.1 #network.bind_address.set = rakshasa.no # Port range to use for listening. # network.port_range.set = 42565-42565 # Start opening ports at a random position within the port range. # network.port_random.set = no # Disable check for SSL cert for tracker # network.http.ssl_verify_peer.set = 0 # Check hash for finished torrents. Might be useful until the bug is # fixed that causes lack of diskspace not to be properly reported. # #pieces.hash.on_completion.set = no # Set whether the client should try to connect to UDP trackers. # trackers.use_udp.set = yes # Set the maximum permitted single file size in a torrent. # Note if you do not set this and attempt to start a torrent that # contains a file larger than 512 GB (default) then the torrent will # not start. # #system.file.max_size.set = 1024G # Alternative calls to bind and ip that should handle dynamic ip's. # #schedule2 = ip_tick,0,1800,ip=rakshasa #schedule2 = bind_tick,0,1800,bind=rakshasa # Encryption options, set to none (default) or any combination of the following: # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext # # allow_incoming - Allow incoming encrypted connections from other peers # try_outgoing - Attempt to set up encryption when initiating a connection # require - Require encryption, and reject to peers who don't support it # require_RC4 - Require RC4 encryption specifically # enable_retry - If a peer is rejected for not supporting the encryption we need, retry the handshake # prefer_plaintext - Prefer plaintext encryption # protocol.encryption.set = allow_incoming,try_outgoing,enable_retry # Enable DHT support for trackerless torrents or when all trackers are down. # May be set to "disable" (completely disable DHT), "off" (do not start DHT), # "auto" (start and stop DHT as needed), or "on" (start DHT immediately). # The default is "off". For DHT to work, a session directory must be defined. # dht.mode.set = auto # UDP port to use for DHT. # dht.port.set = 58124 # Enable peer exchange (for torrents not marked private) # protocol.pex.set = yes # Set downlad list layout style. ("full", "compact") # #ui.torrent_list.layout.set = "full" # SCGI Connectivity (for alternative rtorrent interfaces, XMLRPC) # # Use a IP socket with scgi_port, or a Unix socket with scgi_local. # schedule can be used to set permissions on the unix socket. # scgi_port = 0.0.0.0:5000 #scgi_local = /home/user/rtorrent/rpc.socket #schedule = scgi_permission,0,0,"execute.nothrow=chmod,\"g+w,o=\",/home/user/rtorrent/rpc.socket" # Initialise ruTorrent plugins (required for rss and scheduler plugins) on startup # (normally triggered by a browser opening the web ui). # # The command below in practice does NOT always trigger (possible race condition?) and thus # the same command has been added to the script /home/nobody/initplugins.sh in order to # attempt to ensure all plugins are initialised. # # NOTE - Do not double quote or curly brackets env var for 'WEBUI_USER' # execute = {/bin/bash,-c,/usr/bin/sleep 10s && /usr/bin/php /usr/share/webapps/rutorrent/php/initplugins.php $WEBUI_USER &} root@Highlander:~# docker run --rm -v /var/run/docker.sock:/var/run/docker.sock red5d/docker-autocompose rtorrentvpn version: "3" services: rtorrentvpn: command: - '/bin/bash /usr/local/bin/init.sh' container_name: rtorrentvpn cpuset: 1,2,3,4,8,9,13,14,15,17,18,19,20,24,25,29,30,31, entrypoint: - /usr/bin/tini - -g - -- environment: - VPN_CLIENT=openvpn - ENABLE_PRIVOXY=yes - ENABLE_RPC2_AUTH=yes - PGID=100 - PHP_TZ=UTC - PUID=99 - VPN_ENABLED=yes - ENABLE_RPC2=yes - ENABLE_WEBUI_AUTH=yes - NAME_SERVERS=209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1 - VPN_PROV=airvpn - RPC2_USER=admin - WEBUI_USER=admin - WEBUI_PASS=############### - VPN_OPTIONS= - VPN_OUTPUT_PORTS= - STRICT_PORT_FORWARD=yes - RPC2_PASS=###################### - UMASK=000 - TZ=Europe/London - HOST_OS=Unraid - 'VPN_PASS=vpn password' - LAN_NETWORK=192.168.1.0/24 - DEBUG=false - 'VPN_USER=vpn username' - ENABLE_AUTODL_IRSSI=no - VPN_INPUT_PORTS= - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/nobody/bin - HOME=/home/nobody - TERM=xterm - LANG=en_GB.UTF-8 hostname: 63ae208be953 image: binhex/arch-rtorrentvpn ipc: private logging: driver: json-file options: max-file: 3 max-size: 50m mac_address: 02:42:ac:11:00:0e networks: - bridge ports: - 19182:19182/tcp - 42565:42565/tcp - 42565:42565/udp - 5000:5000/tcp - 58124:58124/tcp - 8118:8118/tcp - 9080:9080/tcp - 9443:9443/tcp privileged: true security_opt: - label=disable volumes: - /mnt/user/downloads/rutorrent:/data:rw - /mnt/user/:/user:rw - /mnt/user/appdata/dockers/rtorrentvpn:/config:rw networks: bridge: external: true logs.txt
  22. Is anyone else having problems using the Radarr list import from a 2nd Radarr docker? It works fine for me with Sonarr, but with Radarr I get "unable to send test message". (API deleted below) Thanks in advance for any help.