Torrentflux – Download Failed Straight Away

I’ve installed torrentflux on my linux server at home and it was all running fine until it seems that I decided I knew what was best and started messing with things. I had changed the owner of the users folder from www-data to my local login name.

The problems that this caused were that every time I added a new torrent to be downloaded it would fail instantly. Creating a new user solved this problem as obviously a new user was created with the correct owner and permissions in the user folder but me thinking that I had solved this issue then proceeded to change the owner of that folder too leading to the same problem. Took me a very long time to work out that due to changing the permissions from the default apache user to my own user was stopping the apache run torrentflux from writing data to my user folders.

Things to be learnt from this are that changing the owner permissions of folders is always going to end badly. Secondly, if you’re having the same problem as me then just remember to check the permissions and owner of your torrentflux user folders.

(No copyright material was harmed in the making of the post.)

6 Comments

  1. Hey Buddy, thx so far, that describes exactly my problem!
    But i am not able to solve this so far. May you explain what do you mean when you’re talkin ’bout “Users”? Apache-Users? OS-Users? Fluxtorrent-Users?

    Maybe you could just mail me a short howto?
    That would be very very nice!

    Thx so far!

    J.R.

    • Basically you have to double check the permissions of the downloads folder are correct and that the apache user (or whatever user owns your web root) is the same.

      You can check the users and folder permissions with ls -larth on the folder. Try modifying the permissions to 755 (chmod -R 755 (your folder)) to see if that fixes it.

  2. I also have this problem…
    My already running downloads were ok, but then I added a new torrent, and this refused to start with message “Download Failed!”.
    I did not change any thing…
    Maybe an update of the debian stuff changed something.
    But why were the still running downloads / seeds OK?
    Now, I rebooted the machine and any (already complete) torrent says Download failed.
    All my torrents and download folders belong to the apache user (www-data), and the bittorrent folder has 777 permission…
    I am confused…

    • Definitely sounds like a permissions issue. Try adding a new user through the torrentflux system and see if torrents work through that user.
      If that works then remake the original account.

  3. Done a little reverse engineering of the index.php file and debugged my problem…
    The cause of my problem was, that I had a space, or nothing in the admin page at the download speed input field instead of a 0, and that made the bittornado complain that ” is invalid, instead of doing its job…
    So always put a number or anything else into the input fields on the settings page!

Questions? Comments?

© 2017 Acodemics

Theme by Anders NorénUp ↑