Jump to content

Help plz guys can not fully load library's


Recommended Posts

Posted

Hey, so I'm really stuck so please ask me for any information required.

New server install, emby restored from a different server, Rclone mount works fine it seems.

Problem is emby only loads so much of the library then you get an error says something like "error can not load library please make sure your connected to a network" or something like that. It seems to be a new thing as it was working last week. Its like it times out loading up the library never happened before.

 

Thank u

mastrmind11
Posted

post logs from the library scan.

Posted (edited)

hey mate,

 

here you go thank u

 

Edited by judgey
mastrmind11
Posted
11 minutes ago, judgey said:

hey mate,

 

here you go thank u

embyserver.txt 1.86 MB · 1 download

go through the log file.  there are permission issues on some but not all your stuff.  

Posted

Hey again, i think i fixed that problem can you see anything else, as that error message come up again but nothing "wrong" was happening

 

thank u

Posted

It's hard to answer that but ideally once you resolve the permissions problems, those errors should stop.

Posted (edited)

sorry i was meant to post the new log my bad here it is...

 

 

 

Edited by judgey
Posted (edited)

Also got a different problem ill post here but if u want me to make a new post i will...

 

I keep getting fanart even tho the plugin has been uninstalled, i restarted emby and the server but im still get fanart. Is that the way its meant to be?

 

Thanks

 

EDIT - Even when u click identify you pick the right film but it just goes back to what it was

Edited by judgey
Posted
2 hours ago, judgey said:

Also got a different problem ill post here but if u want me to make a new post i will...

 

I keep getting fanart even tho the plugin has been uninstalled, i restarted emby and the server but im still get fanart. Is that the way its meant to be?

 

Thanks

 

EDIT - Even when u click identify you pick the right film but it just goes back to what it was

Please go over a specific example and attach the corresponding emby server log from when the problem was experienced. thanks.

Happy2Play
Posted
3 hours ago, judgey said:

I keep getting fanart even tho the plugin has been uninstalled, i restarted emby and the server but im still get fanart. Is that the way its meant to be?

Fanart/Backdrop can come from any provider.  So if you do not want them you need to set them to 0 in Fetcher Setting per library.

Posted (edited)

Hey guys, if i change it to 0 will that stop all images?

 

here is a video of what i mean.... its not just that film its just random films i add

 

Edited by judgey
Posted (edited)

Its mad because it only started happening when i moved the order of "movie image fetchers" settings, i moved fanart to top then changed my mind and moved it back to how it was, then the problems started. On my other server everything is fine as i not touched them settings.

 

here is log 

 

thank u

 

Edited by judgey
Happy2Play
Posted

Don't see any reference to Edge of the World in that log, but it does show a permissions error.  Would guess that movie is in the same location.

2021-06-06 00:22:50.696 Error ProviderManager: Error in metadata saver
	*** Error Report ***
	Version: 4.6.2.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.4.0-74-generic (buildd@lgw01-amd64-038) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021
	Framework: .NET Core 3.1.13
	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/judgey/rclone/gmedia/new films/Minamata (2020)/Minamata (2020) WEBDL-1080p.nfo' is denied.
	 ---> System.IO.IOException: Permission denied
	   --- End of inner exception stack trace ---
	   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
	   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Int32 bufferSize, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Boolean isAsync)
	   at NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, LibraryOptions libraryOptions, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo])
	InnerException: System.IO.IOException: Permission denied
	Source: 
	TargetSite: 

2021-06-06 00:25:59.591 Error ProviderManager: UnauthorizedAccessException: Emby Server is being write access to /home/judgey/rclone/gmedia/new films/Minamata (2020)/poster.jpg. Please check your file permissions.
2021-06-06 00:25:59.591 Debug ProviderManager: Saving image to /var/lib/emby/metadata/library/09/09dead266b63e6cf02cb77101fdeb512/poster.jpg

 

  • Like 1
Posted

