Transmission - No data found! use "Set Location" error

Support forum for the BitTorrent client add-on.

Transmission - No data found! use "Set Location" error

Postby jamminontoast » Fri Jan 27, 2012 8:09 am

Hi all,

i have an readynas Ultra6 and NVX, i've installed Transmission(v2.43.00) on both.

It was really frustrating when Transmission kept on giving me Permission Denied errors. However looking up the posts, i have it fixed and
settings work well when it is set to the default /c/media/BitTorrent folder AND my permissions are default as per JarnoG's advice in this post.
http://www.readynas.com/forum/viewtopic.php?f=60&t=58521&p=337088&hilit=torrent+auto+download#p337088

I have now wanting to change the folder location to /c/download/BitTorrent , and change my 'media' folder permissions HOWEVER i get the following error from Transmission:
Error: No data found! Ensure your drives are connected or use "Set Location". To re-download, remove the torrent and re-add it.

i have tried the following procedures
1. Update from Tranmissions UI for folder location. Turn off and on Transmission.
- Here i get the 'Permission Denied' error. Checking the settings.json - the change didn't do anything to the folder location!
What i also notice here is that no 'temporary files' are created in the Incomplete folder as when it worked properly.

2. I thus updated the settings.json file to reflect the new location. Updated the default folder location, incomplete & source folder locations.
- Here i get the "Set Location" error. I've double checked everything and ensure there isn't a typo or mixing case letters

I would really like to change the default folder location. Please advise
jamminontoast
ReadyNAS Newbie
 
Posts: 2
Joined: Sat Dec 17, 2011 7:21 am
ReadyNAS: Ultra

Re: Transmission - No data found! use "Set Location" error

Postby JarnoG » Mon Jan 30, 2012 4:54 am

If you change the folders in settings.json, then they already have to exist with the right permissions. I'm not sure if Transmission makes the folders if you change them from the web-interface.
To do so, close Transmission, make a share names "download" and make sure that the user "nobody" has read/write permissions
Then make the relevant folders (downloaded-, incomplete- and watch-folders).
Make sure the download-share and the folders have the right permissions by repeating the process in the post you mentioned.
Finally, set the correct folders in settings.json and start Transmission.
JarnoG
ReadyNAS Expert
 
Posts: 232
Joined: Sun Apr 10, 2011 9:46 am
ReadyNAS: Ultra

Re: Transmission - No data found! use "Set Location" error

Postby AMRivlin » Thu Feb 09, 2012 12:35 am

I have no idea what is going on with this.

I keep getting "No Data Found" or "Set Location" or "Permission Denied"

/c/media/torrent is in the preferences. I also tried /c/media

I went into advanced and made nobody the owner and nogroup the group. I don't have users with those names however, is that the issue?
AMRivlin
Advanced ReadyNAS User
 
Posts: 157
Joined: Wed Jan 18, 2012 4:24 pm
Location: Vancouver, BC
ReadyNAS: Pro

Re: Transmission - No data found! use "Set Location" error

Postby JarnoG » Thu Feb 09, 2012 2:25 am

It is not an issue that you did not make that user yourself, they are internally used.

If the media share did not previously have that user and usergroup before, then you will have to check the checkbox before the option with "Set ownership and permission for existing files and folders in this share to the above settings" and press apply. Make sure that you have all the capital letters right as well, "/c/media" is different from "/c/Media"
JarnoG
ReadyNAS Expert
 
Posts: 232
Joined: Sun Apr 10, 2011 9:46 am
ReadyNAS: Ultra

Re: Transmission - No data found! use "Set Location" error

Postby AMRivlin » Thu Feb 09, 2012 12:29 pm

JarnoG, so... I think I followed your instructions, but I am still having errors. See my process and some screenshots.

1. I turned off Transmission.

2. I set permissions in Frontview
Image

3. (I then selected advanced, and ticked Set ownership and permission for existing files and folders in this share to the above settings. This option is useful in cases where you are changing security levels and need to workaround file access problems. Then pressed save)

4. I reloaded Transmission, and I get this error after about 200-500mb of downloading
Image
AMRivlin
Advanced ReadyNAS User
 
Posts: 157
Joined: Wed Jan 18, 2012 4:24 pm
Location: Vancouver, BC
ReadyNAS: Pro

Re: Transmission - No data found! use "Set Location" error

Postby Lichon » Tue Apr 24, 2012 10:42 am

Any fix for this yet ?
I am seeing both "Permission denied" and "Set Location" errors.
NAS1: ReadyNAS NV (256MB) :: X-RAID with 4x WD RE2-GP WD1000FYPS (1TB) :: RAIDiator 4.1.6 [1.00a043]
Add-ons: Enhance NV Thermal Characteristics v1.1, BitTorrent v1.3, EnableRootSSH v1.0, PHP v1.1, FtpWho v1.5, VIRTUALSHARE v1.0, ReadyNAS Remote
NAS2: ReadyNAS Pro Business (1024MB) :: X-RAID2(ext4) with 3x Seagate ST31000340NS (1TB) & 3x WD RE4-GP WD2002FYPS (2TB - F/W 04.05G05) :: RAIDiator 4.2.19
Add-ons: BitTorrent v1.3, EnableRootSSH v1.0, ReadyNAS Remote
Router: D-Link DIR-855, H/W A2, F/W v1.11EU
Lichon
Advanced ReadyNAS Expert
 
Posts: 504
Joined: Mon Aug 21, 2006 5:22 am
Location: Denmark
ReadyNAS: NV

