Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: stephen noble on November 07, 2006, 04:36:28 PM
-
http://www.torrentflux.com/,
TorrentFlux is a FREE PHP based Torrent client that runs on a web server.
Manage all of your Torrent downloads through a convenient web interface from anywhere.
assisted with posts from this thread
http://forums.contribs.org/index.php?topic=33380.0
but installed in /opt/torrentflux as recommended by the devs
http://www.dungog.net/sme/webapp.php#torrent
download from here
http://sme.dungog.net/packages/smeserver/7.0/i386/html/index_dungog.html
or install with yum from the dungog repo
-
Nice contrib... :D
-
Thanks
-2 has just been uploaded
smeserver-torrentflux and the three other web appliations
have had a PublicAccess db value added
so you can give them the same privileges as ibays
http://www.dungog.net/sme/webapp.php#settings
-
From your instructions...
4. open port(s) to allow uploads, eg.
config set torrent service access public status enabled TCPPort 45160
config set torrent service access public status enabled TCPPort 45161
signal-event remoteaccess-update
Will that work for multiple ports as the db key for both is torrent ?
-
your right
from VIP-ire's post
You can enable some more ports if you want several downloads at the same time. For exemple, I enabled 5 ports:
config set torrent1 service access public status enabled TCPPort 49500
config set torrent2 service access public status enabled TCPPort 49501
config set torrent3 service access public status enabled TCPPort 49502
config set torrent4 service access public status enabled TCPPort 49503
config set torrent5 service access public status enabled TCPPort 49504
signal-event remote-access-update
-
You have to watch the first one.
I have not installed your rpm but if you have a linked service SXXtorrent then none of those listed will match.
The first one in the list would sill have to be just 'torrent'.
-
There is no linked service, so it may not matter
but maybe this isn't needed at all
edit:
opening ports with DB values is not needed in this case
I removed the DB value and the torrents upload happily
(once you start them)
-
I have installed the torrentflux rpm and also the sme-torrentflux rpm. I am a novice with Linux and my skills stretch to installing rpms provided by others.
After install I tried starting torrentflux - couldn't find any instructions on their website.
Eventually I tried http://sme/torrent and got this error:
"Database error: Table 'torrentflux.tf_settings' doesn't exist
Always check your database variables in the config.php file."
What do I do now??
Thanks Guys.
-
I have installed the torrentflux rpm and also the sme-torrentflux rpm. I am a novice with Linux and my skills stretch to installing rpms provided by others.
After install I tried starting torrentflux - couldn't find any instructions on their website.
Eventually I tried http://sme/torrent and got this error:
"Database error: Table 'torrentflux.tf_settings' doesn't exist
Always check your database variables in the config.php file."
What do I do now??
Thanks Guys.
From the dungog site..
Torrentflux, torrent client
yum install smeserver-torrentflux
> YourServer.net/torrent
http://www.torrentflux.com
TorrentFlux is a FREE PHP based Torrent client that runs on a web server.
Manage all of your Torrent downloads through a convenient web interface from anywhere.
0. install torrentflux and smeserver-torrentflux
1. create database structure
/usr/bin/mysql torrentflux < /opt/torrentflux/sql/mysql_torrentflux.sql
2. add torrentflux mysql password
pico -w /opt/torrentflux/html/config.php
find mysql password with 'config show torentflux', [see extra settings below]
3. open YOURSERVER/torrent
login admin/admin, change admin pwd and review settings
4. open port(s) to allow uploads, eg.
config set torrent service access public status enabled TCPPort 45160
config set torrent service access public status enabled TCPPort 45161
signal-event remoteaccess-update
5. files are saved under /opt by default
you can change this to an ibay, with local network access (without password)[and maybe chmod 777]
or just cd to a directory, then make a symlink
cd /home/e-smith/files/ibays/dungog/files/junk/
ln -s /opt/torrentflux/html/downloads/
After that I still couldn't connect to the db.
Installed phpmyadmin (http://forums.contribs.org/index.php?topic=34362.0)
Found user torrentflux did not nave a password set. Gave him a password.
Went back and edited /opt/torrentflux/html/config.php and changed the password.
Tried again and I was in.
oh.. also had to do a
chown -R -v www:www /opt/torrentflux
-
i am not able to login with admin/admin?
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
-
i am not able to login with admin/admin?
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Login to what?
The above does not sound like a torrentflux login failure.
https://secure.magicwilly.info/torrent
-
the mysql password is set with smeserver-torrentflux
any permissions needing to be set are changed
if it doesn't please raise a bug
the first time you log into www/torrent you should change the admin password, the default is admin
if you changed the default security level to require a password
http://dungog.net/sme/webapp.php#settings
config setprop WEBAPP PublicAccess OPTION
you may need to login with a valid local user first
-
Just doing a install on a clean VM to confirm if it works out of the box and had a major crash and burn.
I must have some gremlins in there......
[root@vmsme7go ~]# yum --enablerepo=dungog install smeserver-torrentflux
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30978)
error: cannot open Packages database in /var/lib/rpm
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30978)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 80, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 170, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
File "__init__.py", line 82, in doConfigSetup
File "config.py", line 272, in __init__
File "config.py", line 384, in _getsysver
TypeError: rpmdb open failed
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30978)
error: cannot open Packages database in /var/lib/rpm
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@vmsme7go ~]#
Nothing specific to this contrib, just 'very interesting'....
-
when i go to myserver/torrent i get a login popup
when i go to myserver/torrent.login.php i get
TorrentFlux Database/SQL Error
Database error: Table 'torrentflux.tf_settings' doesn't exist
Always check your database variables in the config.php file.
-
when i go to myserver/torrent i get a login popup
Login like at server-manager.
-
What does
db configuration printprop torrentflux PublicAccess
give you?
-
TorrentFlux Database/SQL Error
Database error: Table 'torrentflux.tf_settings' doesn't exist
Always check your database variables in the config.php file.
Did you do this /usr/bin/mysql torrentflux < /opt/torrentflux/sql/mysql_torrentflux.sql
-
I'm getting constant errors:
PHP Warning: is_file() [<a href='function.is-file'>function.is-file</a>]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/opt/torrentflux:/home/e-smith/files/ibays:/tmp) in /opt/torrentflux/html/settingsfunctions.php on line 176
Would this also be related to the fact that I upgraded to PHP5?
-
I'm getting constant errors:
PHP Warning: is_file() [<a href='function.is-file'>function.is-file</a>]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/opt/torrentflux:/home/e-smith/files/ibays:/tmp) in /opt/torrentflux/html/settingsfunctions.php on line 176
Would this also be related to the fact that I upgraded to PHP5?
Just in case, check:
http://bugs.contribs.org/show_bug.cgi?id=1120
-
http://www.dungog.net/sme/webapp.php#torrent
6. upgrade 2.1 to 2.3
stop existing torrents
rpm or yum torrentflux
[upgrading from 2.1 will need to edit config.php (step 3.)]
in your browser open
servername/torrent/upgrade21_22.php
then servername/torrent/upgrade22_23.php
then rm /opt/torrentflux/html/upgrade2?_2?.php
-
Step-by-step silly HowTo for installation of Torrentflux on SMEserver 7.1.3.
Moved to Wiki @: http://wiki.contribs.org/Torrentflux
-
# yum --enablerepo=smedev install smeserver-torrentflux
the latest version is always at dungog.net, not smedev
-
Like this then?
I modified the howto to use yum instead and get all files from Dungog.
The intended audience for this howto is other Linux-newbies like myself,
all other are probably better off using the original one.
The best learning is done while (trying to) instruct others I've noticed (poor ones that get caught in the middle).
-
I'd setup the dungog repo and ...
yum install smeserver-torrentflux
or
yum install --enablerepo=dungog smeserver-torrentflux
I appreciate writing documentation is a good way to learn
but the best place to write docs in on the wiki
http://wiki.contribs.org/Category:Yum_Repository
any comments here will soon be lost
-
I'm sorry, but I don't quite get it.
I see that you have a dungog-repo in the wiki.
But when I try # yum install --enablerepo=dungog torrentflux
or # yum install --enablerepo=dungog smeserver-torrentflux
it says "Error getting repository data for dungog, repository not found"
Yes, I agree that the best place to put docs are on the wiki, but:
1: I have a problem with login to the wiki -I've filed a bug on that.
2: Would I get your (and other competent folks) attention there to find errors and development?
-
it says "Error getting repository data for dungog, repository not found"
What does:
db yum_repositories show dungog
give you?
-
login as: root
root@192.168.0.20's password:
Last login: Tue Apr 10 10:16:49 2007 from pc-00081.bends.mine.nu
[root@server20 ~]# db yum_repositories show dungog
[root@server20 ~]#
eh, nothing, it seems...
-
login as: root
root@192.168.0.20's password:
Last login: Tue Apr 10 10:16:49 2007 from pc-00081.bends.mine.nu
[root@server20 ~]# db yum_repositories show dungog
[root@server20 ~]#
eh, nothing, it seems...
Indeed, you should get something like this:
[root@skydiver ~]# db yum_repositories show dungog
dungog=repository
BaseURL=http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/
EnableGroups=yes
GPGCheck=no
Name=SME Server 7 - dungog
Visible=yes
...
Did you add the dungog repository to you repositories?
-
Did you add the dungog repository to you repositories?
Can I eat that? (I don't know what you mean).
Is thera a good place where they unveal these secrets?
/a linux newbie thats trying to quit Windows (not that easy).
-
Did you add the dungog repository to you repositories?
Can I eat that? (I don't know what you mean).
Is thera a good place where they unveal these secrets?
/a linux newbie thats trying to quit Windows (not that easy).
Read this:
http://www.dungog.net/sme/repo.php
and this is what you could do to add the dungog repo:
db yum_repositories set dungog repository \
BaseURL http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/ \
EnableGroups yes \
GPGCheck no \
Name 'SME Server 7 - dungog' \
Visible yes \
status disabled
/sbin/e-smith/expand-template /etc/yum.conf
If you check now with:
db yum_repositories show dungog
you should see what you entered above...
Good luck!
-
Ah! Thanks, I will experiment with that soon.
But for now I will use the methods I've tested with success.
My virtual machines are glowing, they make these experiments possible.
Just clone the clean install and test something new... Fabulous!!!
-
Quote from: "sandoz"
i am not able to login with admin/admin?
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Login to what?
The above does not sound like a torrentflux login failure.
https://secure.magicwilly.info/torrent
I have the same issue, but the link doesn't work. Someone can help me ?
Thank you.
solution:
uninstall 3 times, install phpmyadmin, and now i get acces.
strange :)