strict20 2 Posted February 10, 2025 Posted February 10, 2025 Hi, i am trying to install ADMv2.dll, which I copied to my synology via SSH, located in /volume1/@appdata/EmbyServer/plugins /volume1/Emby/plugins (was not sure which one is correct) But it does not show up in plugins after restart. Checked the log, can someone help me what to do?Thanks! embyserver-anonym.txt
Happy2Play 9780 Posted February 10, 2025 Posted February 10, 2025 Yes there are two locations the default shipped server plugins /volume1/@appstore/EmbyServer/system/plugins and the program/plugins folder /var/packages/EmbyServer/var/plugins (ie /volume1/@appdata/EmbyServer/plugins). Emby Server Data Folder | Emby Documentation Users can technically use either as startup pushes system shipped to programdata/plugins. But users should be placing in programdata/plugins. But Synology is notorious for permission issues, so you need to correct the dll permission anytime you place one in the folder. 2025-02-10 20:07:51.710 Error App: Error loading assembly /var/packages/EmbyServer/var/plugins/ADMv2.dll *** Error Report *** Version: 4.8.8.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 3.10.108 (root@build5) (gcc version 12.2.0 (GCC) ) #64570 SMP Fri Jul 14 01:07:53 CST 2023 Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/packages/EmbyServer/var Application path: /volume1/@appstore/EmbyServer/system System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/var/packages/EmbyServer/var/plugins/ADMv2.dll' 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 Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize) at System.IO.File.ReadAllBytes(String path) at Emby.Server.Implementations.ApplicationHost.LoadAssembly(String file) 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: 3
Happy2Play 9780 Posted February 10, 2025 Posted February 10, 2025 OT: You need to do the iNotify fix also. The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required 1 2
strict20 2 Posted February 11, 2025 Author Posted February 11, 2025 @Happy2PlayThank you for your answer - problem was solved. Thanls also for mentioning the problem with iNotify, created the triggered task as well. 2
Jator 10 Posted February 16, 2025 Posted February 16, 2025 Seems like this is a similar issue to what I am experiencing trying to get ComSkipper.dll working on my Synology (non-docker) install of Emby. Sorry if this is considered hijacking this thread, just racking my brains trying to figure out why it won't work (and yes, I finally figured out how to restart Emby from within the web settings). I implemented the RTX fix, not sure if that was impacting the .dll issue for me, but it was part of the above solution so trying everything including the kitchen sink.
strict20 2 Posted February 16, 2025 Author Posted February 16, 2025 Hi, my problem was solves after I ssh´ed into my synology and gave the right permissions directly to the plugin. Then restarted. Don`t know about the comskip plugin. I just looked at your treat, it seems it is not the permissions tith your install, right?
Jator 10 Posted February 16, 2025 Posted February 16, 2025 Which permission did you give your particular plugin? I mirrored permission of al the other plugins through ssh, but curious what yours is set to.
Luke 42077 Posted February 17, 2025 Posted February 17, 2025 9 hours ago, Jator said: Which permission did you give your particular plugin? I mirrored permission of al the other plugins through ssh, but curious what yours is set to. Re: 1
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