Couldn't Import Episode

Alright Guys,

I’ve recently switched over to NZBDrone from Sickbeard and what a breath of fresh air it has been!
Setup was harder but Drone just seems to consistently download where sickbeard has been failing me!

So I’ve done a load of backlog … NZBDrone has sorted it all out and now I’m into a few files it can’t move … I’ve no idea why!

Drone is running on windows 8 as a service, as admin
The paths are all UNC to my zyxel NAS
the NAS folder is set as public with full permissions for everyone

However I’m getting this error for a few shows

Message
{"RefId":"590e5e84","Ver":"1.0.0.0","Errors":null}
Message
Couldn't import episode \\\AS\\public\zbDrone\\Marvel.Agents.Of.SHIELD.S01E15.Yes.Men.720p.WEB-DL.DD5.1.H.264-ECI.mkv: Access to the path '\\\AS\\public\zbDrone\\Marvel.Agents.Of.SHIELD.S01E15.Yes.Men.720p.WEB-DL.DD5.1.H.264-ECI.mkv' is denied.

Exception
System.UnauthorizedAccessException: Access to the path '\\\AS\\public\zbDrone\\Marvel.Agents.Of.SHIELD.S01E15.Yes.Men.720p.WEB-DL.DD5.1.H.264-ECI.mkv' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes)
   at NzbDrone.Common.Disk.DiskProviderBase.RemoveReadOnly(String path) in m:\\BuildAgent1\\work\\328d72309b633a8\\src\zbDrone.Common\\Disk\\DiskProviderBase.cs:line 373
   at NzbDrone.Common.Disk.DiskProviderBase.MoveFile(String source, String destination) in m:\\BuildAgent1\\work\\328d72309b633a8\\src\zbDrone.Common\\Disk\\DiskProviderBase.cs:line 269
   at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveFile(EpisodeFile episodeFile, Series series, String destinationFilename) in m:\\BuildAgent1\\work\\328d72309b633a8\\src\zbDrone.Core\\MediaFiles\\EpisodeFileMovingService.cs:line 102
   at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode) in m:\\BuildAgent1\\work\\328d72309b633a8\\src\zbDrone.Core\\MediaFiles\\EpisodeFileMovingService.cs:line 59
   at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode) in m:\\BuildAgent1\\work\\328d72309b633a8\\src\zbDrone.Core\\MediaFiles\\UpgradeMediaFileService.cs:line 57
   at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import(List`1 decisions, Boolean newDownload) in m:\\BuildAgent1\\work\\328d72309b633a8\\src\zbDrone.Core\\MediaFiles\\EpisodeImport\\ImportApprovedEpisodes.cs:line 82

Any help to stop it happening again would be superb

Welcome, would love to hear why setup was more difficult with drone so we can make it easier.

Looks like permissions, drone needs write access to \AS\\public\zbDrone\\. If you have permissions set on your share you may have to change the account drone runs under, by default the service runs as the SYSTEM account.

I’ve got to setup on another PCshortly so will note things as i come across them

Actually its not running as a service …
The permissions on the NAS are already set for public, and it was working earlier today, i have looked in the logs and it was happily sorting out stuff that was downloaded

I haven’t rebooted, i haven’t changed anything to the best of my knowledge its just stopped processing them

So … Moved my Drone Factory folder to a local drive and away it went …

I’m currently very confused!

Public for read and write? The error popped up when trying to clear a read only flag from the file, which usually means it’s easy only or there are permissions issues.

I FTPd in and set it to 775

NZBGet is also failing to write to that share now (both worked fine earlier)

Move factory directory and all NZBGet folders to a local drive and it’s running no bother

Funny thing is Drone still moves the video files and creates the XBMC files on the same NAS… Different folder but permissions are all the same!

So I go into the wanted list … Its show series for the last few days as not on disk

When I do a manual search for them all the NZBs are marked as

Release Rejected
Cutoff has already been met
Existing file on disk is of equal or higher quality

Is this down to my permissions errors getting worse!?

Scrub that … Drone is smarter than i am!!

It picked up on the fact the title and the episode didn’t match!