kbijvank 51 Posted August 18, 2020 Share Posted August 18, 2020 (edited) Hello, Hello, i got a problem concerning the server configuration backup 1.4.5.0 in Emby. It throws permission errors but it writes all the files correctly with content. Under an Example of the log output (There is an error message just like this for every file Server Configuration Backup creates): 2020-08-18 08:13:42.949 Error Server Configuration Backup: Error Copying /config/config/users/151cae1de5984c2382708fc3ac8d8f86/sec.txt to /mnt/Backup_Emby/Emby Backup - 2020-08-18 08.13.41 - Auto/users/playlist/sec.txt Error Report Version: 4.4.3.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Unix 4.19.0.9 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///system/System.Private.CoreLib.dll System.Environment.Version: 3.1.2 Processor count: 4 Program data path: /config Application directory: /system System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path is denied. ---> System.IO.IOException: Operation not permitted --- End of inner exception stack trace --- at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func2 errorRewriter) at Interop.CheckIo(Int64 result, String path, Boolean isDirectory, Func2 errorRewriter) at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at Emby.Server.Implementations.IO.ManagedFileSystem.CopyFile(String source, String target, Boolean overwrite) at MBBackup.ServerEntryPoint.CopyFile(String source, String target, Boolean createDirectory) Source: System.IO.FileSystem TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo]) InnerException: System.IO.IOException: Operation not permitted Source: TargetSite: I've checked the folder for permission issuses, but that shouldn't be the problem. I've tried reinstalling the addon, removing MBBackup.xml and removing MBBackup.dll. After that reinstalled again, configured but to no avail. I Also changed the backup path did not work also. If anyone can help me with this that would be super helpful. Attached is the log file. embyserver.txt Edited August 18, 2020 by kbijvank Link to comment Share on other sites More sharing options...
Luke 37018 Posted August 18, 2020 Share Posted August 18, 2020 Hi, sounds like the server is being denied write access to the backup destination. can you look into this? I would take a look at our file permissions guide: Please let us know if this helps. thanks. Link to comment Share on other sites More sharing options...
kbijvank 51 Posted August 18, 2020 Author Share Posted August 18, 2020 Hi Luke, Permissions are set as follow: 777 for the whole folder- subfoders and files. So that is not the issue. It does write the files to the right location it just generates an error in the log. Link to comment Share on other sites More sharing options...
Luke 37018 Posted August 24, 2020 Share Posted August 24, 2020 OK yes we've seen this reported once or twice before but don't have a solution yet. The error appears to be coming from within the .net core runtime, but as you say, the actual I/O operation seems to complete just fine. Link to comment Share on other sites More sharing options...
kbijvank 51 Posted August 24, 2020 Author Share Posted August 24, 2020 Okay thank you! Least i can do is let you know and do my part Have a good day Luke! 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