[Solved] Emby Docker Crashing on Start

Hi folks,

I’m playing with migrating some services from vbox to docker, but I don’t know what I’m doing. :slight_smile:

I started out by setting up a Calibre-web instance and after a sufficient amount of stumbling around in the dark, it’s working well.

Step 2 is to move my emby server. I’ve worked through the instructions here, but as you might guess, they’re pretty thin. The container never properly starts. It just goes into a crash/reboot loop.

This looks like a pretty complete meltdown right from the start to me. I’d love to hear your thoughts and suggestions.

Dockerhub recommends disabling selinux (which I’ve tried) and ensuring your docker is the latest version, which it is.

This is my most vanilla launch command (I’ve tried pretty much every possible network permutation including the preferred bridge):

docker run -d --name embyserver --volume /var/lib/nethserver/ibay/Storage/data/emby:/config --volume /var/lib/nethserver/ibay/Storage/Media:/mnt/share1 --net=host --publish 8096:8096 --publish 8920:8920 --env UID=1000 --env GID=100 --env GIDLIST=100 emby/embyserver:latest

For readability, I’ll include the log as a reply.

NethServer Version: 7.9.2009
Module: nethserver-docker

Log Part 1

2022-02-04 17:43:42.604 Info Main: Application path: /system/EmbyServer.dll
2022-02-04 17:43:42.918 Info Main: Emby
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -
ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
2022-02-04 17:43:42.918 Info Main: Logs path: /config/logs
2022-02-04 17:43:42.918 Info Main: Cache path: /config/cache
2022-02-04 17:43:42.919 Info Main: Internal metadata path: /config/metadata
2022-02-04 17:43:42.919 Info Main: Transcoding temporary files path: /config/transcoding-temp
2022-02-04 17:43:42.969 Info App: Application version: 4.6.7.0
2022-02-04 17:43:42.972 Info App: Loading assemblies
2022-02-04 17:43:43.011 Error App: Error getting version number from /config/plugins/AudioDb.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -
ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc v
ersion 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileH
andle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryM
appedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int
32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start,
Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReader
Options options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMem
oryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)
2022-02-04 17:43:43.014 Info App: File /system/plugins/AudioDb.dll has version 1.0.14.0
2022-02-04 17:43:43.015 Info App: Copying plugin from /system/plugins/AudioDb.dll to /config/plugins/AudioDb.dll
2022-02-04 17:43:43.017 Error App: Error getting version number from /config/plugins/BlurayMounter.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.017 Info App: File /system/plugins/BlurayMounter.dll has version 1.0.0.0
2022-02-04 17:43:43.017 Info App: Copying plugin from /system/plugins/BlurayMounter.dll to /config/plugins/BlurayMounter.dll
2022-02-04 17:43:43.018 Info App: File /config/plugins/DvdMounter.dll has version 1.0.0.0
2022-02-04 17:43:43.018 Info App: File /system/plugins/DvdMounter.dll has version 1.0.0.0
2022-02-04 17:43:43.019 Error App: Error getting version number from /config/plugins/Emby.Dlna.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.020 Info App: File /system/plugins/Emby.Dlna.dll has version 1.0.69.0
2022-02-04 17:43:43.020 Info App: Copying plugin from /system/plugins/Emby.Dlna.dll to /config/plugins/Emby.Dlna.dll
2022-02-04 17:43:43.023 Error App: Error getting version number from /config/plugins/Emby.PortMapper.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.024 Info App: File /system/plugins/Emby.PortMapper.dll has version 1.0.6.0
2022-02-04 17:43:43.024 Info App: Copying plugin from /system/plugins/Emby.PortMapper.dll to /config/plugins/Emby.PortMapper.dll
2022-02-04 17:43:43.025 Error App: Error getting version number from /config/plugins/Emby.Server.CinemaMode.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.025 Info App: File /system/plugins/Emby.Server.CinemaMode.dll has version 1.0.38.0
2022-02-04 17:43:43.025 Info App: Copying plugin from /system/plugins/Emby.Server.CinemaMode.dll to /config/plugins/Emby.Server.CinemaMode.dll
2022-02-04 17:43:43.027 Error App: Error getting version number from /config/plugins/Emby.Webhooks.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

