yosh2k 2 Posted October 6, 2024 Posted October 6, 2024 Emby has been working great for the past year with no issues, then suddenly, I noticed after a recent update, it stops automatically. and every time it auto-restarts or I attempt to manually start it up, it fails after 5 seconds and stops. I have provided the log file from Container Manager, as well as the actual logs from the Emby folder which looks like it last worked well over a week ago. My system is a Synology DS220 Plus, with Emby running on Container Manager (Previously known as Docker), on latest DSM 7.2.1-69057 Update 5, I have searched the forums to see if anyone experienced a similar issue that could assist me with a solution, but no success, that is why I created a topic. Help would be greatly appreciated :) emby.html embyserver.txt
Neminem 1518 Posted October 6, 2024 Posted October 6, 2024 It look like you have permissions issues. 2024/10/06 21:35:22 stdout [s6-finish] sending all processes the KILL signal and exiting. 2024/10/06 21:35:19 stdout [s6-finish] sending all processes the TERM signal. 2024/10/06 21:35:19 stdout [s6-finish] waiting for services. 2024/10/06 21:35:19 stdout [cont-finish.d] done. 2024/10/06 21:35:19 stdout [cont-finish.d] executing container finish scripts... 2024/10/06 21:35:19 stdout 2024/10/06 21:35:19 stdout 2024/10/06 21:35:19 stdout TargetSite: 2024/10/06 21:35:19 stdout Source: 2024/10/06 21:35:19 stdout InnerException: System.IO.IOException: Permission denied 2024/10/06 21:35:19 stdout at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken) 2024/10/06 21:35:19 stdout at Emby.Server.Implementations.Logging.FileLogger..ctor(String path) 2024/10/06 21:35:19 stdout at System.IO.Directory.CreateDirectory(String path) 2024/10/06 21:35:19 stdout at System.IO.FileSystem.CreateDirectory(String fullPath) 2024/10/06 21:35:19 stdout TargetSite: Void CreateDirectory(System.String) 2024/10/06 21:35:19 stdout Source: System.Private.CoreLib 2024/10/06 21:35:19 stdout InnerException: System.UnauthorizedAccessException: Access to the path '/config/logs' is denied. 2024/10/06 21:35:19 stdout TargetSite: Void ThrowIfExceptional(Boolean) 2024/10/06 21:35:19 stdout Source: System.Private.CoreLib 2024/10/06 21:35:19 stdout at EmbyServer.Program.Main(String[] args) 2024/10/06 21:35:19 stdout at System.Threading.Tasks.Task.Wait() 2024/10/06 21:35:19 stdout at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) 2024/10/06 21:35:19 stdout at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) 2024/10/06 21:35:19 stdout --- End of inner exception stack trace --- 2024/10/06 21:35:19 stdout at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken) 2024/10/06 21:35:19 stdout at Emby.Server.Implementations.Logging.FileLogger..ctor(String path) 2024/10/06 21:35:19 stdout at System.IO.Directory.CreateDirectory(String path) 2024/10/06 21:35:19 stdout at System.IO.FileSystem.CreateDirectory(String fullPath) 2024/10/06 21:35:19 stdout --- End of inner exception stack trace --- 2024/10/06 21:35:19 stdout ---> System.IO.IOException: Permission denied 2024/10/06 21:35:19 stdout ---> System.UnauthorizedAccessException: Access to the path '/config/logs' is denied. 2024/10/06 21:35:19 stdout System.AggregateException: System.AggregateException: One or more errors occurred. (Access to the path '/config/logs' is denied.) 2024/10/06 21:35:19 stdout UnhandledException 1
Solution Happy2Play 9780 Posted October 6, 2024 Solution Posted October 6, 2024 Yes it appears you have a permission issue with Emby programdata path. Data path: /config Access to the path '/config/plugins/configurations' is denied.
Luke 42077 Posted October 6, 2024 Posted October 6, 2024 Hi, yes it looks like the server is being denied the ability to write to it's own data folder (/config). If you can resolve this then that should resolve your issue. Please let us know if this helps. Thanks !
yosh2k 2 Posted October 6, 2024 Author Posted October 6, 2024 Thanks Guys... you were spot on - I created a user for my sister last Saturday evening on the Synology so that she can upload files on the NAS, and for some strange reason, it put her as the owner of my Emby folder that contains all the configurations, yet there is no write permissions assigned. I don't ever recall doing this in any of the prompts upon creation of the user on the NAS, so it is quite unusual, and wondering how that even occured as I have created other user accounts in the past. After seeing your quick and swift replies, I went into the "Docker" folder which is one of my main shares on the NAS, that I created to house all the folders for the apps running under Container Manager (aka Docker), selected 'Properties' on the Emby folder, and noticed my sisters user name was set as the "Owner", changing it back to my username did not help... it kept reverting back to her name for some odd reason. So, what I did was... give her full read/write access to the Emby folder, then it started almost immediately and worked perfectly... went back into properties, and change her as the owner of the folder back to me, and then took away the permission. It is working well... thank you so much to Luke, Happy2Play and Neminem - I can't believe how quickly you guys replied and assisted me with this issue... everything is back to usual!! If any of you guys have any light to shed as to why suddenly this happened with the folder changing ownership randomly after creating a new user on the Synology NAS, please share so that we can avoid this in the future... but at least I know that the solution and quick fix helped heaps!! 1 1
Luke 42077 Posted October 6, 2024 Posted October 6, 2024 Quote after creating a new user on the Synology NAS Maybe default permissions for a new user are not adequate?
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