Jump to content

No compatible streams after replacing hard drive


Go to solution Solved by Luke,

Recommended Posts

Posted

I was running out of hard drive space so i copied all files on one drive to a larger drive.  I've edited /etc/fstab to mount the new UUID to the same previous folder location hoping that would align everything.  The poster image still shows up in my library but when i click to play i get a message that says "No compatible streams found". I tried adding a 2nd library for the same folder location hoping a fresh scan would clear it up, but now i just get kicked out when trying to start the movie, no message any longer.

I've attached my most recent log.embyserver.txt

  • Solution
Posted

Hi, did you notice this:

2023-01-21 22:01:00.599 Error Server: Error processing request
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 5.15.0-58-generic (buildd@lcy02-amd64-033) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #64~20.04.
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/home/share/movies/Three Amigos/Three Amigos/Three.Amigos.1986.mp4' is denied.

Looks like the server is being denied access to your files. If you can resolve that, then that will likely resolve your issue.

Please let us know if this helps. Thanks.

Posted
5 hours ago, Luke said:

Hi, did you notice this:

2023-01-21 22:01:00.599 Error Server: Error processing request
	*** Error Report ***
	Version: 4.7.11.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 5.15.0-58-generic (buildd@lcy02-amd64-033) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #64~20.04.
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/home/share/movies/Three Amigos/Three Amigos/Three.Amigos.1986.mp4' is denied.

Looks like the server is being denied access to your files. If you can resolve that, then that will likely resolve your issue.

Please let us know if this helps. Thanks.

After more review and clicking around last night I noticed that I didn't create a partition table on that drive so it was on /sdc rather than /sdc1, /sdc2, etc... like all of the other drives. When I copied videos from my second drive i made sure to format then create a partition table (using creating /sdd1). After copying all of the data over that drive/library works just fine.  I was hoping it would be the same for my first library/drive so i reformatted the drive at ext4 and made a partition that takes up the whole drive so that my data would be on /sdc1 this time. This seemed to make sense so i moved forward with this plan overnight.

I just finished copying over the data and mounting the drive in /etc/fstab by UUID just like I did with the other library that worked.  The drive mounts and i can see the data on the drive via nautaulis and even play it with VLC.  Here's the weird part. Now trying to re-scan the library it's completely empty and won't show the files.  I've even added a new library to the same mounted drive and scan it doesn't find anything. I've looked at the files in this folder and they have 644 or higher permission with my username (not root) as owner and group. This also aligns with the library that works.

I've attached the updated log file to see if there is any help to be found there.

embyserver(1).txt

Posted

Shortly after my previous post I did more digging in the log file to find more errors like Luke pointed out above.  I found this:

*** Error Report ***
	Version: 4.7.11.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 5.15.0-58-generic (buildd@lcy02-amd64-033) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #64~20.04.
	Framework: .NET 6.0.8
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/home/share/movies/Ticket to Paradise' is denied.
	 ---> System.IO.IOException: Permission denied
	   --- End of inner exception stack trace ---
	   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 System.IO.DirectoryInfo.EnumerateFileSystemInfos(String searchPattern, SearchOption searchOption)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
	   at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
	   at Emby.Server.Implementations.Library.Resolvers.Movies.MovieResolver.ResolveVideos[T](IEnumerable`1 fileSystemEntries, Folder parent, IDirectoryService directoryService, Boolean supportMultiEditions, LibraryOptions libraryOptions, Boolean parseName, Boolean enforceIgnore, Boolean checkSubFolders)
	   at Emby.Server.Implementations.Library.Resolvers.Movies.MovieResolver.ResolveMultiple(Folder parent, List`1 files, LibraryOptions libraryOptions, IDirectoryService directoryService)
	   at Emby.Server.Implementations.Library.LibraryManager.ResolvePaths(FileSystemMetadata[] files, IDirectoryService directoryService, Folder parent, LibraryOptions libraryOptions)
	   at MediaBrowser.Controller.Entities.Folder.GetNonCachedChildren(IDirectoryService directoryService, LibraryOptions libraryOptions)
	   at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, CancellationToken cancellationToken, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService)
	   at Emby.Providers.Manager.ProviderManager.RefreshCollectionFolderChildren(MetadataRefreshOptions options, CollectionFolder collectionFolder, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean)
	InnerException: System.IO.IOException: Permission denied
	Source: 
	TargetSite: 

So i fixed that to 755, then lost + found threw an error on the next update. I said screw it and ran:

sudo chmod -R 755 /home/share/movies/

on the entire directory. Then boom all 3 of my recently added libraries pointing to this folder suddenly started updating. I quickly removed the 2 additional leaving my original. Now it seems to be working.

I found some similar errors in other directories as well, but those directories have never stopped updating like this one did today.

Posted

Thanks for the update. Has this cleared up all of those errors now?

Posted
8 hours ago, Luke said:

Thanks for the update. Has this cleared up all of those errors now?

Yes, i believe they're resolved now. Thank you Luke. 

  • Thanks 1

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