deagle

Members
  • Posts

    46
  • Joined

  • Last visited

Everything posted by deagle

  1. It doesn't seem to do anything, I even tried it running it separately inside the container: [root@fd072eedb8b3 /]# chown -R 1005:1000 /var/log/nginx/ [root@fd072eedb8b3 /]# ls -la /var/log/nginx/ total 8 drwxrwxr-x 2 nobody users 4096 Jan 26 12:22 . drwxr-xr-x 8 root root 4096 Apr 7 11:54 ..
  2. ? root@nas ? ~ ? docker exec -it rtorrent /bin/bash -c "ls -al /var/log/nginx" total 8 drwxrwxr-x 2 nobody users 4096 Jan 26 12:22 . drwxr-xr-x 8 root root 4096 Apr 7 11:21 .. No file ever shows up, are you mapping the PGID to 'users'?
  3. I'm pretty sure permissions are good on my end: ? root@nas ? ~ ? id rtorrent uid=1005(rtorrent) gid=100(users) groups=100(users),1000(dockeruser) ? root@nas ? ~ ? docker run -d \ --privileged=true \ -p 9080:9080 \ -p 9443:9443 \ -p 8118:8118 \ --name=rtorrent \ -v /docker/rutorrent/data:/data \ -v /docker/rutorrent/config:/config \ -v /etc/localtime:/etc/localtime:ro \ -e VPN_ENABLED=yes \ -e VPN_USER=(removed) \ -e VPN_PASS=(removed) \ -e VPN_REMOTE=ca-toronto.privateinternetaccess.com \ -e VPN_PORT=1194 \ -e VPN_PROTOCOL=udp \ -e VPN_PROV=pia \ -e ENABLE_PRIVOXY=no \ -e LAN_NETWORK=10.1.3.0/24 \ -e DEBUG=false \ -e PUID=1005 \ -e PGID=1000 \ binhex/arch-rtorrentvpn ? root@nas ? /docker/rutorrent ? l total 16K drwxrwxr-x 4 rtorrent dockeruser 4.0K Apr 5 17:54 . drwxrwxr-x 3 rtorrent dockeruser 4.0K Apr 1 13:10 .. drwxrwxr-x 6 rtorrent dockeruser 4.0K Apr 5 18:23 config drwxrwxr-x 4 rtorrent dockeruser 4.0K Apr 6 14:52 data
  4. It works when I force it to root/root. Let me see if I missed anything.
  5. I can change the PUID/PGID if you want. The mapped folders are chowned to both with 775 permissions so I'm kinda stumped too...
  6. Here you go. I changed the extension to txt because of upload restrictions and removed the username and password in lines 47 and 50. supervisord.txt
  7. 2016-04-04 20:11:25,259 DEBG received SIGCLD indicating a child quit 2016-04-04 20:11:26,260 INFO gave up: webui-script entered FATAL state, too many start retries too quickly
  8. Thanks for the update. I got further but still no dice: [ERROR] unable to bind listening socket for address '127.0.0.1:7777': Address already in use (98) [ERROR] FPM initialization failed 2016-04-04 19:59:19,055 DEBG 'webui-script' stderr output: 2016/04/04 19:59:19 [emerg] 671#0: open() "/var/log/nginx/access.log" failed (13: Permission denied) 2016-04-04 19:59:19,055 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 140681473186200 for <Subprocess at 140681473120664 with name webui-script in state STARTING> (stdout)> 2016-04-04 19:59:19,055 DEBG fd 19 closed, stopped monitoring <POutputDispatcher at 140681473185768 for <Subprocess at 140681473120664 with name webui-script in state STARTING> (stderr)> 2016-04-04 19:59:19,056 INFO exited: webui-script (exit status 1; not expected) 2016-04-04 19:59:19,056 DEBG received SIGCLD indicating a child quit 2016-04-04 19:59:22,060 INFO spawned: 'webui-script' with pid 672 2016-04-04 19:59:22,080 DEBG 'webui-script' stdout output: [info] rtorrent started, setting up webui...
  9. I'm still getting an error: [info] All checks complete, starting rTorrent... 2016-04-01 18:40:35,803 DEBG 'rtorrent-script' stdout output: Script started, file is //typescript 2016-04-01 18:40:35,804 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 140482943279256 for <Subprocess at 140482943281848 with name rtorrent-script in state RUNNING> (stdout)> 2016-04-01 18:40:35,804 DEBG 'rtorrent-script' stderr output: script: cannot open //typescript: Permission denied 2016-04-01 18:40:35,804 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 140482943346160 for <Subprocess at 140482943281848 with name rtorrent-script in state RUNNING> (stderr)> 2016-04-01 18:40:35,804 INFO exited: rtorrent-script (terminated by SIGTERM; not expected) 2016-04-01 18:40:35,804 DEBG received SIGCLD indicating a child quit 2016-04-01 18:40:36,807 INFO spawned: 'rtorrent-script' with pid 806 2016-04-01 18:40:36,819 DEBG 'rtorrent-script' stdout output: [info] rTorrent config file already exists, skipping copy
  10. For /data I haven't decided where to go, ideally it would be a generic download folder and then movies, tv, ect would be nested for easy label-based move after completion. That's how I did it with Diameter's container and it worked well. For the sake of testing I'm now using the following and getting the same error: -v /docker/rutorrent/data:/data \ -v /docker/rutorrent/config:/config \ here is the permissions output: ? root@nas ? /docker/rutorrent ? id rtorrent uid=1005(rtorrent) gid=100(users) groups=100(users),1000(dockeruser) ? root@nas ? /docker/rutorrent ? ? root@nas ? /docker/rutorrent ? l total 16K drwxrwxr-x 4 rtorrent dockeruser 4.0K Apr 1 13:14 . drwxrwxr-x 3 rtorrent dockeruser 4.0K Apr 1 13:10 .. drwxrwxr-x 4 rtorrent dockeruser 4.0K Apr 1 13:16 config drwxrwxr-x 2 rtorrent dockeruser 4.0K Apr 1 13:14 data ? root@nas ? /docker/rutorrent ? l config total 148K drwxrwxr-x 4 rtorrent dockeruser 4.0K Apr 1 13:16 . drwxrwxr-x 4 rtorrent dockeruser 4.0K Apr 1 13:14 .. drwxrwxr-x 2 rtorrent dockeruser 4.0K Apr 1 13:16 openvpn -rw-r--r-- 1 root root 162 Apr 1 13:16 perms.txt drwxr-xr-x 3 rtorrent dockeruser 4.0K Apr 1 13:16 rtorrent -rw-r--r-- 1 root root 121K Apr 1 13:21 supervisord.log ? root@nas ? /docker/rutorrent ? l data total 8.0K drwxrwxr-x 2 rtorrent dockeruser 4.0K Apr 1 13:14 . drwxrwxr-x 4 rtorrent dockeruser 4.0K Apr 1 13:14 .. ? root@nas ? /docker/rutorrent ?
  11. Thanks for trying but no dice yet. In unRAID I'm using the GUI installer from Community Apps and just filling in the blanks per your Github page. /mnt/cache/appcache/rutorrent -> /config /mnt/user/testshare/ -> /data *confused by unRAID Share Path: /mnt/user -> /unRAID* UID 99, GID 100 [info] All checks complete, starting rTorrent... 2016-03-30 18:29:40,069 DEBG 'rtorrent-script' stdout output: Script started, file is //typescript 2016-03-30 18:29:40,070 DEBG 'rtorrent-script' stderr output: script: cannot open //typescript: Permission denied 2016-03-30 18:29:40,070 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 47456313548456 for <Subprocess at 47456313629872 with name rtorrent-script in state RUNNING> (stdout)> 2016-03-30 18:29:40,070 INFO exited: rtorrent-script (terminated by SIGTERM; not expected) 2016-03-30 18:29:40,070 DEBG received SIGCLD indicating a child quit 2016-03-30 18:29:41,073 INFO spawned: 'rtorrent-script' with pid 1912 2016-03-30 18:29:41,088 DEBG 'rtorrent-script' stdout output: [info] rTorrent config file already exists, skipping copy In OMV/Debian I'm doing the following and I get the same result: docker run -d \ --cap-add=NET_ADMIN \ -p 9080:9080 \ -p 9443:9443 \ -p 8118:8118 \ --name=rutorrent \ -v /(path to downloads folder):/data \ -v /docker/rutorrent/config:/config \ -v /etc/localtime:/etc/localtime:ro \ -e VPN_ENABLED=yes \ -e VPN_USER=removed \ -e VPN_PASS=removed \ -e VPN_REMOTE=ca-toronto.privateinternetaccess.com \ -e VPN_PORT=1194 \ -e VPN_PROTOCOL=udp \ -e VPN_PROV=pia \ -e ENABLE_PRIVOXY=no \ -e LAN_NETWORK= (removed) -e DEBUG=true \ -e PUID=1005 \ -e PGID=1000 \ binhex/arch-rtorrentvpn
  12. I tried in urRAID 6.2 beta VM and I get the same issue. [info] All checks complete, starting rTorrent... 2016-03-30 14:16:22,688 DEBG 'rtorrent-script' stdout output: Script started, file is typescript 2016-03-30 14:16:22,689 DEBG 'rtorrent-script' stderr output: script: cannot open typescript: Permission denied 2016-03-30 14:16:22,689 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 47934392589560 for <Subprocess at 47934392523952 with name rtorrent-script in state RUNNING> (stderr)> 2016-03-30 14:16:22,689 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 47934392576048 for <Subprocess at 47934392523952 with name rtorrent-script in state RUNNING> (stdout)> 2016-03-30 14:16:22,689 INFO exited: rtorrent-script (terminated by SIGTERM; not expected) 2016-03-30 14:16:22,690 DEBG received SIGCLD indicating a child quit 2016-03-30 14:16:23,694 INFO spawned: 'rtorrent-script' with pid 67088 2016-03-30 14:16:23,706 DEBG 'rtorrent-script' stdout output: [info] rTorrent config file already exists, skipping copy 2016-03-30 14:16:23,708 DEBG 'rtorrent-script' stdout output: [info] Removing any rtorrent session lock files left over from the previous run... I'll be migrating from OMV to urRAID once 6.2 is final.
  13. Yes, and it's automatic, you don't need to do anything. Automatic??? Does this docker use the custom PIA script to check for open ports then? Looks like it, when I get this working it will replace my weird pfsense setup. This is from the log during startup: [info] VPN incoming port 26421 binhex, if it makes any difference, I'm testing this on OMV and a 6.2 vm running on ESX.
  14. Having trouble starting the container properly [info] All checks complete, starting rTorrent... 2016-03-29 18:07:39,717 DEBG 'rtorrent-script' stdout output: Script started, file is typescript 2016-03-29 18:07:39,718 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 140032628953240 for <Subprocess at 140032628955832 with name rtorrent-script in state RUNNING> (stdout)> 2016-03-29 18:07:39,718 DEBG 'rtorrent-script' stderr output: script: cannot open typescript: Permission denied 2016-03-29 18:07:39,718 DEBG fd 16 closed, stopped monitoring <POutputDispatcher at 140032629021944 for <Subprocess at 140032628955832 with name rtorrent-script in state RUNNING> (stderr)> 2016-03-29 18:07:39,719 INFO exited: rtorrent-script (terminated by SIGTERM; not expected) 2016-03-29 18:07:39,719 DEBG received SIGCLD indicating a child quit 2016-03-29 18:07:40,721 INFO spawned: 'rtorrent-script' with pid 13712 2016-03-29 18:07:40,732 DEBG 'rtorrent-script' stdout output: [info] rTorrent config file already exists, skipping copy 2016-03-29 18:07:40,734 DEBG 'rtorrent-script' stdout output: [info] Removing any rtorrent session lock files left over from the previous run...
  15. Does PIA port forwarding work? I don't mind changing the port in ruTorrent when PIA changes it as long as iptables doesn't have to be reconfigured.