Getting ruTorrent to work with rTorrent in Mageia 5

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Getting ruTorrent to work with rTorrent in Mageia 5

Postby BlueDragon » Mar 27th, '17, 18:07

Hi all,

Not so straightforward project it was. I might write a quick tutorial here about the setup in the coming days. What took me the longest to find out: have rutorrent appearing in my cherokee webserver. After having downloaded the needed rpm packages for rtorrent, rutorrent and cherokee, both latter being dependent and as such, installed together after the choice question (what webserver), I expected it actually to work "out of the box", which definitely was not the case on my system. After having spent countless hours to try to find a solution, I simply copied the whole content of the /usr/share/rutorrent to the cherokee server document root (default: /var/www) and that was doing the trick. By the way, it was also not at all obvious to have to enter the URL: localhost/rutorrent for starting rutorrent.)

Package information (very easy to be missed, since it's only appearing one time after urpmi):
The official plugins are contained in the rutorrent-plugins subpackage.
On this Mageia packaging of rutorrent and its plugins, all configuration
files are in /etc/rutorrent.
The access configuration is in /etc/httpd/conf/sites.d/rutorrent.conf. By default only
localhost is allowed to use rutorrent.

Nowhere it's mentioned, that a copy step has to be done. Actually even the location of the rutorrent main files (/usr/share/ruttorrent) is not even mentioned at any place at all!! :o

Once more, Linux is fine, once it's up and running... ok... so here is my question:

In /etc/httpd/conf/sites.d/rutorrent.conf (mentioned in the package notes):
Code: Select all
Alias /rutorrent /usr/share/rutorrent

<Directory /usr/share/rutorrent>
    Require local granted
</Directory>

Based on this my assumption would be that there would be no need to copy the content over as stated above, since actually the alias should take care of it. On my system though, this isn't working. Is my assumption correct and if yes, what's the problem?
BlueDragon
 
Posts: 54
Joined: Feb 22nd, '17, 20:47

Re: Getting ruTorrent to work with rTorrent in Mageia 5

Postby doktor5000 » Mar 27th, '17, 18:39

BlueDragon wrote:By the way, it was also not at all obvious to have to enter the URL: localhost/rutorrent for starting rutorrent.)

What did you assume to call otherwise?

The access configuration is in /etc/httpd/conf/sites.d/rutorrent.conf.

Does cherokee even respect that folder /etc/httpd/conf/sites.d/ as that is the default folder for the apache (httpd) webserver configuration?
From a quick look at their documentation that doesn't seem the case. Better use some webserver that is more common (apache, nginx ...) and not something that nobody else uses.

The upstream documentation which is mentioned in the /usr/share/doc/rutorrent/README.install.urpmi shown during installation via urpmi also points to apache:
http://code.google.com/p/rutorrent/wiki/WebSERVER
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Getting ruTorrent to work with rTorrent in Mageia 5

Postby BlueDragon » Mar 28th, '17, 03:44

doktor5000 wrote:The upstream documentation which is mentioned in the /usr/share/doc/rutorrent/README.install.urpmi shown during installation via urpmi also points to apache:
http://code.google.com/p/rutorrent/wiki/WebSERVER

Just scroll down a bit and you will find the rest... (about cherokee)

doktor5000 wrote:Better use some webserver that is more common (apache, nginx ...) and not something that nobody else uses.

Well... now I'm using it so at least there is one. :P Besides, I like the neat administration panel ! :mrgreen:

doktor5000 wrote:What did you assume to call otherwise?

When nothing is working at all, I can assume or rather can imagine anything I want. Like always, nothing is difficult, once you know it...

Thanks for the hint though, that apparently cherokee is not looking at this sites.d folder. A note / warning in the package info, that this configuration is only working with apache would be quite useful IMHO.
BlueDragon
 
Posts: 54
Joined: Feb 22nd, '17, 20:47

Re: Getting ruTorrent to work with rTorrent in Mageia 5

Postby doktor5000 » Mar 28th, '17, 11:08

BlueDragon wrote:A note / warning in the package info, that this configuration is only working with apache would be quite useful IMHO.

Well, there are at least 7 different webservers, and not all specifics of each webserver can be covered in every package.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron