transmission & couchpotato

Status
Not open for further replies.

petr

Contributor
Joined
Jun 13, 2013
Messages
142
Hi,

I am on 9.1.1 and just installed transmission plugin cleanly. Then, I've shared a download folder to be one of my volumes and mounted and shared it with the jail.

The problem is following - when I add a torrent file (through CouchPotato), the folder is created inside the desired downloads folder. Then, the download starts but as soon as around 4mb mark is reached (and files are to be committed to the hdd), I get a permission error.

I've set permission to all of the folders to 777.

Looking at the download folder, it looks something like this:

Code:
[root@freenas] /mnt/second/tmp/transmission# ls -lha
total 13
drwxrwxrwx  3 1001  privileged    3B Sep  3 00:26 ./
drwxrwxrwx  8 root  wheel        10B Sep  2 23:40 ../
drwxr-xr-x  2 media  privileged    2B Sep  3 00:25 The Great Gatsby 2013 1080p BluRay x264-SPARKS.cp(tt1343092)/


And viewing from inside of the jail

Code:
root@bit_1:/root/second-transmission # ls -lha
total 23
drwxrwxrwx  3 1001  privileged    3B Sep  3 00:26 .
drwxr-xr-x  3 root  wheel          8B Sep  3 00:25 ..
drwxr-xr-x  2 media  privileged    2B Sep  3 00:25 The Great Gatsby 2013 1080p BluRay x264-SPARKS.cp(tt1343092)



The actual folder is empty. I've tried setting umask to 0 in /usr/pbi/transmission-amd64/etc/transmission/home/settings.json but no avail - still the same problem.

The kicker is, when I add the torrent manually, it all works as it should - files get created properly. Here is an example when I've added a torrent file afterwards:

Code:
root@bit_1:/root/second-transmission # ls -lha
total 25
drwxrwxrwx  4 1001          privileged    4B Sep  3 00:36 .
drwxr-xr-x  3 root          wheel          8B Sep  3 00:25 ..
drwxr-xr-x  2 media        privileged    2B Sep  3 00:25 The Great Gatsby 2013 1080p BluRay x264-SPARKS.cp(tt1343092)
drwxrwxrwx  2 transmission  privileged    3B Sep  3 00:36 The Great Gatsby 2013 720p BluRay DTS x264-EbP



What could be going wrong? Obviously the umask is working for manual entry, why does it not work when in conjuction with couchpotato?
 
D

dlavigne

Guest
Does changing ownership from "media" to "transmission" fix it?
 

petr

Contributor
Joined
Jun 13, 2013
Messages
142
Does changing ownership from "media" to "transmission" fix it?


I've fixed it "brute force" - by setting the chmod setting in CouchPotato to 777. What was happening was that CouchPotato first created the folder and then transmission started the download in there - but transmission could not work in the directory created by CP.

I now have last small trouble to resolve - CouchPotato's renamer does not seem to be picking up compressed files. When I go in and extrac files manually, they get sorted to their proper location soon. I guess a post-processing script for transmission should do the trick and then torrent integration is finished too :)
 
Status
Not open for further replies.
Top