mgworek 121 Posted October 26, 2018 Share Posted October 26, 2018 (edited) Version 3.6.0.57 Trying to do a restore a backup from my docker install. It worked fine on CentOS. When I click on Restore Now, after hitting OK on the warning screen. It doesn't do anything. I load javascript console and see these errors. Nothing was restored. "POST http://10.0.1.170:8096/emby/MBBackup/Profiles/Restore 404 (Not Found)" "Response {type: "basic", url: "http://10.0.1.170:8096/emby/MBBackup/Profiles/Restore",redirected: false, status: 404, ok: false" I looked in the logs and saw a DLNA error during the restore. I uncheck DLNA from the restore but same thing happens when I click OK. This time, most of the restore happened. My config, libraries, plugins all restored. My users did not restore. This is what I saw in the log when the restore crashed. 2018-10-26 18:03:52.723 Error Server Configuration Backup: Error Copying /Media/Backups/Emby Backup - 2018-07-24 09.22.55 - Auto/plugins/configurations/statistics.xml to /var/lib/emby/plugins/configurations/statistics.xml *** Error Report *** Version: 3.6.0.57 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.18.0.10 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.IO.IOException: Stale file handle 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.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at System.IO.File.Copy(String sourceFileName, String destFileName, 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) 2018-10-26 18:03:52.724 Error HttpServer: Error processing request *** Error Report *** Version: 3.6.0.57 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.18.0.10 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.IO.IOException: Stale file handle 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.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at System.IO.File.Copy(String sourceFileName, String destFileName, 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) at MBBackup.ServerEntryPoint.CopyAllFiles(String sourceDir, String targetDir, Boolean recursive) at MBBackup.ServerEntryPoint.ExecuteRestore(BackupInfo settings, CancellationToken cancellationToken, IProgress`1 progress, Boolean isAuto) server.txt Edited October 26, 2018 by mgworek Link to comment Share on other sites More sharing options...
Solution Luke 37246 Posted October 28, 2018 Solution Share Posted October 28, 2018 Looking at the file that it's trying to copy, I"m not quite sure what we can do about that. Perhaps this might help: https://support.delphix.com/Delphix_Virtualization_Engine/Delphix_Admin/KBA1037_How_to_Resolve_%22stale_file_handle%22_on_Linux_Systems 1 Link to comment Share on other sites More sharing options...
mgworek 121 Posted October 29, 2018 Author Share Posted October 29, 2018 Looking at the file that it's trying to copy, I"m not quite sure what we can do about that. Perhaps this might help: https://support.delphix.com/Delphix_Virtualization_Engine/Delphix_Admin/KBA1037_How_to_Resolve_%22stale_file_handle%22_on_Linux_Systems I copied the backup from my unraid server to the vm itself and the restore worked! Link to comment Share on other sites More sharing options...
Luke 37246 Posted October 29, 2018 Share Posted October 29, 2018 So you're good now? Link to comment Share on other sites More sharing options...
mgworek 121 Posted October 29, 2018 Author Share Posted October 29, 2018 I am. thanks! 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