Thanks for pointing that out mate, Its something to do with radarr permission issues i think, i think its importing the films with wrong permissions (this is a new setup) but 100% its not in that folder tho :( Anything else i can try?

 

Thanks loads mate

Happy2Play
Posted
3 minutes ago, judgey said:

Thanks for pointing that out mate, Its something to do with radarr permission issues i think, i think its importing the films with wrong permissions (this is a new setup) but 100% its not in that folder tho :( Anything else i can try?

 

Thanks loads mate

Would need to see the log demonstrating the issue.  You could always restart the server Identify the movie again and post the log.

Posted (edited)

Here you go, i did not have debug on tho will that matter for this?

 

 

 

Edited by judgey
Posted

I see the error there now, im sorry i will get this fixed.

 

Thanks for your time, sorry to of wasted it, it must be a permissions error with radarr imports.

 

Thanks again

Happy2Play
Posted
2 minutes ago, judgey said:

Here you go, i did not have debug on tho will that matter for this?

 

 

embyserver (4).txt 92.23 kB · 0 downloads

Exact same error.

2021-06-06 00:57:40.615 Error ProviderManager: Error in metadata saver
	*** Error Report ***
	Version: 4.6.2.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.4.0-74-generic (buildd@lgw01-amd64-038) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021
	Framework: .NET Core 3.1.13
	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/judgey/rclone/gmedia/new films/Edge of the World (2021)/Edge of the World (2021) WEBDL-1080p.nfo' is denied.
	 ---> System.IO.IOException: Permission denied
	   --- End of inner exception stack trace ---
	   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
	   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
	   at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Int32 bufferSize, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Boolean isAsync)
	   at NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, LibraryOptions libraryOptions, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo])
	InnerException: System.IO.IOException: Permission denied
	Source: 
	TargetSite: 

But not seeing why the Poster is not downloaded though.

Posted (edited)

Yer i thought that was the problem, changed permissions and still the problem is there.

 

Ill un solve for now

 

EDIT can not un-solve sorry

Edited by judgey
Happy2Play
Posted
3 minutes ago, judgey said:

Yer i thought that was the problem, changed permissions and still the problem is there.

 

Ill un solve for now

 

EDIT can not un-solve sorry

Done

If you go to Edit images on that movie will it find and save a Primary image?

Posted (edited)

Here is log after restart and debug on and permission fixed.

No primary image its emby everything is just that fanart image.

 

Edited by judgey
Happy2Play
Posted
23 minutes ago, judgey said:

Here is log after restart and debug on and permission fixed.

No primary image its emby everything is just that fanart image.

embyserver (5).txt 199.69 kB · 0 downloads

You can see it fail to get poster from OMDB/doesn't exist, but don't see any tries from TMDB.

2021-06-06 01:12:47.668 Debug App: ConvertImageToLocal item 173128 - image url: https://img.omdbapi.com/?i=tt3006472&apikey=fe53f97e
2021-06-06 01:12:47.670 Info HttpClient: GET https://img.omdbapi.com/?i=tt3006472&apikey=fe53f97e
2021-06-06 01:12:47.762 Error Server: Error processing request
	*** Error Report ***
	Version: 4.6.2.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.4.0-74-generic (buildd@lgw01-amd64-038) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021
	Framework: .NET Core 3.1.13
	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.InvalidOperationException: System.InvalidOperationException: Operation is not valid due to the current state of the object.
	   at Emby.Server.Implementations.Library.LibraryManager.ConvertImageToLocal(BaseItem item, ItemImageInfo image, Int32 imageIndex, CancellationToken cancellationToken)
	   at Emby.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, Int64 itemId, BaseItem item, Boolean isHeadRequest)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

If you selected Edit Image and clicked the search icon for Primary image is one found?

Posted

Hey, yes that works i can pick the right image if i search.

Happy2Play
Posted

You still have a permission issue but separate from this not getting poster issue.

2021-06-06 01:12:58.096 Debug App: ConvertImageToLocal item 173128 - image url: https://image.tmdb.org/t/p/original/lPcDU9Mt1SO4pW00K8L9a7pgMi5.jpg
2021-06-06 01:12:58.096 Info HttpClient: GET https://image.tmdb.org/t/p/original/lPcDU9Mt1SO4pW00K8L9a7pgMi5.jpg
2021-06-06 01:12:58.301 Debug ProviderManager: Saving image to /home/judgey/rclone/gmedia/new films/Edge of the World (2021)/fanart.jpg
2021-06-06 01:12:58.303 Error ProviderManager: UnauthorizedAccessException: Emby Server is being write access to /home/judgey/rclone/gmedia/new films/Edge of the World (2021)/fanart.jpg. Please check your file permissions.
2021-06-06 01:12:58.303 Debug ProviderManager: Saving image to /var/lib/emby/metadata/library/b3/b335915d44293e4f0d22df1535e6da03/fanart.jpg

You should see the same for the Poster you just saved also.

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