Jump to content

Missing Images


Recommended Posts

Posted

Hi,  switched my Emby environment from Xpenology to Docker/Unraid which worked perfectly fine until recently i didnt see any images anymore. I tried to delete the whole metadata folder plus all the nfo files and let emby recreate everything, but still nothing. Idk why, but the nfo files have been recreated but are completly empty and the metadate/library folder has a .bif file for every movie/episode.

This never happened before and i didnt change anything recently which could have caused that.

Even when i identify a movie and tell emby to replace all existing pictures with those the identifier finds for that movie, nothing happens

 

grafik.thumb.png.eb5520f38fb1486745ecf1307bde26d8.png

mastrmind11
Posted

i bet if you looked at your logs it would tell you why.  most likely a permission issue.  delete your current log, try an identify, and post them here if you can't figure it out.

Posted
57 minutes ago, mastrmind11 said:

i bet if you looked at your logs it would tell you why.  most likely a permission issue.  delete your current log, try an identify, and post them here if you can't figure it out.

Thanks for the reply. I knew, it was a permission problem somewhere, but i have no clue where.

Quote

2020-08-11 20:31:36.864 Info App: [LinuxMount] Checking we can attempt to mount [/Filme/Alles steht Kopf.mkv], Extension = [.mkv], Operating System = [Linux], Executables Available = [False].
2020-08-11 20:31:36.864 Info App: [LinuxMount] Checking we can attempt to mount [/Filme/Alles steht Kopf.mkv], Extension = [.mkv], Operating System = [Linux], Executables Available = [False].
2020-08-11 20:31:36.865 Info App: ProcessRun 'extract-image' Execute: /app/emby/ffmpeg -ss 00:09:28.982  -f matroska -i file:"/Filme/Alles steht Kopf.mkv" -an -sn -threads 0 -vframes 1 -vf "scale=600:trunc(ow/a/2)*2,thumbnail=24" -f image2 "/config/cache/temp/6c751f20-2f53-4f2d-be8a-d7f02112e880.jpg"
2020-08-11 20:31:37.265 Info App: ProcessRun 'extract-image' Process exited with code 0
2020-08-11 20:31:37.501 Error App: Error in Screen Grabber
	*** Error Report ***
	Version: 4.4.3.0
	Command line: /app/emby/EmbyServer.dll -programdata /config -ffdetect /app/emby/ffdetect -ffmpeg /app/emby/ffmpeg -ffprobe /app/emby/ffprobe -restartexitcode 3
	Operating system: Unix 5.7.8.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///app/emby/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 12
	Program data path: /config
	Application directory: /app/emby
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/Filme/metadata/library/98/98eb4c5e0ef836b2ccc1bde84e35bdba/poster.jpg' is denied.
	 ---> System.IO.IOException: Permission denied
	   --- End of inner exception stack trace ---
	   at System.IO.FileStream.WriteNative(ReadOnlySpan`1 source)
	   at System.IO.FileStream.WriteSpan(ReadOnlySpan`1 source)
	   at System.IO.FileStream.<>c.<WriteAsyncInternal>b__110_0(Task t, Object s)
	   at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
	   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
	--- End of stack trace from previous location where exception was thrown ---
	   at MediaBrowser.Providers.Manager.ImageSaver.SaveImageToLocation(Stream source, String path, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ImageSaver.SaveImageToLocation(Stream source, String path, String retryPath, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ImageSaver.SaveImage(BaseItem item, LibraryOptions libraryOptions, Stream source, ReadOnlyMemory`1 mimeType, ImageType type, Nullable`1 imageIndex, Nullable`1 saveLocallyWithMedia, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ItemImageProvider.RefreshFromProvider(BaseItem item, IDynamicImageProvider provider, Boolean providerReportsChanges, ImageRefreshOptions refreshOptions, TypeOptions savedOptions, LibraryOptions libraryOptions, List`1 downloadedImages, RefreshResult result, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Void WriteNative(System.ReadOnlySpan`1[System.Byte])
	InnerException: System.IO.IOException: Permission denied
	Source: 
	TargetSite: 
	
2020-08-11 20:31:37.552 Error ProviderManager: Error in metadata saver
	*** Error Report ***
	Version: 4.4.3.0
	Command line: /app/emby/EmbyServer.dll -programdata /config -ffdetect /app/emby/ffdetect -ffmpeg /app/emby/ffmpeg -ffprobe /app/emby/ffprobe -restartexitcode 3
	Operating system: Unix 5.7.8.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///app/emby/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 12
	Program data path: /config
	Application directory: /app/emby
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/Filme/Alles steht Kopf.nfo' is denied.
	 ---> System.IO.IOException: Permission denied
	   --- End of inner exception stack trace ---
	   at System.IO.FileStream.WriteNative(ReadOnlySpan`1 source)
	   at System.IO.FileStream.WriteSpan(ReadOnlySpan`1 source)
	   at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
	   at System.IO.MemoryStream.CopyTo(Stream destination, Int32 bufferSize)
	   at System.IO.Stream.CopyTo(Stream destination)
	   at NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path)
	   at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, LibraryOptions libraryOptions, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Void WriteNative(System.ReadOnlySpan`1[System.Byte])
	InnerException: System.IO.IOException: Permission denied
	Source: 
	TargetSite: 

Thats an example of the log. It clearly says "Permission denied" but i checked the permission for the file, the folder the file is in and everything but it should be all correct.

 

My Setup might be the cause, but i dont know why it recently did work and now it doesnt anymore.

To be more precise, i have my Movies library on a xpenology nas and have a smb share which i mount on unraid, there i use a docker container which runs emby. Everything should work. The permissions on my Unraid server for that share is correct, aswell as the permissions for the user thats accessing the share.

mastrmind11
Posted (edited)
4 minutes ago, Joly0 said:

Thanks for the reply. I knew, it was a permission problem somewhere, but i have no clue where.

Thats an example of the log. It clearly says "Permission denied" but i checked the permission for the file, the folder the file is in and everything but it should be all correct.

 

My Setup might be the cause, but i dont know why it recently did work and now it doesnt anymore.

To be more precise, i have my Movies library on a xpenology nas and have a smb share which i mount on unraid, there i use a docker container which runs emby. Everything should work. The permissions on my Unraid server for that share is correct, aswell as the permissions for the user thats accessing the share.

ok, so, who owns the folder(s) you're trying to write to?  what group?  what user is emby running as?  is emby part of the group that has write access to the folder(s) you're trying to write to?  ls -l from the top directory your getting permission denied and let's go from there.

 

specifically, what is the ownership of 

/Filme

ls -l that one to start.

Edited by mastrmind11
Posted

Ok, so the user is called abc and the group is called users, thats the default user set by the docker image makers. The same user is running emby. Dont know exactly how to check, if emby is part of the group, but i would say so. The user abc has access and full permissions to every single file and folder in the movies folder.

Posted

I would just try it again now in emby and see if it is able to save files.

Posted

Ok, i found out, that the smb share is bugged since a recent update of unraid. I switched to a nfs share and it works perfectly.

  • Like 1
Posted
21 minutes ago, Joly0 said:

Ok, i found out, that the smb share is bugged since a recent update of unraid. I switched to a nfs share and it works perfectly.

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