MediaMogal 19 Posted December 5, 2020 Share Posted December 5, 2020 Running 4.5.3.0-1 of Emby Server and just setup TV Series and all but 1 folder is being seen which I expected. What I'm not getting is any show data or images. embyserver.txt Link to comment Share on other sites More sharing options...
Happy2Play 8373 Posted December 5, 2020 Share Posted December 5, 2020 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 More sharing options...
MediaMogal 19 Posted December 5, 2020 Author Share Posted December 5, 2020 (edited) 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 December 5, 2020 by MediaMogal Link to comment Share on other sites More sharing options...
Happy2Play 8373 Posted December 5, 2020 Share Posted December 5, 2020 (edited) 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 December 5, 2020 by Happy2Play Link to comment Share on other sites More sharing options...
MediaMogal 19 Posted December 5, 2020 Author Share Posted December 5, 2020 Just created a help thread in the Garuda forums if you want to weigh in it. https://forum.garudalinux.org/t/the-home-directory-of-the-current-user-could-not-be-determined/1772 Link to comment Share on other sites More sharing options...
Luke 37285 Posted December 5, 2020 Share Posted December 5, 2020 Were you running 4.5.2 before this, or is this a new install? Link to comment Share on other sites More sharing options...
MediaMogal 19 Posted December 5, 2020 Author Share Posted December 5, 2020 This is a fresh install on a fresh install of the OS. OS installed, updated, tweaked, flatpaks installed, snaps installed, everything else including both server and theater for Emby installed using yay. Was just given this in the Garuda forums. https://wiki.archlinux.org/index.php/Emby Link to comment Share on other sites More sharing options...
Luke 37285 Posted December 6, 2020 Share Posted December 6, 2020 Try creating a HOME environment variable that points to your system user's home directory. Link to comment Share on other sites More sharing options...
MediaMogal 19 Posted December 6, 2020 Author Share Posted December 6, 2020 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 More sharing options...
MediaMogal 19 Posted December 6, 2020 Author Share Posted December 6, 2020 (edited) 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=mediaReadWritePaths=/mnt/Movie-SeriesReadWritePaths=/mnt/MoviesReadWritePaths=/mnt/MusicReadWritePaths=/mnt/Music-VideosReadWritePaths=/mnt/TelevisionReadWritePaths=/mnt/XXXUMask=0002 Edited December 6, 2020 by MediaMogal Link to comment Share on other sites More sharing options...
alucryd 217 Posted December 7, 2020 Share Posted December 7, 2020 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? 1 Link to comment Share on other sites More sharing options...
MediaMogal 19 Posted December 7, 2020 Author Share Posted December 7, 2020 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 More sharing options...
MediaMogal 19 Posted December 7, 2020 Author Share Posted December 7, 2020 Thanks guys we now have images. Looks so pretty again. Thanks again for the help with this. Link to comment Share on other sites More sharing options...
Luke 37285 Posted December 7, 2020 Share Posted December 7, 2020 Thanks for the feedback! Link to comment Share on other sites More sharing options...
MediaMogal 19 Posted December 7, 2020 Author Share Posted December 7, 2020 (edited) 5 hours ago, alucryd said: Regarding the SSL errors, do you have the ca-certificates package installed? I honestly couldn't tell you. EDIT: Edited December 7, 2020 by MediaMogal Link to comment Share on other sites More sharing options...
Luke 37285 Posted December 18, 2020 Share Posted December 18, 2020 @MediaMogal are you still having an issue with this? Link to comment Share on other sites More sharing options...
MediaMogal 19 Posted December 19, 2020 Author Share Posted December 19, 2020 (edited) 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 December 19, 2020 by MediaMogal Link to comment Share on other sites More sharing options...
Luke 37285 Posted December 19, 2020 Share Posted December 19, 2020 Thanks for the feedback ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now