Page 12 of 44 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 435

Thread: How-to: Installing Torrent-Flux

  1. #111
    Join Date
    Dec 2005
    Beans
    387
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How-to: Installing Torrent-Flux

    I'm at this step:

    (You'll need to enter the MySQL password you set previously.) Now go into the "sql" sub-directory in torrentflux (depends on where you untared torrentflux, of course):
    Code:

    $ cd ~/Desktop/torrentflux_2.1/sql
    I installed with synaptec. I can't find torrentflux_2.1/sql.

  2. #112
    Join Date
    Aug 2006
    Beans
    923
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How-to: Installing Torrent-Flux

    Quote Originally Posted by DarkDancer View Post
    I installed with synaptec. I can't find torrentflux_2.1/sql.
    Yeah, the how-to was written for a manual installation. With an automatic installation, the sql script is supposed to be run automatically. So, the database should be created.

    Having said that, I have found that the automatic install doesn't always do that step properly. You can obtain the "mysql_torrentflux.sql" script by downloading the torrentflux installation files from:
    http://sourceforge.net/project/showf...roup_id=123961

    You can follow the steps in the how-to for untarring that file, and running the MySQL script.

    Hope that helps.

  3. #113
    Join Date
    Aug 2006
    Beans
    923
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How-to: Installing Torrent-Flux

    Quote Originally Posted by DarkDancer View Post
    I installed with synaptec. I can't find torrentflux_2.1/sql.
    By the way, you only need to run that sql script if the automatic installation didn't create the MySQL database for you. You can check if the MySQL database exists in two different ways.

    Method one:
    Check the directory "/var/lib/mysql/" and see if it contains "torrentflux" (and make sure it's not empty):
    Code:
    cd /var/lib/mysql/
    ls -laF
    cd torrentflux
    ls -laF

    Method two:
    Use MySQL itself:
    Code:
    mysql -uroot -p
    mysql> show databases;
    mysql> use torrentflux;
    mysql> show tables;
    mysql> quit;
    Make sure that it listed "torrentflux" among the databases, and that it contained the right tables:
    Code:
    +-----------------------+
    | Tables_in_torrentflux |
    +-----------------------+
    | tf_cookies            |
    | tf_links              |
    | tf_log                |
    | tf_messages           |
    | tf_rss                |
    | tf_settings           |
    | tf_users              |
    +-----------------------+

  4. #114
    Join Date
    Dec 2005
    Beans
    387
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How-to: Installing Torrent-Flux

    Ok, thanks, I think it worked, but I also think I may be in over my head....

    I fail at step 4d.

    http://localhost/torrentflux/

    I get a 404 not found error.....

    What I did was uninstalled from synaptec and downloaded the tarball and followed the instructions from there.
    Last edited by DarkDancer; September 3rd, 2007 at 07:35 PM. Reason: adding information.

  5. #115
    Join Date
    Aug 2006
    Beans
    923
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How-to: Installing Torrent-Flux

    Quote Originally Posted by DarkDancer View Post
    Ok, thanks, I think it worked, but I also think I may be in over my head....

    I fail at step 4d.

    http://localhost/torrentflux/

    I get a 404 not found error.....

    What I did was uninstalled from synaptec and downloaded the tarball and followed the instructions from there.
    If you uninstalled using Synaptic, then you need go back through all the steps of the how-to. In particular, a 404 error probably means that you didn't copy the contents of the "html" directory form the downloaded tar-file into the directory "/var/www/torrentflux/" (step 4.a).

  6. #116
    Join Date
    Dec 2005
    Beans
    387
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How-to: Installing Torrent-Flux

    Ok, I went back through all the instructions starting with 4a and I still get the 404 error. The only errors during the steps were errors saying that the database could not be created because it already exists....

  7. #117
    Join Date
    Aug 2006
    Beans
    923
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How-to: Installing Torrent-Flux

    Quote Originally Posted by DarkDancer View Post
    Ok, I went back through all the instructions starting with 4a and I still get the 404 error. The only errors during the steps were errors saying that the database could not be created because it already exists....
    Confirm that the files got copied:
    Code:
    ls /var/www/torrentflux/ -laF
    It should lists a bunch of files (46 files and dirs, I think). You can post the output of that command to the thread.

  8. #118
    Join Date
    Dec 2005
    Beans
    387
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How-to: Installing Torrent-Flux

    drwxr-xr-x 9 darkdancer darkdancer 4096 2007-09-03 15:10 ./
    drwxr-xr-x 4 root root 4096 2007-09-03 14:27 ../
    -rwxr-x--- 1 darkdancer darkdancer 90289 2007-09-03 14:43 admin.php*
    drwxr-x--- 11 darkdancer darkdancer 4096 2007-09-03 14:21 adodb/
    -rwxr-x--- 1 darkdancer darkdancer 5471 2007-09-03 14:43 AliasFile.php*
    -rwxr-x--- 1 darkdancer darkdancer 1958 2007-09-03 14:43 all_services.php*
    -rwxr-x--- 1 darkdancer darkdancer 7199 2007-09-03 14:43 BDecode.php*
    -rwxr-x--- 1 darkdancer darkdancer 70 2007-09-03 14:43 blank.html*
    -rwxr-x--- 1 darkdancer darkdancer 3742 2007-09-03 15:10 config.php*
    -rw-r----- 1 darkdancer darkdancer 3743 2007-09-03 14:53 config.php~
    -rwxr-x--- 1 darkdancer darkdancer 2623 2007-09-03 14:43 cookiehelp.php*
    -rwxr-x--- 1 darkdancer darkdancer 2958 2007-09-03 14:43 db.php*
    -rwxr-x--- 1 darkdancer darkdancer 1808 2007-09-03 14:43 details.php*
    -rwxr-x--- 1 darkdancer darkdancer 18689 2007-09-03 14:43 dir.php*
    -rwxr-x--- 1 darkdancer darkdancer 6723 2007-09-03 14:43 downloaddetails.php*
    drwxr-x--- 2 darkdancer darkdancer 4096 2007-09-03 14:21 downloads/
    -rwxr-x--- 1 darkdancer darkdancer 1726 2007-09-03 14:43 drivespace.php*
    -rwxr-x--- 1 darkdancer darkdancer 794 2007-09-03 14:43 dtree.css*
    -rwxr-x--- 1 darkdancer darkdancer 13523 2007-09-03 14:43 dtree.js*
    -rwxr-x--- 1 darkdancer darkdancer 2238 2007-09-03 14:43 favicon.ico*
    -rwxr-x--- 1 darkdancer darkdancer 86831 2007-09-03 14:43 functions.php*
    -rwxr-x--- 1 darkdancer darkdancer 5993 2007-09-03 14:43 history.php*
    drwxr-x--- 4 darkdancer darkdancer 4096 2007-09-03 14:21 images/
    -rwxr-x--- 1 darkdancer darkdancer 34943 2007-09-03 14:43 index.php*
    drwxr-x--- 2 darkdancer darkdancer 4096 2007-09-03 14:21 language/
    -rwxr-x--- 1 darkdancer darkdancer 8440 2007-09-03 14:43 lastRSS.php*
    -rwxr-x--- 1 darkdancer darkdancer 11652 2007-09-03 14:43 login.php*
    -rwxr-x--- 1 darkdancer darkdancer 1625 2007-09-03 14:43 logout.php*
    -rwxr-x--- 1 darkdancer darkdancer 25368 2007-09-03 14:43 maketorrent.php*
    -rwxr-x--- 1 darkdancer darkdancer 3948 2007-09-03 14:43 message.php*
    -rwxr-x--- 1 darkdancer darkdancer 8417 2007-09-03 14:43 metaInfo.php*
    -rwxr-x--- 1 darkdancer darkdancer 5186 2007-09-03 14:43 multi.php*
    -rwxr-x--- 1 darkdancer darkdancer 44818 2007-09-03 14:43 overlib.js*
    -rwxr-x--- 1 darkdancer darkdancer 17756 2007-09-03 14:43 profile.php*
    -rwxr-x--- 1 darkdancer darkdancer 6000 2007-09-03 14:43 readmsg.php*
    -rwxr-x--- 1 darkdancer darkdancer 7649 2007-09-03 14:43 readrss.php*
    -rwxr-x--- 1 darkdancer darkdancer 4773 2007-09-03 14:43 RunningTorrent.php*
    drwxr-x--- 2 darkdancer darkdancer 4096 2007-09-03 14:21 searchEngines/
    -rwxr-x--- 1 darkdancer darkdancer 3055 2007-09-03 14:43 setpriority.php*
    -rwxr-x--- 1 darkdancer darkdancer 5672 2007-09-03 14:43 settingsfunctions.php*
    -rwxr-x--- 1 darkdancer darkdancer 8939 2007-09-03 14:43 startpop.php*
    drwxr-x--- 4 darkdancer darkdancer 4096 2007-09-03 14:21 TF_BitTornado/
    drwxr-x--- 17 darkdancer darkdancer 4096 2007-09-03 14:21 themes/
    -rwxr-x--- 1 darkdancer darkdancer 17889 2007-09-03 14:43 tooltip.js*
    -rwxr-x--- 1 darkdancer darkdancer 7465 2007-09-03 14:43 torrentSearch.php*
    -rwxr-x--- 1 darkdancer darkdancer 2756 2007-09-03 14:43 viewnfo.php*
    -rwxr-x--- 1 darkdancer darkdancer 1813 2007-09-03 14:43 who.php*
    Something like that?

  9. #119
    Join Date
    Aug 2006
    Beans
    923
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How-to: Installing Torrent-Flux

    Quote Originally Posted by DarkDancer View Post
    Something like that?
    Okay, all the files are there, but the webserver doesn't have permission to read them. The bit that says "-rwxr-x---" needs to be updated:
    Code:
    cd /var/www/torrentflux/
    chmod +r * -R
    chmod 777 downloads
    The first chmod adds "read" capability to all the files, so the webserver can access them. The second "chmod" gives full permissions to the downloads directory, so that the webserver can create new files in that directory. Once done, if you do "ls -laF" again you should get files with "-rwxr--r--" listed instead, meaning that the webserver can read them.


    Note:
    An alternate way to accomplish this would be to make the webserver user, "www-data", own all the files:
    Code:
    cd /var/www/torrentflux/
    chown www-data:www-data * -R

  10. #120
    Join Date
    Dec 2005
    Beans
    387
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How-to: Installing Torrent-Flux

    Tried both, one, tested then the other. Still getting the 404 error.

Page 12 of 44 FirstFirst ... 2101112131422 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •