wirasuryadi Posted February 28 Share Posted February 28 Hi All, I'm planning to migrate my emby installation from windows to TrueNas. Plugin installation was smooth. However, when I place my media, it did not extract track information. The only error I can see in the log is the following. 2022-02-28 14:17:47.922 Error PortMapper: Error creating port map *** Error Report *** Version: 4.6.7.0 Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd_{version}_amd64.txz Operating system: Unix 12.2.12.0 Framework: Mono: 6.8.0.123 (tarball Tue Feb 22 11:18:58 UTC 2022) OS/Process: X64/X64 Runtime: usr/local/lib/mono/4.5/mscorlib.dll Processor count: 6 Data path: /var/db/emby-server Application path: /usr/local/lib/emby-server/system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: The remote server returned an error: (500) Internal Server Error. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponseFromData (System.Net.WebResponseStream stream, System.Threading.CancellationToken cancellationToken) [0x00146] in <2deb8ccd8f0546038e28d46e7bcc1998>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <2deb8ccd8f0546038e28d46e7bcc1998>:0 at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00020] in <2deb8ccd8f0546038e28d46e7bcc1998>:0 at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <0e6cb1433c7b46f598f86593dd03f528>:0 --- End of inner exception stack trace --- at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsyncInternal (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x00858] in <607a32ab6e4d4bd8ba9a9ccf535a3358>:0 at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x0009e] in <607a32ab6e4d4bd8ba9a9ccf535a3358>:0 at Mono.Nat.Upnp.UpnpNatDevice.GetSpecificMappingAsync (Mono.Nat.Protocol protocol, System.Int32 publicPort, System.Threading.CancellationToken cancellationToken) [0x000b9] in <6cd39e85ed704bc4b023e8dc5a7921bd>:0 at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap (Mono.Nat.Mapping mapping, System.Threading.CancellationToken cancellationToken) [0x00147] in <6cd39e85ed704bc4b023e8dc5a7921bd>:0 at Emby.PortMapper.ExternalPortForwarding.CreateRules (Mono.Nat.INatDevice device, System.Threading.CancellationToken cancellationToken) [0x001c0] in <6cd39e85ed704bc4b023e8dc5a7921bd>:0 Source: mscorlib TargetSite: Void Throw() InnerException: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. Source: System TargetSite: System.Net.WebResponse EndGetResponse(System.IAsyncResult) at System.Net.HttpWebRequest.GetResponseFromData (System.Net.WebResponseStream stream, System.Threading.CancellationToken cancellationToken) [0x00146] in <2deb8ccd8f0546038e28d46e7bcc1998>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <2deb8ccd8f0546038e28d46e7bcc1998>:0 at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00020] in <2deb8ccd8f0546038e28d46e7bcc1998>:0 at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <0e6cb1433c7b46f598f86593dd03f528>:0 Link to comment Share on other sites More sharing options...
Luke Posted March 1 Share Posted March 1 hi @wirasuryadi can you please go over a specific example and attach the complete log file from the initial library scan? Thanks ! Link to comment Share on other sites More sharing options...
wirasuryadi Posted March 2 Author Share Posted March 2 Hi Luke, Thank you for replying. I managed to solve the issue after fresh install and setup from scratch. In earlier installation I simply mounted existing media path that was used by my emby installation in windows. In latest installation, I created new mount point and copy the media files after all setup completed. I guess, the issue was due to unrelated ACLs in old media path. Link to comment Share on other sites More sharing options...
Luke Posted March 2 Share Posted March 2 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