Kerwood/Rtorrent-LXC

OSMC

acoolmanfromnowhere opened this issue · 9 comments

I tried to get this working on OSMC, but it's not working. The web interface is not working for me.

Could deliver some more details instead of just saying, it doesn't work.. You give me nothing to work with.

Sorry for that. I was using Rtorrent-Auto-Install script on OSMC and it was working fine, but when I updated the pi3 to the newest version of OSMC the rutorrent stopped working. I did a fresh OSMC install but still the script didn't work. It seems php5 is not getting installed and apache2 is not working. So I went for the docker setup. I went for the "Authentication" method that's listed in the readme. After that I tried to access localIP/rutorrent/ and it gives me an error "no file"

My device is pi3 running OSMC March 2018 version.
This is the command I ran
docker run --name rtorrent
-v /home/kerwood/Downloads:/downloads
-v /home/kerwood/plugins:/var/www/html/plugins
-v /home/kerwood/rtorrent-sessions:/home/rtorrent/rtorrent-session
-v /home/kerwood/Watch:/watch
-e HTUSER=Admin
-e HTPASS=Passw0rd
-p 8181:80
-p 51001:51001
--restart=always
-d kerwood/rtorrent-lxc
The I did
docker start rtorrent
docker ps -a gives me this status
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f71689ea09f6 kerwood/rtorrent-lxc "/startup.sh" 31 seconds ago Restarting (1) 6 seconds ago rtorrent
I'm still not sure how to access the web interface.
Hope this helps

You did change the paths in the volume lines, right ? Not using /home/kerwood/Downloads ?

That was too dumb of me to do that. Will do that and report here. Thanks.

Tried this today
docker run --name rtorrent
-v /home/osmc/Downloads:/downloads
-v /home/osmc/plugins:/var/www/html/plugins
-e HTUSER=Admin
-e HTPASS=password
-p 8181:80
-p 51001:51001
--restart=always
-d kerwood/rtorrent-lxc

status after install
Digest: sha256:610d424aa41255568ddfa5c0e5e282f5a11ae9403c32d1ea4bd960b37972fb2d
Status: Downloaded newer image for kerwood/rtorrent-lxc:latest
9012a34435a839fbef7358258844b3a10cf61f80692fc033b4011a758022f930

But the webpage doesn't load ip/rutorrent/ or ip:80 or ip:8181.

I changed the kodi webserver port to 8081

osmc@osmc:~$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9012a34435a8 kerwood/rtorrent-lxc "/startup.sh" 17 minutes ago Restarting (1) 25 seconds ago rtorrent

For the time being I'm using the older version of OSMC on which he older script works fine without any issues. Keeping my fingers crossed that this can be sorted out. I'm pretty sure I'm doing something wrong.

Do you actually have plugins in the /home/osmc/plugins folder ?

The address would be http://IP:8181

You can change that port to what ever you want in -p 8181:80
Maybe do a docker logs rtorrent to get some logs.

Sorry for the delayed response.

osmc@osmc:$ cd /home/osmc/plugins
osmc@osmc:
/plugins$ ls
osmc@osmc:~/plugins$ docker logs rtorrent
Error response from daemon: readlink /var/lib/docker/overlay2/l: invalid argument
Plugins folder is empty. You can see the error response above.