Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNC paths not working #179

Closed
mattg1000 opened this issue Jan 12, 2017 · 1 comment
Closed

UNC paths not working #179

mattg1000 opened this issue Jan 12, 2017 · 1 comment

Comments

@mattg1000
Copy link

When I try to add a UNC path to import existing movies on disk, I get an error that says Path does not exist.

image

The same path works on Sonarr on the same box.

image

This is the text in the log:

17-1-11 18:14:53.4|Fatal|NzbDroneErrorPipeline|Request Failed

[v0.1.0.34618] System.ArgumentException: The UNC path should be of the form \\server\share.
   at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.FileInfo.Init(String fileName, Boolean checkHost)
   at System.IO.FileInfo..ctor(String fileName)
   at NzbDrone.Common.Extensions.PathExtensions.CleanFilePath(String path)
   at NzbDrone.Common.Extensions.PathExtensions.PathEquals(String firstPath, String secondPath, Nullable`1 comparison)
   at NzbDrone.Core.Validation.Paths.DroneFactoryValidator.IsValid(PropertyValidatorContext context)
   at FluentValidation.Validators.PropertyValidator.Validate(PropertyValidatorContext context)
   at FluentValidation.Internal.PropertyRule.InvokePropertyValidator(ValidationContext context, IPropertyValidator validator, String propertyName)
   at FluentValidation.Internal.PropertyRule.<Validate>d__60.MoveNext()
   at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at FluentValidation.AbstractValidator`1.Validate(ValidationContext`1 context)
   at FluentValidation.AbstractValidator`1.Validate(T instance)
   at NzbDrone.Api.REST.RestModule`1.ReadResourceFromRequest(Boolean skipValidate)
   at NzbDrone.Api.REST.RestModule`1.<set_CreateResource>m__5(Object options)
   at CallSite.Target(Closure , CallSite , Func`2 , Object )
   at Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context)

17-1-11 18:15:08.9|Warn|NzbDroneErrorPipeline|Invalid request Validation failed: 
 -- Path does not exist
@mattg1000
Copy link
Author

I figured it out. Had to run the Radarr service as the account that has login creds to the UNC path. Carry on...

ta264 pushed a commit that referenced this issue Dec 10, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant