torrents don't start in the web interface of transmission

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
Post Reply
christophe
Posts: 4
Joined: Thu Apr 09, 2009 7:35 pm

torrents don't start in the web interface of transmission

Post by christophe »

hi,

i installed transmission-1.51 on my debian server (etch).
transmission-daemon is running.
But torrents don't start in the web interface of transmission

you can find below the settings file
/home/transmission/.config/transmission-daemon/settings.json
{
"rpc-enabled": 1,
"rpc-port": 9091,
"peer-port": 51413,
"download-dir" : "\/data\/transmission\/",
"rpc-whitelist": "127.0.0.*,192.168.*.*"
}
you can see permissions in the folder /home/transmission/.config/transmission-daemon
drwxr-xr-x 2 transmission root 4096 2009-03-13 01:59 blocklists
drwxr-xr-x 2 transmission root 4096 2009-03-19 00:31 resume
-r-xrwx--- 1 transmission root 290 2009-03-29 14:17 settings.json
-rw-r--r-- 1 transmission root 140 2009-03-26 21:13 stats.json
drwxr-xr-x 2 transmission root 4096 2009-03-19 00:31 torrents

You can see permissions on the /var/www/transmission
drwxr-xr-x 3 www-data root 4096 2009-03-12 23:33 transmission

You can see permissions on the download-dir (/data/tramission)
drwxrwx--- 2 transmission users 4096 2009-03-19 21:03 transmission

I don't find where is the problem.
i sure that is not my firewall because i allow the bitorrent traffic.
and there is any dropped packets for the bitorrent traffic.

Can you help me please?
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: torrents don't start in the web interface of transmission

Post by rb07 »

christophe wrote:i installed transmission-1.51 on my debian server (etch).
transmission-daemon is running.
But torrents don't start in the web interface of transmission

you can find below the settings file
/home/transmission/.config/transmission-daemon/settings.json
{
"rpc-enabled": 1,
"rpc-port": 9091,
"peer-port": 51413,
"download-dir" : "\/data\/transmission\/",
"rpc-whitelist": "127.0.0.*,192.168.*.*"
}
you can see permissions in the folder /home/transmission/.config/transmission-daemon
drwxr-xr-x 2 transmission root 4096 2009-03-13 01:59 blocklists
drwxr-xr-x 2 transmission root 4096 2009-03-19 00:31 resume
-r-xrwx--- 1 transmission root 290 2009-03-29 14:17 settings.json
That's strange, read+execute permission for the owner, no write permission?
-rw-r--r-- 1 transmission root 140 2009-03-26 21:13 stats.json
drwxr-xr-x 2 transmission root 4096 2009-03-19 00:31 torrents

You can see permissions on the /var/www/transmission
drwxr-xr-x 3 www-data root 4096 2009-03-12 23:33 transmission

You can see permissions on the download-dir (/data/tramission)
drwxrwx--- 2 transmission users 4096 2009-03-19 21:03 transmission
Why are the dates so old? I mean all the files and directories are old... has the daemon been running for more than 10 days?
I don't find where is the problem.
i sure that is not my firewall because i allow the bitorrent traffic.
and there is any dropped packets for the bitorrent traffic.
You make thing less clear here... if you say "torrents don't start in the Web interface" to me that means that they don't show at all, so what has the firewall to do? nothing if I understand the problem.

Or you are really saying that the torrent appears on the Web interface but doesn't do any downloading?

First a question: as what user is the daemon running? Looks to be user transmission, is that correct? (check with a ps, UID is the second column).

You probably can see what the problem is by running the daemon in debug mode:

Code: Select all

sudo -u transmission /<insert correct path>/transmission-daemon -f
christophe
Posts: 4
Joined: Thu Apr 09, 2009 7:35 pm

Re: torrents don't start in the web interface of transmission

Post by christophe »

transmission-daemon is running. into the transmission-daemon file, the user is "transmission
1001 32638 0.7 1.6 14628 4260 ? Rsl 20:51 0:00 /usr/local/bin/transmission-daemon -f
1001 is transmission user.

the torrents are into the web interface but they don't start.
under the torrent, there is: "no such file or directory"

maybe, it is a problem of permissions?
christophe
Posts: 4
Joined: Thu Apr 09, 2009 7:35 pm

Re: torrents don't start in the web interface of transmission

Post by christophe »

i change the rights on the transmission home:

ps75dmz01://home# ll /home/transmission/.config/transmission-daemon
total 20
drwxrwxr-x 2 transmission root 4096 2009-03-13 01:59 blocklists
drwxrwxr-x 2 transmission root 4096 2009-03-19 00:31 resume
-rwxrwxr-x 1 transmission root 290 2009-03-29 14:17 settings.json
-rwxrwxr-x 1 transmission root 142 2009-04-09 23:41 stats.json
drwxrwxr-x 2 transmission root 4096 2009-03-19 00:31 torrents

but the problem is always the same
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: torrents don't start in the web interface of transmission

Post by rb07 »

christophe wrote:transmission-daemon is running.
Just make sure you have stopped the daemon first, otherwise changes will have no effect.
into the transmission-daemon file, the user is "transmission
1001 32638 0.7 1.6 14628 4260 ? Rsl 20:51 0:00 /usr/local/bin/transmission-daemon -f
1001 is transmission user.
What a mess! This is ps output, so its running as user transmission, but the interesting part is what the daemon is printing to the console...
the torrents are into the web interface but they don't start.
under the torrent, there is: "no such file or directory"

maybe, it is a problem of permissions?
Obviously is not finding something or doesn't have access, that's what the error message says. It probably can't create a file or subdirectory in the download directory (check permissions on /data/transmission/).

Your config directory listing still is odd , look at the dates on your other message, settings.json is 19+ days old, stats.json is 8 days old.
christophe
Posts: 4
Joined: Thu Apr 09, 2009 7:35 pm

Re: torrents don't start in the web interface of transmission

Post by christophe »

i stop transmission daemon.
i change the permissions on the folder "/data/transmission" and the transmission config folder.
i allow 777 permission on both folders
i start transmission daemon.
the problem is always the same.
i don't understand?
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: torrents don't start in the web interface of transmission

Post by rb07 »

Just look carefully in the output the daemon is sending to the console (when you run it with the -f option), the problem detail should come in the first 20 to 25 lines.

Don't start the daemon with a script (the init.d script), run it yourself on a terminal using the normal user, something like:

Code: Select all

sudo -u transmission transmission-daemon -f
Post Reply