Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rtorrent and Webgui's
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Sat Jul 18, 2009 8:40 am    Post subject: Rtorrent and Webgui's Reply with quote

Anybody get these webgui's working with rtorrent on Gentoo?
I ask because they make me want to put my head through a door.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sat Jul 18, 2009 7:38 pm    Post subject: Reply with quote

Yes, wtorrent has been working a few months before I ditched it. Maybe you should be a little more specific about your problems - if you want any help that is ;)
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Sat Jul 18, 2009 7:43 pm    Post subject: Reply with quote

ph030 wrote:
Yes, wtorrent has been working a few months before I ditched it. Maybe you should be a little more specific about your problems - if you want any help that is ;)


Was wtorrent easy to set up? So far i've tried to use rtgui but the configuration methods seem to be for non-daemon use.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sat Jul 18, 2009 7:59 pm    Post subject: Reply with quote

All-in-all it took about 20mins, including remerging rtorrent with xmlrpc-c and lighty+php. The rest has been more or less copy/paste from their documentation.
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Sat Jul 18, 2009 8:26 pm    Post subject: Reply with quote

ph030 wrote:
All-in-all it took about 20mins, including remerging rtorrent with xmlrpc-c and lighty+php. The rest has been more or less copy/paste from their documentation.


That's the thing. I see the guide uses lightppd but I already use apache on my server. Don't want another webserver on it.
Back to top
View user's profile Send private message
alatar
n00b
n00b


Joined: 12 Feb 2009
Posts: 61

PostPosted: Sat Jul 18, 2009 8:29 pm    Post subject: Reply with quote

There is also an Apache guide.
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Sat Jul 18, 2009 9:39 pm    Post subject: Reply with quote

alatar wrote:
There is also an Apache guide.

Cheers. I had seen that in my googling earlier. I'm stumped at where it says
Quote:
edit your .rtorrent.rc and add the following line:
scgi_port = localhost:5000


This would have to be pushed into the init script right?
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sat Jul 18, 2009 9:55 pm    Post subject: Reply with quote

No, read again, this needs to be appended to your normal rtorrentrc in your ~/
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Sun Jul 19, 2009 8:43 am    Post subject: Reply with quote

ph030 wrote:
No, read again, this needs to be appended to your normal rtorrentrc in your ~/


But if this is being ran as a daemon what user is rtorrent being run under?
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sun Jul 19, 2009 1:37 pm    Post subject: Reply with quote

If you emerged it with USE="daemon", you can set the user in /etc/conf.d/rtorrentd.
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Tue Jul 21, 2009 6:44 pm    Post subject: Reply with quote

ph030 wrote:
If you emerged it with USE="daemon", you can set the user in /etc/conf.d/rtorrentd.

Cheers for clearing that up. The rtorrent daemon, as provided by the ebuild and not the guide, appears to be running fine with no errors spitted out on startup.

Going through that guide you mentioned earlier i'm having issues understanding it.

Firstly it says
Code:
htpasswd -c /path/to/htpasswd username


Should "/path/to/htpasswd" be "/usr/bin/htpasswd" as that is what it implies.

Secondly it says "your home.conf.php". I've no idea what or where this is supposed to be. There's no mention of this up until now. Would this go in "/var/www/localhost/htdocs/"?

Thirdly. The guide mentions "auth with apache" yet prior to it mentions no mention of which module is needed. This list mentions at least 14 different auth modules yet I have no idea which one is needed.
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Tue Jul 21, 2009 7:27 pm    Post subject: Reply with quote

OK. I've managed to bluff my way through and wtorrent is finally connected to rtorrent.

My final issue is the matter of adding torrents. According to wtorrent I cannot add anything due to permissions despite me running chmod -R 777 /dir. I even tried to chown it to the whole directory to the rtorrent and scgi user. The actual error is
Quote:
Error: Impossible to create file on given directory, please check permisions
Back to top
View user's profile Send private message
alatar
n00b
n00b


Joined: 12 Feb 2009
Posts: 61

PostPosted: Tue Jul 21, 2009 7:44 pm    Post subject: Reply with quote

regomodo wrote:
OK. I've managed to bluff my way through and wtorrent is finally connected to rtorrent.

My final issue is the matter of adding torrents. According to wtorrent I cannot add anything due to permissions despite me running chmod -R 777 /dir. I even tried to chown it to the whole directory to the rtorrent and scgi user. The actual error is
Quote:
Error: Impossible to create file on given directory, please check permisions


I got stuck with that error too. Is there the way to enable logs and understand which directory it wants to use?
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Tue Jul 21, 2009 8:00 pm    Post subject: Reply with quote

alatar wrote:

I got stuck with that error too. Is there the way to enable logs and understand which directory it wants to use?


I've just perused wtorrent/ and all I see are conf and php files. Not a single logfile. Hmm.
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Wed Jul 22, 2009 7:42 am    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Thu Jul 23, 2009 8:11 am    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
alatar
n00b
n00b


Joined: 12 Feb 2009
Posts: 61

PostPosted: Thu Jul 23, 2009 12:24 pm    Post subject: Reply with quote

I do not think it is a good idea to bump this thread. According to wTorrent manuals there is no logs, or just init log, which is useless in this case. I had installed it with lighthttpd, but may be Apache produces detailed logs?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum