Hi! I recently became an owner of QNAP TS-409 Pro Turbo and, as soon as I powered it up, I started to explore the possibilities it offers to customize the NAS the way I want it to run (though the firmware QNAP provides is quite good itself).
One of the reasons I bought this NAS was to use it as torrent download station so I wouldn't need to run my PC 24/7 anymore. After searching around the net, I found the ruTorrent, which is almost identical by the looks as my beloved uTorrent, so my task was to set up the rTorrent + ruTorrent, which I almost managed to do, but I ran into a problem (which seems quite trivial, but I can't find the solution for it), which I will describe further and hopefully someone can give me a hint on how to solve it.
Just for the note - I also tried the Transmission and I managed to set it up within less than half an hour with no problems whatsoever, so I could just give up on ruTorrent, but I still wanted to set it up and at least compare the two and decide which is better by running some tests.
Now, here's what I did to set up rTorrent:
- basically I followed the instructions found on the QNAP forum:
scgi_port = :5000
encoding_list = UTF-8
Quote
And no torrents are diplayed in the main window although the running rTorrent has some. As far as I understand, the problem is - ruTorrent is looking for /RPC2 on the Apache server instead of the lighttpd where the real /RPC2 is. So far, I was unable to find where to change this in ruTorrent so it would connect to the correct /RPC2.
Also, what confuses me the most - when I tried to add a new .torrent file using ruTorrent through "Add torrent..." it worked just fine - rTorrent started the download almost immediately after pressing the "Add file" button (same case with "Add URL").
Quote
So it feels like I'm almost there, just a little configuration issue. I would be very thankful, if someone could tell me, how to fix this.
P.S. If I will be able to get it running, then based on my current experience, I can also post a detailed description about how to set it up under the 'How To' section of this forum.
One of the reasons I bought this NAS was to use it as torrent download station so I wouldn't need to run my PC 24/7 anymore. After searching around the net, I found the ruTorrent, which is almost identical by the looks as my beloved uTorrent, so my task was to set up the rTorrent + ruTorrent, which I almost managed to do, but I ran into a problem (which seems quite trivial, but I can't find the solution for it), which I will describe further and hopefully someone can give me a hint on how to solve it.
Just for the note - I also tried the Transmission and I managed to set it up within less than half an hour with no problems whatsoever, so I could just give up on ruTorrent, but I still wanted to set it up and at least compare the two and decide which is better by running some tests.
Now, here's what I did to set up rTorrent:
- basically I followed the instructions found on the QNAP forum:
- installed the rTorrent package
- installed additional useful packages like screen, mc, nano
- set up rTorrent by creating necessary folders and assigning necessary permissions
- started rTorrent and checked if everything working fine - SUCCESS so far - after placing .torrent file in watch folder it started downloading without any problems
- installed lighttpd package
- changed the lighttpd configuration file as described here
- added strings to the rTorrent configuration file:
scgi_port = :5000
encoding_list = UTF-8
- checked lighttpd - it's running on localhost port 8081 and the /RPC2 is working as well
- copied the ruTorrent files to the Apache web server web directory
- opened the link http://<NAS-IP-address>:8080/rutorrent in my browser
Quote
[13.11.2009 18:18:23] WebUI started.
[13.11.2009 18:18:23] Bad response: (404) <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested URL /RPC2 was not found on this server.<P><HR><ADDRESS>Apache/1.3.41 Server at <NAS-IP-address Port 8080</ADDRESS></BODY></HTML>
[13.11.2009 18:18:23] Bad response: (404) <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested URL /RPC2 was not found on this server.<P><HR><ADDRESS>Apache/1.3.41 Server at <NAS-IP-address Port 8080</ADDRESS></BODY></HTML>
And no torrents are diplayed in the main window although the running rTorrent has some. As far as I understand, the problem is - ruTorrent is looking for /RPC2 on the Apache server instead of the lighttpd where the real /RPC2 is. So far, I was unable to find where to change this in ruTorrent so it would connect to the correct /RPC2.
Also, what confuses me the most - when I tried to add a new .torrent file using ruTorrent through "Add torrent..." it worked just fine - rTorrent started the download almost immediately after pressing the "Add file" button (same case with "Add URL").
Quote
[13.11.2009 18:20:02] torrent is succesfully passed to rTorrent
So it feels like I'm almost there, just a little configuration issue. I would be very thankful, if someone could tell me, how to fix this.
P.S. If I will be able to get it running, then based on my current experience, I can also post a detailed description about how to set it up under the 'How To' section of this forum.