Log Part 2

2022-02-04 17:43:43.028 Info App: File /system/plugins/Emby.Webhooks.dll has version 1.0.15.0
2022-02-04 17:43:43.028 Info App: Copying plugin from /system/plugins/Emby.Webhooks.dll to /config/plugins/Emby.Webhooks.dll
2022-02-04 17:43:43.029 Error App: Error getting version number from /config/plugins/Fanart.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.029 Info App: File /system/plugins/Fanart.dll has version 1.0.13.0
2022-02-04 17:43:43.029 Info App: Copying plugin from /system/plugins/Fanart.dll to /config/plugins/Fanart.dll
2022-02-04 17:43:43.030 Error App: Error getting version number from /config/plugins/MovieDb.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.031 Info App: File /system/plugins/MovieDb.dll has version 1.5.1.0
2022-02-04 17:43:43.031 Info App: Copying plugin from /system/plugins/MovieDb.dll to /config/plugins/MovieDb.dll
2022-02-04 17:43:43.032 Error App: Error getting version number from /config/plugins/MusicBrainz.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.032 Info App: File /system/plugins/MusicBrainz.dll has version 1.0.17.0
2022-02-04 17:43:43.032 Info App: Copying plugin from /system/plugins/MusicBrainz.dll to /config/plugins/MusicBrainz.dll
2022-02-04 17:43:43.034 Error App: Error getting version number from /config/plugins/NfoMetadata.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.034 Info App: File /system/plugins/NfoMetadata.dll has version 1.0.56.0
2022-02-04 17:43:43.034 Info App: Copying plugin from /system/plugins/NfoMetadata.dll to /config/plugins/NfoMetadata.dll
2022-02-04 17:43:43.036 Error App: Error getting version number from /config/plugins/OMDb.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.036 Info App: File /system/plugins/OMDb.dll has version 1.0.14.0
2022-02-04 17:43:43.037 Info App: Copying plugin from /system/plugins/OMDb.dll to /config/plugins/OMDb.dll
2022-02-04 17:43:43.039 Error App: Error getting version number from /config/plugins/OpenSubtitles.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.039 Info App: File /system/plugins/OpenSubtitles.dll has version 1.0.28.0
2022-02-04 17:43:43.039 Info App: Copying plugin from /system/plugins/OpenSubtitles.dll to /config/plugins/OpenSubtitles.dll
2022-02-04 17:43:43.041 Info App: File /config/plugins/StudioImages.dll has version 1.0.3.0
2022-02-04 17:43:43.041 Info App: File /system/plugins/StudioImages.dll has version 1.0.3.0
2022-02-04 17:43:43.042 Error App: Error getting version number from /config/plugins/Tvdb.dll
*** Error Report ***
Version: 4.6.7.0
Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
Operating system: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 3
Framework: .NET Core 3.1.21
OS/Process: x64/x64
Runtime: system/System.Private.CoreLib.dll
Processor count: 8
Data path: /config
Application path: /system
System.IO.IOException: System.IO.IOException: No such device
at System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(SafeMemoryMappedFileHandle memMappedFileHandle, MemoryMappedFileAccess access, Int64 requestedOffset, Int64 requestedSize)
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor(Int64 offset, Int64 size, MemoryMappedFileAccess access)
at System.Reflection.Internal.MemoryMapLightUp.CreateViewAccessor(Object memoryMap, Int64 start, Int32 size)
at System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(Int64 start, Int32 size, MemoryMappedFileBlock& block)
at System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(Int32 start, Int32 size)
at System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(Int32 start, Int32 size)
at System.Reflection.PortableExecutable.PEReader.GetMetadataBlock()
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder utf8Decoder)
at System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(PEReader peReader)
at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Emby.Server.Implementations.ApplicationHost.GetDllVersion(String path)
Source: System.IO.MemoryMappedFiles
TargetSite: System.IO.MemoryMappedFiles.MemoryMappedView CreateView(Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle, System.IO.MemoryMappedFiles.MemoryMappedFileAccess, Int64, Int64)

