Dibbes 431 Posted September 25, 2020 Share Posted September 25, 2020 After upgrading from 4.3 by sideloading 4.5.0.50, Emby installs but does not start from DSM. When logging on over SSH and trying to run the server there, I get what seems to be a permissions issue. Running the server with "sudo" works properly, but (obviously) stops when closing putty. admin@<server>:/volume1/@appstore/EmbyServer/bin$ ./emby-server Error GlobalExceptionHandler: UnhandledException System.AggregateException: System.AggregateException: One or more errors occurred. (Access to the path '/volume1/@appstore/EmbyServer/programdata/logs/embyserver-1.txt' is denied.) ---> System.UnauthorizedAccessException: Access to the path '/volume1/@appstore/EmbyServer/programdata/logs/embyserver-1.txt' 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 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at Emby.Server.Implementations.Logging.FileLogger..ctor(String path) at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(Task[] tasks) at EmbyServer.Program.Main(String[] args) Source: System.Private.CoreLib TargetSite: Void ThrowAggregateException(System.Collections.Generic.List`1[System.Exception]) InnerException: System.UnauthorizedAccessException: Access to the path '/volume1/@appstore/EmbyServer/programdata/logs/embyserver-1.txt' is denied. Source: System.Private.CoreLib TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo]) 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 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at Emby.Server.Implementations.Logging.FileLogger..ctor(String path) at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken) InnerException: System.IO.IOException: Permission denied Source: TargetSite: UnhandledException System.AggregateException: System.AggregateException: One or more errors occurred. (Access to the path '/volume1/@appstore/EmbyServer/programdata/logs/embyserver-1.txt' is denied.) ---> System.UnauthorizedAccessException: Access to the path '/volume1/@appstore/EmbyServer/programdata/logs/embyserver-1.txt' 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 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at Emby.Server.Implementations.Logging.FileLogger..ctor(String path) at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(Task[] tasks) at EmbyServer.Program.Main(String[] args) Source: System.Private.CoreLib TargetSite: Void ThrowAggregateException(System.Collections.Generic.List`1[System.Exception]) InnerException: System.UnauthorizedAccessException: Access to the path '/volume1/@appstore/EmbyServer/programdata/logs/embyserver-1.txt' is denied. Source: System.Private.CoreLib TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo]) 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 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at Emby.Server.Implementations.Logging.FileLogger..ctor(String path) at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken) InnerException: System.IO.IOException: Permission denied Source: TargetSite: Unhandled exception. System.AggregateException: One or more errors occurred. (Access to the path '/volume1/@appstore/EmbyServer/programdata/logs/embyserver-1.txt' is denied.) ---> System.UnauthorizedAccessException: Access to the path '/volume1/@appstore/EmbyServer/programdata/logs/embyserver-1.txt' 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 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at Emby.Server.Implementations.Logging.FileLogger..ctor(String path) at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(Task[] tasks) at EmbyServer.Program.Main(String[] args) Aborted (core dumped) When giving full permissions to the Embyserver directory with: sudo chmod -R 777 /volume1/@appstore/EmbyServer/ it works under SSH without sudo, but still a nogo from DSM... Link to comment Share on other sites More sharing options...
Dibbes 431 Posted September 25, 2020 Author Share Posted September 25, 2020 For some reason I'm not getting this to work, even though as far as I can see the emby account has all rights and privileges it needs. I'm back to the latest published beta, which is the 4.5.0.13 at this time Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted September 25, 2020 Share Posted September 25, 2020 Luke mentioned a possible fix coming in the beta forum Link to comment Share on other sites More sharing options...
Luke 37094 Posted September 26, 2020 Share Posted September 26, 2020 Please try downloading the build again from our website and installing over the top of your existing version. Please let us know if the issue persists after that. Thanks. Link to comment Share on other sites More sharing options...
Dibbes 431 Posted September 27, 2020 Author Share Posted September 27, 2020 20 hours ago, Luke said: Please try downloading the build again from our website and installing over the top of your existing version. Please let us know if the issue persists after that. Thanks. Won't be able to for a few months as it's in my holiday home 500km away. When we're not there everything is turned off. Link to comment Share on other sites More sharing options...
Luke 37094 Posted September 27, 2020 Share Posted September 27, 2020 Ok thanks for the update. 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