Jump to content

Scan All Libraries error System.UnauthorizedAccessException


Recommended Posts

Posted (edited)

Emby has been working fine before but just lately when I manually add a movie I get the following error in my logs:

2019-02-20 21:14:31.568 Error BaseItem: Error refreshing owned items for \\LOUNGE\MOVIES\Recovery ...

System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '\\LOUNGE\MOVIES\Recovery' is denied.

 

I dont have any folders named \Recovery or \Recovery\Logs

 

And the scan doesn't continue and find my new movie folder, any ideas?

 

Logs attached.

emby.txt

Edited by niczoom
Posted

Please attach the complete emby server log. Thanks.

Happy2Play
Posted

Full log attached.

 

Would appear you forgetting to hit "attach this file".

Posted

File now attached !!

 

You were right, I didn't even see the 'Attack This File' button, just assumed the file was attached once I chose the file :)

emby.txt

Posted

Hi Luke, I have now attached the log correctly, thanks.

Happy2Play
Posted

I suspect this is a hidden folder, have you enabled show hidden folders?

 

Might have to put a ".ignore" file in this folder once it is found.

Posted

Yes, in explorer I have, under the View tab, 'Hidden Items' checked. There is no folder named 'Recovery'.

Posted

Wierd thing is that when i type the address '\\Lounge\movies\Recovery' in exploer i get:

 

5c6f5bc719383_folderrecoverysmall.jpg

 

 

the error message indicates that theire is a folder anmes Recovery and i dont have permission to access it.

 

and if I type a random folder name like '\\Lounge\movies\asasasas' i get this message:

 

5c6f5c538265e_folderrandomSmall.jpg

 

This indicates their is no folder named 'asasasas' as it says 'Ceck the spelling of the name'.

 

Wonder why I cant see the folder even with 'Hidden Items' checked.

 

I gonna try and restarting window then possibly boot into safe mode and check this out.

Happy2Play
Posted

Almost sounds like it may be a system folder.  Does it appear if you uncheck "Hide protected operating system files".  I wouldn't expect this within a folder share but don't know your setup.

 

Where exactly does this share point to?

Posted

Yep, exactly what it was! I forgot all about "Hide protected operating system files", unchecked this and deleted the 'Recovery' folder. I then clicked 'Scan all libraries' and it picked up my latest movies!

 

I've no idea why this folder appeared. My 'MOVIES' share is just my E: drive where I store all my movies, which in Emby is a Media Library pointed to \\LOUNGE\MOVIES.

 

Anyway, thanks for your help.

Happy2Play
Posted

If that is the root of the that drive, that would explain it as if anything ever goes wrong with the drive I believe that would where the OS would try to recover information.

 

You should always use a folder on any drive.  But glad we figured it out.

Posted

Ok great, I didn't know that information. I'll look into moving all my movies to a 'Movie' folder at some point soon.

 

Thanks for your help.

  • 4 weeks later...
Posted

Are you still having an issue with this?

Posted

No, it only ever happened that 1 time. Since deleting that folder and creating a new Movies folder the issue hasn't recurred.

Posted

Thanks for the feedback.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...