Jump to content

Library Won't Scan for New Movies


Recommended Posts

greedyfly46and2
Posted

Whether I manually start a library scan for new files or the auto scan, the new movie files that I added won't show up. Usually a percentage wheel would appear on the library I'm trying to scan, but nothing happens. However, for my TV shows library, the scan still works and will find new files. I've also tried scanning for new library files across all my libraries and it seems to skip movies. I tried doing a complete uninstall and reinstall, and the initial library scan for movies worked and it found all my movies, but it's now back to not scanning for new files.

I'm running Emby 4.4.3.0 on Windows 10 Pro. I've attached the logs with debugging enabled.

embyserver.txt

Posted (edited)

Hi,

Your log file is showing errors such as:

Access to the path 'E:\ServerFolders\Videos\Movies\H' is denied.

Please check to make sure it's online and if so you need to check permissions to make sure the Emby user on your OS has access with at least read access.

Edited by cayars
greedyfly46and2
Posted (edited)

Thanks cayars. I see that now, I have the permissions set to everyone all access, but it still shows locked. I just created a new folder and moved everything out of that H folder and deleted it. It looks like it's scanning successfully now. There's at least a percentage progress bar now where there wasn't one before.

edit: Scan just finished and the new files I added showed up. Again, thanks for you help.

Edited by greedyfly46and2
Update
Posted

Nice, glad you got it working.  Don't be afraid to look at the logs.  You'll see sections that stand out clearly as errors.  Once you spot them in the there some place is a reason.

Here's a couple of examples from your log file:

*** Error Report ***
    Version: 4.4.3.0
    Command line: C:\Users\gtgri\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Runtime: file:///C:/Users/gtgri/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    System.Environment.Version: 3.1.4
    Processor count: 2
    Program data path: C:\Users\gtgri\AppData\Roaming\Emby-Server\programdata
    Application directory: C:\Users\gtgri\AppData\Roaming\Emby-Server\system
    System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path 'E:\ServerFolders\Videos\Movies\H' is denied.
       at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
       at System.IO.Enumeration.FileSystemEnumerator`1.Init()
       at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
       at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
       at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
       at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
       at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
    Source: System.IO.FileSystem
    TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)

*** Error Report ***
    Version: 4.4.3.0
    Command line: C:\Users\gtgri\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Runtime: file:///C:/Users/gtgri/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    System.Environment.Version: 3.1.4
    Processor count: 2
    Program data path: C:\Users\gtgri\AppData\Roaming\Emby-Server\programdata
    Application directory: C:\Users\gtgri\AppData\Roaming\Emby-Server\system
    System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path 'E:\ServerFolders\Videos\Movies\H\A History of Violence (2005)' is denied.
       at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
       at System.IO.Enumeration.FileSystemEnumerator`1.Init()
       at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
       at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
       at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
       at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
       at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
       at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
    Source: System.IO.FileSystem
    TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)

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...