Raspberry pi + transmission

help? my default root accout username is pi…help me set this up please.

System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00000] in :0
at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, Boolean overwrite) [0x00000] in :0
at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileVerified (System.String sourcePath, System.String targetPath, Int64 originalSize) [0x00000] in :0

ok i got it working, if i just go and copy it via the activity thing manually. but is there a way i can fix this. so it does it automatially? :frowning:

System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x0013a] in /usr/bin/mono/mcs/class/corlib/System.IO/File.cs:319
at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, Boolean overwrite) [0x000e3] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskProviderBase.cs:209
at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileVerified (System.String sourcePath, System.String targetPath, Int64 originalSize) [0x00000] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskTransferService.cs:555

Not a lot to go on with just snippets of logs, but it looks like a problem with permissions for the user running Sonarr, either on the source or the destination.

We’ll need more information if you want us to look further, though if it’s permissions you’ll need to solve it.

Sonarr version (exact version):
Mono version (if Sonarr is not running on Windows):
OS:
((Debug logs)):
(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here)
Description of issue:

Mono 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
sonarr 2.0.0.4389
OS: Raspbian
Log:
https://drive.google.com/file/d/0B3RuAtNSxxvGcFFoOFZCNjd2Vnc/view?usp=sharing

Well Only issue It will not move or copy them automatically to the set folder from the download folder. It only works if i go into activity and set each file manually to copy and then it’ll work.

Can you give me the permissions codes for my raspberry pi so i can chmod them to whatever they need to be.

The import process (the move at least) is the same for both these. The logs aren’t debug so I can’t see the destination but either the issue is the user running Sonarr doesn’t have write access to /media/usbdrive/Torrent/Completed/New.Girl.S06E04.WEB-DL.x264-RARBG/New.Girl.S06E04.WEB-DL.x264-RARBG.mp4 or the destination.

No, you’ll have to determine that for your setup.

/media/usbdrive/Torrent/Completed/New Girl/Season 6/New Girl - 2016-10-18 - Jaipur Aviv WEBDL-480p.mp4 That shouldn’t be named with the date, is the series set to daily instead of standard? It also looks like like unsorted and sorted files are in the same folder /media/usbdrive/Torrent/Completed those should be separated to prevent conflicts.

I have fixed this! for those having issues with permissions on linux follow this:

sudo chmod 770 -R /your desitnation for the completed torrents or files/

The next code you use your own group and admin in my case both my group and admin are pi so its user:group in that order
sudo chown -R pi:pi /your desitnation for the completed torrents or files/

Then you go into sonarr and go into settings then at the bottom of media management turn off Use Hardlinks instead of Copy then go down to permissions and set it as followed:
Set Permissions: yes
File chmod mask : 0664
Folder chmod mask: 2775
chown User: your user
chown group: your group

and save…hopefully helps someone

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.