Torrent client on XBMC Live
#1
Hi guys,

I have a Revo 3700 with XBMC Live installed on it.

I tried to follow Icey's guide (http://forum.xbmc.org/showthread.php?tid=61574) on setting up Transmission for downloading via torrent onto my Revo HDD.

I get it installed, and I have accessed the WebGUI from my PC, however when I start a torrent I get a "permission denied" message, and despite following various instructions to give appropriate permissions to the relevant folder in my 'home' directory I'm not having any luck.

Sooooooooo... I have no particulat affinity to Transmission, and was trying that as that was the only guide I could find. What I was hoping was that someone has managed to install a Torrent client on the same machine as their XBMC Live install, and would be able to advise of how this is best achieved.
Reply
#2
Bad form to bump, but can no one help?
Reply
#3
IMO Transmission is a great torrent client, it's powerful and flexible but also very easy to use and provides a good web UI. It's very commonly used for this kind of set up (lots of people to ask when things go wrong) so I would stick with it if I were you.

It looks like you have a permission problem on your target download directory. It's possible that the chmod/chgrp part of the guide wasn't performed correctly. Can you switch to a new console session using Ctrl-Alt-F2, log in then perform the following:

Code:
ll /home/xbmc/Videos

Then copy the line of output that shows the Downloads directory here?
Reply
#4
Hi, thanks so much for replying, please see below, I hope this shows the items it needs to. The last two lines are interesting, but not sure what it means or how to fix!

Thanks again

Quote:total 11567036
drwxrwxrwx 3 xbmc debian-transmission 4096 2011-05-08 12:28 ./
drwxrwxr-x 14 xbmc xbmc 4096 2011-05-13 07:58 ../
drwxrwxrwx 2 xbmc debian-transmission 4096 2011-05-08 12:28 Downloads/
-rw-r----- 1 xbmc debian-transmission 732182528 2011-05-02 17:04 eat.pray.lov e-vip3r.avi

xbmc@XBMCLive:~$ sudo /etc/init.d/transmission-daemon start^C
xbmc@XBMCLive:~$ drwxrwxrwx 2 xbmc debian-transmission 4096 2011-05-08 12:28 Downloads/
-bash: drwxrwxrwx: command not found
xbmc@XBMCLive:~$ -rw-r----- 1 xbmc debian-transmission 732182528 2011-05-02 17:04 eat.pray.lov e-vip3r.avi
-bash: -rw-r-----: command not found
Reply
#5
Hmm, Downloads directory appears to have the correct permissions set. Not sure what your problem is.

I'd check that the settings.json is being read correctly. Stop the daemon, check /etc/transmission-daemon/settings.json (make sure paths are correct) then start the daemon again.

It's also possible that the daemon was running as the wrong user. When the daemon is running, what output do you get from these commands?

Code:
ps aux | grep transmission
ps --user debian-transmission

By the way, because of the scripts that are bundled with the transmission package for Ubuntu, you can start and stop the daemon using the service command like:

Code:
sudo service transmission-daemon stop
sudo service transmission-daemon start

This ensures the daemon is always run correctly, as the right user.

Have you changed any of the other settings? e.g. are you using the 'incomplete' dir?
Reply
#6
You might want to also check that your installation hasn't got messed up with some file or directory having the wrong owner. Try the following:

Code:
sudo apt-get install tree
sudo tree -up /var/lib/transmission-daemon

And paste the output here
Reply
#7
My config settings.json ...path /etc/transmission-daemon/settings.json :
Quote:{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/home/your name in ubuntu/Downloads",
"download-limit": 100,
"download-limit-enabled": 0,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/your name in ubuntu/Downloads",
"incomplete-dir-enabled": false,
"lazy-bitfield-enabled": true,
"lpd-enabled": false,
"max-peers-global": 200,
"message-level": 2,
"open-file-limit": 32,
"peer-congestion-algorithm": "",
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 49333,
"peer-port-random-high": 65535,
"peer-port-random-low": 39555,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": false,
"preallocation": 1,
"prefetch-enabled": 1,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "your password",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "your login",
"rpc-whitelist": "*.*.*.*",
"rpc-whitelist-enabled": false,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14
}
transmission v 2.2.2 work OK
words in bold change at your own
path to the folder from the torrent (movies, etc) are giving the right executable and write:
Terminal or Putty:
sudo chmod 777-R / home / your name in ubuntu / Downloads
sudo chmod g+rw /home/your name in ubuntu/Downloads
sudo reboot
This should help
Reply
#8
Thanks so much for trying to help out guys, my settings are:

ps aux | grep transmission:
Quote:108 1646 0.1 0.1 34164 2372 ? Ssl 16:54 0:00 /usr/bin/transmission-daemon --config-dir /var/lib/transmission-daemon/info
xbmc 1654 0.0 0.0 3324 800 pts/0 S+ 16:54 0:00 grep --color=auto transmission

ps --user debian-transmission
Quote: PID TTY TIME CMD
1813 ? 00:00:00 transmission-da

Settings:
sudo nano /etc/transmission-daemon/settings.json
Quote:{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"dht-enabled": true,
"download-dir": "/home/xbmc/Videos/Downloads",
"download-limit": 100,
"download-limit-enabled": 0,
"encryption": 1,
"incomplete-dir": "/home/xbmc/Videos/Downloads",
"incomplete-dir-enabled": false,
"lazy-bitfield-enabled": true,
"max-peers-global": 200,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": 0,
"pex-enabled": true,
"port-forwarding-enabled": false,
"preallocation": 1,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 2.0000,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "XXX",
"rpc-port": 9091,
"rpc-username": "xbmc",
"rpc-whitelist": "*.*.*.*",
"rpc-whitelist-enabled": true,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"umask": 18,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14,
"watch-dir": "/home/xbmc/Videos",
"watch-dir-enabled": true
}

That seems pretty consistent with kobrawerde?

PS - kobrawerde "sudo chmod 777-R /home/xbmc/Videos/Downloads" returned "invalid mode: 777-R" for me (I think I may have too few/too many spaces, though can't be sure!)

I do note above that although I have entered my normal (alphanumeric) password in the password section it replaces it with a code i.e:
Quote:{2468f9213478325be295cbdc4a1a847a48581984rZFJO0VO
Not sure if that is an issue.

I am seemingly using the incomplete directory too, but not sure if that is an issue.

Hopefully someone will spot something I've done wrong!
Reply
#9
It works! It works!

No idea which bit fixed it, but doing the items listed above have made it work now. Thank you guys soooo much, am really grateful!

kobrawerde and japher rock!
Reply

Logout Mark Read Team Forum Stats Members Help
Torrent client on XBMC Live0