Author |
Message |
techman83
|
Posted: Sun Feb 24, 2008 12:06 am |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
http://www.knoppmythwiki.org/index.php? ... ntfluxb4rt
Any pointers/suggestions let me know. My usual wiki writing is in Dokuwiki for our Departments internal documentation, so it's usually only read by us geeks!
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
mihanson
|
Posted: Sun Feb 24, 2008 12:31 am |
|
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location:
Los Angeles
|
Great, thanks! I was looking into installing this over my current torrentflux 2.3.
_________________ Mike
My Hardware Profile
|
|
Top |
|
|
techman83
|
Posted: Sun Feb 24, 2008 12:38 am |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
Cool! Good luck, hope it is helpful and easy enough to use! Feedback welcome!
I've re jigged the formatting a little, should be more readable now. Also added a note about the document root.
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
greend139
|
Posted: Mon Feb 25, 2008 11:04 am |
|
Joined: Sat Feb 04, 2006 1:50 pm
Posts: 24
|
As another option there is clutchbt which uses the transmission-daemon. I prefer this over torrent-flux. http://www.clutchbt.com Maybe ill write up something on the wiki if i get the time.
|
|
Top |
|
|
mihanson
|
Posted: Mon Feb 25, 2008 4:11 pm |
|
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location:
Los Angeles
|
Thanks again for the help techman! I just used your directions on the wiki and migrated off torrenflux-2.3 to torrentflux-b4rt. Everything in your instructions worked for me except step 7. I had to add a * after ...html/ or else I got the html directory itself copied when we just wanted the contents of that. I made the change on the wiki myself. Thanks again.
_________________ Mike
My Hardware Profile
|
|
Top |
|
|
techman83
|
Posted: Mon Feb 25, 2008 5:10 pm |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
greend139 wrote: As another option there is clutchbt which uses the transmission-daemon. I prefer this over torrent-flux. http://www.clutchbt.com Maybe ill write up something on the wiki if i get the time. Looks interesting, but a little featureless for my liking. That's what is great about F/OSS so many choices . I will add that torrentflux-b4rt can use Transmission, but the module may need updating as it's a little clunky (if I can be bothered to work it out I will and add it to the wiki) mihanson wrote: Thanks again for the help techman! I just used your directions on the wiki and migrated off torrenflux-2.3 to torrentflux-b4rt. Everything in your instructions worked for me except step 7. I had to add a * after ...html/ or else I got the html directory itself copied when we just wanted the contents of that. I made the change on the wiki myself. Thanks again.
Your Welcome, I'm happy I've helped at least one person As a side note, step 7 works as intended for a _fresh_ install. I have changed it back, but added a note about your upgrade comment. I actually did the install on a completely fresh knoppmyth vm i use for testing as my Torrentflux-b4rt is running on a separate box to my mythbox.
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
techman83
|
Posted: Tue Feb 26, 2008 1:18 am |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
Also Just noticed, may be a handy option if you find the torrents affecting your boxes performance, In Admin -> Transfer, right down the bottom you can set the Nice settings to what ever you want.
I monitor the server it's running on with Cacti and it only ever really goes above a .2 - .3 Load average. Except when i've had a power outage (read unplugged the wrong network lead ) and it has to re-scan all the torrents to find out where they are up to. Re-scanning 30 torrents at once does bump up the load average to about 2.
Also have to take into consideration that my torrents are downloaded to a SMB share, so it may add overheads too.
I'd hazzard a guess that my Mythbox's average load for the last few months would be around the .3 - .4 mark. But it is a P4 2.4C that is running a FE/BE, HD Content, Commercial Flagging, DVD Creation and Outputting HD 1920x1080 (not that I'm sure the increased makes much of a difference).
.... Think I need a hobby .... oh and the Mythbox has a high WAF!
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
soundoff
|
Posted: Wed Mar 12, 2008 6:55 am |
|
Joined: Tue Jan 24, 2006 1:29 am
Posts: 157
Location:
Brisbane, Australia
|
I just followed your instructions pretty much word for word and had it working in about 10 minutes.
Thanks heaps!
I used to run Torrentflux 2.3 (i think) on R5D1. I seem to remember it being able to queue up transfers?? I cant find an option to do this with B4RT
any ideas?
|
|
Top |
|
|
techman83
|
Posted: Wed Mar 12, 2008 6:13 pm |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
Glad you found it easy enough to follow
FluxD is what you are after, it's in the admin section. How to get it to start on boot I'm not sure, because on the box I run it on it doesn't work
But it does on Knoppmyth, but before starting it you have to change it from:
PHP + fluxcli.php
to
Perl + DBI/DBD
and scroll to the bottom and press save. Then press the 'start fluxd' button up the top.
If it doesn't start press the check button (i can't confirm R5D1 has the same perl modules installed) It should return the following:
Code: [2008/03/13 - 09:07:22][CORE] checking requirements... [2008/03/13 - 09:07:22][CORE] 1. CORE-Perl-modules [2008/03/13 - 09:07:22][CORE] - OK : IO::Select [2008/03/13 - 09:07:22][CORE] - OK : IO::Socket::UNIX [2008/03/13 - 09:07:22][CORE] - OK : IO::Socket::INET [2008/03/13 - 09:07:22][CORE] - OK : POSIX [2008/03/13 - 09:07:22][CORE] 2. Database-Perl-modules [2008/03/13 - 09:07:22][CORE] - OK : DBI [2008/03/13 - 09:07:22][CORE] - OK : DBD::mysql [2008/03/13 - 09:07:22][CORE] - FAILED : DBD::SQLite [2008/03/13 - 09:07:22][CORE] - FAILED : DBD::Pg [2008/03/13 - 09:07:22][CORE] 3. Result : PASSED
The 2 failures at the end are ok, because they refer to different databases and we are using MySQL. If you are missing a perl module simple install it using the cpan shell (as root) 1. Open Perl cpan shell Code: perl -MCPAN -e shell
2. Install MODULE::name Code: install MODULE::name
You can pretty much just copy and paste the module names from the log file
Hope that helps!
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
soundoff
|
Posted: Wed Mar 12, 2008 8:35 pm |
|
Joined: Tue Jan 24, 2006 1:29 am
Posts: 157
Location:
Brisbane, Australia
|
thanks mate your a champ.
next question - is it possible to set global upload / download limits with B4RT or is it still a per download thing like the old torrentflux?
|
|
Top |
|
|
techman83
|
Posted: Wed Mar 12, 2008 8:40 pm |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
Per torrent, could be a way around that, but i've never investigated. Got a nice Juicy pipe that's pretty hard to flood at home
You also prompted me to figure out why fluxd wouldn't start on my torrent server. My downloads folder is actually on a samba share, which aren't capable of having unix socket files on them.
So I created a new folder in torrentflux and symlinked all the folders except the .fluxd one to the samba share and hey presto, fluxd works. I can now just drag drop things into the watch folder knowing that my torrent server will add them and start downloading them... no more adding them by the webpage!!
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
soundoff
|
Posted: Tue Apr 15, 2008 3:39 am |
|
Joined: Tue Jan 24, 2006 1:29 am
Posts: 157
Location:
Brisbane, Australia
|
well I just broke my B4RT install...
I was sick of logging in twice every time i wanted to use the web frontend. So i changed the authentication method, now i cant log in. I changed it to the most basic looking option where the browser handles the authentication.
Apache prompts me as normal... i log in as mythtv all good.
then when i try to log in to torrentflux it accepts my username and password.. then hangs.
anyone know where this setting is stored so i can change it back??? The box is otherwise fine so i can still get a shell no problem
thanks
|
|
Top |
|
|
techman83
|
Posted: Tue Apr 15, 2008 6:37 am |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
Ok looked up the settings in my database and the following command within mysql will work. Running mysql within root will be enough to do this.
I just use Form Auth + Cookie, means I only have to login every now and then, but I'm not running this on my mythbox.
From the root account type
Code: mysql
Then past this into the console, should be enough to get it running again. Code: use torrentflux; UPDATE tf_settings SET tf_value=1 WHERE tf_key= 'auth_type'; quit;
Change the tf_value to the different ones accordingly.
Auth Type
Form Auth = 0
Form Auth + Cookie = 1
Basic Auth = 2
Basic Passthrough = 3
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
soundoff
|
Posted: Wed Apr 16, 2008 6:47 am |
|
Joined: Tue Jan 24, 2006 1:29 am
Posts: 157
Location:
Brisbane, Australia
|
fixed! I changed the setting using webmin. thankyou mate
edit: for future reference the database name is "torrentfluxb4rt" not "torrentflux"
|
|
Top |
|
|
soundoff
|
Posted: Wed Apr 16, 2008 3:56 pm |
|
Joined: Tue Jan 24, 2006 1:29 am
Posts: 157
Location:
Brisbane, Australia
|
back to getting fluxd to work..
i set it all up, it starts without errors but the log is full of this:
Code: Error: Database Problems This PHP installation does not have support for mysql built into it. Please reinstall PHP and ensure support for the selected database is built in. Error: Database Problems This PHP installation does not have support for mysql built into it. Please reinstall PHP and ensure support for the selected database is built in.
Any ideas? The error log is empty but fluxd doesnt do anything. It doesnt restart dead transfers, and it doesnt do anything with my watch directory. queued transfers never get started either. they just sit there. The torrent running below is one i manually started. status output: Code: fluxd has been up since Thu Apr 17 07:50:33 2008 (3m 33s)
data-dir : /myth/torrents/.fluxd/ log : /myth/torrents/.fluxd/fluxd.log error-log : /myth/torrents/.fluxd/fluxd-error.log pid : /myth/torrents/.fluxd/fluxd.pid socket : /myth/torrents/.fluxd/fluxd.sock transfers-dir : /myth/torrents/.transfers/ docroot : /var/www/torrentflux/ fluxcli : /var/www/torrentflux/bin/fluxcli.php php : /usr/bin/php db-mode : dbi loglevel : 0
- Loaded Modules - * Qmgr * Watch * Maintenance
-= Qmgr Revision 2880 =- interval : 15 s max transfers global : 3 max transfers per user : 3 max start-tries : 3 jobs total : 1 jobs queued : 0 jobs running : 1 * torrentname.torrent (root) running since : Thu Apr 17 07:50:33 2008 (3m 33s) (14 cycles) started transfers : 0
-= Watch Revision 2979 =- interval : 30 s jobs : * user: root dir: /myth/torrents/.transfer/
-= Maintenance Revision 2880 =- interval : 60 s trestart : 1
|
|
Top |
|
|