Help installing luci-app-rtorrent

Hi,

I wish to install luci-app-rtorrent from https://github.com/wolandmaster/luci-app-rtorrent.
Are the instructions listed on github still relevant? Is there anything I should tweak or can I follow it step by step?

For example if you want to install luci-app-rtorrent latest version:

$ opkg update; opkg install wget;
$ cd /tmp
$ wget https://github.com/wolandmaster/luci-app-rtorrent/releases/download/latest/luci-app-rtorrent_0.1.5_all.ipk
$ opkg install *.ipk

I've followed the steps outline in the github link and I keep getting this error

/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute cbi dispatcher target for entry '/admin/rtorrent/main'.
The called action terminated with an exception:
/usr/lib/lua/rtorrent.lua:48:

Failed to connect to rtorrent: rpc port not reachable!
Possible reasons:

  • not the rpc version of rtorrent is installed
  • scgi port is not defined in .rtorrent.rc (scgi_port = 127.0.0.1:5000)
  • rtorrent is not running (ps | grep rtorrent)

stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

This is the only part of the error I could figure out and try and resolve on my own.

Failed to connect to rtorrent: rpc port not reachable!
Possible reasons:

  • not the rpc version of rtorrent is installed
  • scgi port is not defined in .rtorrent.rc (scgi_port = 127.0.0.1:5000)
  • rtorrent is not running (ps | grep rtorrent)

I did opkg list_installed and rtorrent-rpc - 0.9.6-git-1-62cb5a4605c0664bc522e0e0da9c72f09cf643a9 was listed there.

cat /root/.rtorrent.rc
# Default directory to save the downloaded torrents.
#directory = ./
directory = /mnt/sda1/downloads

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = /mnt/sda1/rtorrent/session

schedule = rss_downloader,300,300,"execute=/usr/lib/lua/rss_downloader.lua"

encoding_list = UTF-8
system.umask.set = 022
port_range = 23877–23877
port_random = no
check_hash = no
trackers.enable = 1
dht = auto
dht_port = 6881
scgi_port = 127.0.0.1:5000
encryption = allow_incoming, try_outgoing, enable_retry

ps | grep rtorrent
 5562 root      1112 S    grep rtorrent

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.