Jump to content

All setting default but no images or show information.


MediaMogal

Recommended Posts

Happy2Play

There are issues on this system as all external connections are failing.  But here it TVDB.

2020-12-05 10:56:34.905 Error App: Error in TheTVDB
	*** Error Report ***
	Version: 4.5.3.0
	Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /var/lib/emby -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3
	Operating system: Linux version 5.9.11-zen2-1-zen (linux-zen@archlinux) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 ZEN SMP PREEMPT Sat, 28 Nov 2020 02:08:52 +0
	Framework: .NET Core 3.1.8
	OS/Process: x64/x64
	Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.8/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /var/lib/emby
	Application path: /usr/lib/emby-server
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
	 ---> System.InvalidOperationException: The home directory of the current user could not be determined.
	   at System.IO.PersistedFiles.EnsureUserDirectories()
	   at System.IO.PersistedFiles.GetUserFeatureDirectory(String featureName, String subFeatureName)
	   at Internal.Cryptography.Pal.DirectoryBasedStoreProvider.GetStorePath(String storeName)
	   at Internal.Cryptography.Pal.DirectoryBasedStoreProvider.UnsupportedDisallowedStore..ctor(OpenFlags openFlags)
	   at Internal.Cryptography.Pal.StorePal.FromSystemStore(String storeName, StoreLocation storeLocation, OpenFlags openFlags)
	   at System.Security.Cryptography.X509Certificates.X509Store.Open(OpenFlags flags)
	   at Internal.Cryptography.Pal.ChainPal.BuildChain(Boolean useMachineContext, ICertificatePal cert, X509Certificate2Collection extraStore, OidCollection applicationPolicy, OidCollection certificatePolicy, X509RevocationMode revocationMode, X509RevocationFlag revocationFlag, DateTime verificationTime, TimeSpan timeout)
	   at System.Security.Cryptography.X509Certificates.X509Chain.Build(X509Certificate2 certificate, Boolean throwOnException)
	   at System.Net.Security.CertificateValidation.BuildChainAndVerifyProperties(X509Chain chain, X509Certificate2 remoteCertificate, Boolean checkCertName, String hostName)
	   at System.Net.Security.SecureChannel.VerifyRemoteCertificate(RemoteCertValidationCallback remoteCertValidationCallback, ProtocolToken& alertToken)
	   at System.Net.Security.SslStream.CompleteHandshake(ProtocolToken& alertToken)
	   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
	   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Tvdb.TvdbSeriesProvider.FindSeriesInternal(String name, String language, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.FindSeries(String name, Nullable`1 seriesYear, Nullable`1 episodeAirDate, String language, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.GetMetadata(SeriesInfo searchInfo, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	InnerException: System.InvalidOperationException: The home directory of the current user could not be determined.
	Source: System.Security.Cryptography.X509Certificates
	TargetSite: Void EnsureUserDirectories()
	   at System.IO.PersistedFiles.EnsureUserDirectories()
	   at System.IO.PersistedFiles.GetUserFeatureDirectory(String featureName, String subFeatureName)
	   at Internal.Cryptography.Pal.DirectoryBasedStoreProvider.GetStorePath(String storeName)
	   at Internal.Cryptography.Pal.DirectoryBasedStoreProvider.UnsupportedDisallowedStore..ctor(OpenFlags openFlags)
	   at Internal.Cryptography.Pal.StorePal.FromSystemStore(String storeName, StoreLocation storeLocation, OpenFlags openFlags)
	   at System.Security.Cryptography.X509Certificates.X509Store.Open(OpenFlags flags)
	   at Internal.Cryptography.Pal.ChainPal.BuildChain(Boolean useMachineContext, ICertificatePal cert, X509Certificate2Collection extraStore, OidCollection applicationPolicy, OidCollection certificatePolicy, X509RevocationMode revocationMode, X509RevocationFlag revocationFlag, DateTime verificationTime, TimeSpan timeout)
	   at System.Security.Cryptography.X509Certificates.X509Chain.Build(X509Certificate2 certificate, Boolean throwOnException)
	   at System.Net.Security.CertificateValidation.BuildChainAndVerifyProperties(X509Chain chain, X509Certificate2 remoteCertificate, Boolean checkCertName, String hostName)
	   at System.Net.Security.SecureChannel.VerifyRemoteCertificate(RemoteCertValidationCallback remoteCertValidationCallback, ProtocolToken& alertToken)
	   at System.Net.Security.SslStream.CompleteHandshake(ProtocolToken& alertToken)
	   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslStream.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
	   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)

 

Link to comment
Share on other sites

MediaMogal

That might as well be Greek to me. So are you saying the system or TheTVDB is the problem?

 

EDIT:

 

I'm leaning towards TheTVDB cause under Last Night's which had 3 files in it 2 had there information , the 3rd one I wasn't surprised didn't. That shows episode info usually doesn't get grabbed till it's actually file away in the main Series season folder for it.

Edited by MediaMogal
Link to comment
Share on other sites

Happy2Play

I would say a system issue as you get errors all external communication not just TVDB.

 

I don't know anything about the platform but the error suggest a specific issue.

InnerException: System.InvalidOperationException: The home directory of the current user could not be determined.

 

Edited by Happy2Play
Link to comment
Share on other sites

MediaMogal
38 minutes ago, Luke said:

Try creating a HOME environment variable that points to your system user's home directory.

?????????????

Link to comment
Share on other sites

MediaMogal

Morning,

Morning,

I just finished doing everything in that Wiki tut, but the last part has me a bit confused. Looks like it has two different names. Bolded the pat I'm questioning. As For the content I bolded what I think the file would look like once created.

Then you can extend the systemd service by creating the following file:

/etc/systemd/system/emby-server.service.d/write-permissions.conf

[Service] SupplementaryGroups=media
ReadWritePaths=/mnt/media_files
UMask=0002


[Service] SupplementaryGroups=media
ReadWritePaths=/mnt/Movie-Series
ReadWritePaths=/mnt/Movies
ReadWritePaths=/mnt/Music
ReadWritePaths=/mnt/Music-Videos
ReadWritePaths=/mnt/Television
ReadWritePaths=/mnt/XXX
UMask=0002

Edited by MediaMogal
Link to comment
Share on other sites

alucryd

What do you find confusing about the file name? What you pasted here is correct.

As for the contents, it looks good to me as well. Provided you went through all the previous steps for all listed directories, you should now run:

sudo systemctl daemon-reload
sudo systemctl restart emby-server

And emby should have write access to your directories.

Regarding the SSL errors, do you have the ca-certificates package installed?

  • Like 1
Link to comment
Share on other sites

MediaMogal
40 minutes ago, alucryd said:

What do you find confusing about the file name? What you pasted here is correct.

As for the contents, it looks good to me as well. Provided you went through all the previous steps for all listed directories, you should now run:


sudo systemctl daemon-reload
sudo systemctl restart emby-server

And emby should have write access to your directories.

Regarding the SSL errors, do you have the ca-certificates package installed?

I'm assuming "emby-server.service.d/write-permissions.conf" a folder and a file.

Link to comment
Share on other sites

MediaMogal
5 hours ago, alucryd said:

Regarding the SSL errors, do you have the ca-certificates package installed?

I honestly couldn't tell you.

 

EDIT:

 

 

Screenshot_20201207_082514.png

Edited by MediaMogal
Link to comment
Share on other sites

  • 2 weeks later...
MediaMogal
16 hours ago, Luke said:

@MediaMogal are you still having an issue with this?

I'm assuming that you're referring to the SSL errors that @alucryd mentioned. If so I'm not noticing any issue with Emby at this time.

Edited by MediaMogal
Link to comment
Share on other sites

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