2022-02-04 17:43:43.042 Info App: File /system/plugins/Tvdb.dll has version 1.0.42.0
2022-02-04 17:43:43.042 Info App: Copying plugin from /system/plugins/Tvdb.dll to /config/plugins/Tvdb.dll
2022-02-04 17:43:43.058 Info App: Loading AudioDb, Version=1.0.14.0, Culture=neutral, PublicKeyToken=null from /config/plugins/AudioDb.dll
2022-02-04 17:43:43.058 Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/BlurayMounter.dll

2022-02-04 17:43:43.058 Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/DvdMounter.dll

2022-02-04 17:43:43.058 Info App: Loading Emby.Dlna, Version=1.0.69.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Dlna.dll

2022-02-04 17:43:43.058 Info App: Loading Emby.PortMapper, Version=1.0.6.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.PortMapper.dll

2022-02-04 17:43:43.058 Info App: Loading Emby.Server.CinemaMode, Version=1.0.38.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Server.CinemaMode.dll

2022-02-04 17:43:43.058 Info App: Loading Emby.Webhooks, Version=1.0.15.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Webhooks.dll

2022-02-04 17:43:43.059 Info App: Loading Fanart, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Fanart.dll

2022-02-04 17:43:43.059 Info App: Loading MovieDb, Version=1.5.1.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MovieDb.dll

2022-02-04 17:43:43.059 Info App: Loading MusicBrainz, Version=1.0.17.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MusicBrainz.dll

2022-02-04 17:43:43.059 Info App: Loading NfoMetadata, Version=1.0.56.0, Culture=neutral, PublicKeyToken=null from /config/plugins/NfoMetadata.dll

2022-02-04 17:43:43.059 Info App: Loading OMDb, Version=1.0.14.0, Culture=neutral, PublicKeyToken=null from /config/plugins/OMDb.dll

2022-02-04 17:43:43.059 Info App: Loading OpenSubtitles, Version=1.0.28.0, Culture=neutral, PublicKeyToken=null from /config/plugins/OpenSubtitles.dll

2022-02-04 17:43:43.059 Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /config/plugins/StudioImages.dll

2022-02-04 17:43:43.059 Info App: Loading Tvdb, Version=1.0.42.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Tvdb.dll

2022-02-04 17:43:43.059 Info App: Loading Emby.Api, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.Web, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading MediaBrowser.Model, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading MediaBrowser.Common, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading MediaBrowser.Controller, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.Providers, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.Photos, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.Server.Implementations, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.LiveTV, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.ActivityLog, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.Server.MediaEncoding, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.LocalMetadata, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.Notifications, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.Codecs.Dxva, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null
2022-02-04 17:43:43.059 Info App: Loading Emby.Server.Connect, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading Emby.Server.Sync, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.059 Info App: Loading EmbyServer, Version=4.6.7.0, Culture=neutral, PublicKeyToken=null

2022-02-04 17:43:43.288 Info SqliteUserRepository: Sqlite version: 3.35.5

Here it worked with following steps:

mkdir /var/lib/nethserver/emby
mkdir /var/lib/nethserver/embymedia
docker run -d \
    --name embyserver \
    --volume /var/lib/nethserver/emby:/config \
    --volume /var/lib/nethserver/embymedia:/mnt/share1 \
    --net=host \
    --publish 8096:8096 \
    --publish 8920:8920 \
    --env UID=1000 \
    --env GID=100 \
    --env GIDLIST=100 \
    emby/embyserver:latest

Add a network service to open the port:

grafik

Browse to http://<NETHSERVER>:8096

3 Likes

Interesting. That works for me as well. I can use the Media folder under ibay, but if I use the config folder under ibay it breaks.

I’m guessing then that this is a permissions issue. Is there anything special about permissions in the ibay folder?

The permissions can be set in server manager:

grafik

1 Like

Thanks so much for the help! It’s up and working. :slight_smile: Days of frustration resolved in minutes!

1 Like

Mrmarkuz is indeed epic. @Ted if still not, consider subscribe the product for helping development.

3 Likes