Re: Transmission - No data found! use "Set Location" error

Postby JarnoG » Tue Apr 24, 2012 2:21 pm

Make sure you also applied the instructions I gave above to the share that contains the incomplete-folder of Transmission.
JarnoG
ReadyNAS Expert
 
Posts: 232
Joined: Sun Apr 10, 2011 9:46 am
ReadyNAS: Ultra

Re: Transmission - No data found! use "Set Location" error

Postby Lichon » Wed Apr 25, 2012 9:35 am

Changing share rights to fit an addon is NOT a solution! The old BitTorrent client could use whatever share rights you had, so Transmission needs to do so too.
Besides if I change share rights to nobody/nogroup, then I will NOT be able to administer my media share. Again, NOT a solution.

I had success when I creating the main folder and giving those nobody/nogroup rights for a few torrents, which works, but is a poor fix. For torrents that are files only, touch'ing the files and applying the same rights also works, even after they finish. I had to re-add the torrents which were giving errors, as "Verify data" does absolutely nothing once I got the "Set Location" error.
While this is essentially the same as JarnoGs fix, this only affects a few folders it is a "better" fix for me at the moment - even when work is required for each torrent added.
NAS1: ReadyNAS NV (256MB) :: X-RAID with 4x WD RE2-GP WD1000FYPS (1TB) :: RAIDiator 4.1.6 [1.00a043]
Add-ons: Enhance NV Thermal Characteristics v1.1, BitTorrent v1.3, EnableRootSSH v1.0, PHP v1.1, FtpWho v1.5, VIRTUALSHARE v1.0, ReadyNAS Remote
NAS2: ReadyNAS Pro Business (1024MB) :: X-RAID2(ext4) with 3x Seagate ST31000340NS (1TB) & 3x WD RE4-GP WD2002FYPS (2TB - F/W 04.05G05) :: RAIDiator 4.2.19
Add-ons: BitTorrent v1.3, EnableRootSSH v1.0, ReadyNAS Remote
Router: D-Link DIR-855, H/W A2, F/W v1.11EU
Lichon
Advanced ReadyNAS Expert
 
Posts: 504
Joined: Mon Aug 21, 2006 5:22 am
Location: Denmark
ReadyNAS: NV

Re: Transmission - No data found! use "Set Location" error

Postby JarnoG » Thu Apr 26, 2012 2:58 am

I agree that setting the permissions right only for the folders used by Transmission is the preferred option. However, it requires more work and I'm not sure how to do it from a Windows machine without sshing. (cifs doesn't support it properly I think and you can't change owner over ftp)

Setting the permissions for the whole share is an easy solution that has not given me any problems for the rest of the data on the share. An alternative method in between the two options would be to make a separate share for Transmission.
JarnoG
ReadyNAS Expert
 
Posts: 232
Joined: Sun Apr 10, 2011 9:46 am
ReadyNAS: Ultra

Re: Transmission - No data found! use "Set Location" error

Postby Lichon » Fri Apr 27, 2012 2:19 pm

@JarnoG: You are right, its not possible to change owner or group from windows, except on the entire share.

As I need to have bittorent client running, did I set out to fix the permission issue myself and I found a solution! However it does require you to SSH onto your ReadyNAS, give yourself root access, edit a few files and then apply your media share owner/group rights to all affected folders and files.

The following steps assume you can SSH and have root access.
  1. Stop Transmission from frontview
  2. SSH onto your ReadyNAS, and give yourself root access
  3. Navigate to
    Code: Select all
    /etc/frontview/addons/bin/TRANSMISSION
  4. Open start.sh with an editor, like vi. Replace
    Code: Select all
    --chuid nobody:nogroup
    and
    Code: Select all
    chown nobody:group
    with your own share rights. Mine were `media:users`. Save and exit
  5. I also changed `owner:group` rights for
    Code: Select all
    /c/addon-config/
    but I believe now it was not needed
  6. Now you just need to change `owner:group` rights for your download folder - default is `/media/BitTorrent/` - which you can do with frontview or a single command.
    Code: Select all
    chown -R owner:group /media/BitTorrent
  7. Start Transmission from frontview
  8. If you had any old torrents running that were showing the "Set Location", then you do need to remove those and add them again
  9. Thats it.

So far, I have had ZERO problems since doing this.
NAS1: ReadyNAS NV (256MB) :: X-RAID with 4x WD RE2-GP WD1000FYPS (1TB) :: RAIDiator 4.1.6 [1.00a043]
Add-ons: Enhance NV Thermal Characteristics v1.1, BitTorrent v1.3, EnableRootSSH v1.0, PHP v1.1, FtpWho v1.5, VIRTUALSHARE v1.0, ReadyNAS Remote
NAS2: ReadyNAS Pro Business (1024MB) :: X-RAID2(ext4) with 3x Seagate ST31000340NS (1TB) & 3x WD RE4-GP WD2002FYPS (2TB - F/W 04.05G05) :: RAIDiator 4.2.19
Add-ons: BitTorrent v1.3, EnableRootSSH v1.0, ReadyNAS Remote
Router: D-Link DIR-855, H/W A2, F/W v1.11EU
Lichon
Advanced ReadyNAS Expert
 
Posts: 504
Joined: Mon Aug 21, 2006 5:22 am
Location: Denmark
ReadyNAS: NV


Return to BitTorrent



Who is online

Users browsing this forum: No registered users and 1 guest