LinHES Forums http://forums.linhes.org/ |
|
HOWTO: torrentflux-b4rt http://forums.linhes.org/viewtopic.php?f=11&t=17945 |
Page 1 of 2 |
Author: | techman83 [ Sun Feb 24, 2008 12:06 am ] |
Post subject: | HOWTO: torrentflux-b4rt |
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! |
Author: | mihanson [ Sun Feb 24, 2008 12:31 am ] |
Post subject: | |
Great, thanks! I was looking into installing this over my current torrentflux 2.3. ![]() |
Author: | techman83 [ Sun Feb 24, 2008 12:38 am ] |
Post subject: | |
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. |
Author: | greend139 [ Mon Feb 25, 2008 11:04 am ] |
Post subject: | |
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. |
Author: | mihanson [ Mon Feb 25, 2008 4:11 pm ] |
Post subject: | |
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. |
Author: | techman83 [ Mon Feb 25, 2008 5:10 pm ] |
Post subject: | |
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 ![]() 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 ![]() |
Author: | techman83 [ Tue Feb 26, 2008 1:18 am ] |
Post subject: | |
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 ![]() 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 ![]() ![]() |
Author: | soundoff [ Wed Mar 12, 2008 6:55 am ] |
Post subject: | |
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? |
Author: | techman83 [ Wed Mar 12, 2008 6:13 pm ] |
Post subject: | |
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! |
Author: | soundoff [ Wed Mar 12, 2008 8:35 pm ] |
Post subject: | |
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? |
Author: | techman83 [ Wed Mar 12, 2008 8:40 pm ] |
Post subject: | |
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!! |
Author: | soundoff [ Tue Apr 15, 2008 3:39 am ] |
Post subject: | |
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 |
Author: | techman83 [ Tue Apr 15, 2008 6:37 am ] |
Post subject: | |
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 |
Author: | soundoff [ Wed Apr 16, 2008 6:47 am ] |
Post subject: | |
fixed! I changed the setting using webmin. thankyou mate edit: for future reference the database name is "torrentfluxb4rt" not "torrentflux" |
Author: | soundoff [ Wed Apr 16, 2008 3:56 pm ] |
Post subject: | |
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 |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |