chiefnerd 18 Posted May 24, 2016 Share Posted May 24, 2016 Sorry if this is in the wrong place but I couldn't find a dedicated forum for it. Simply cannot get the Server Configuration Backup Plugin to work, get an error trying to create a profile and immediate fail when trying to run it. I'm guessing it's a permission error of some description but the backup path is owned by emby user and group so I'm at a bit of a loss. Any help appreciated as I need to upgrade Emby but very reluctant to without a working backup of all userdata and config. Link to comment Share on other sites More sharing options...
Luke 37051 Posted May 24, 2016 Share Posted May 24, 2016 Hi, can you provide the server log when trying to run it? http://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Thanks. Link to comment Share on other sites More sharing options...
chiefnerd 18 Posted May 24, 2016 Author Share Posted May 24, 2016 Can;t see anything specifically relating to it but this entry recurs over and over: 6-05-24 08:22:32.4439 Error HttpAsyncTaskHandler: Error occured while Processing Request: Too many open files *** Error Report *** Version: 3.0.5912.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 3.13.0.83 Processor count: 24 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Dec 3 04:04:55 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe Too many open files System.IO.IOException at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) <0x7f5233bc54a0 + 0x00112> in <filename unknown>:0 at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) <0x7f5233bc4930 + 0x0001b> in <filename unknown>:0 at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern, SearchOption searchOption) <0x7f5233bc4960 + 0x00026> in <filename unknown>:0 at System.IO.DirectoryInfo.GetDirectories (System.String searchPattern, SearchOption searchOption) <0x7f5233bc6680 + 0x00029> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:GetDirectories (string,System.IO.SearchOption) at ServiceStack.VirtualPath.FileSystemVirtualDirectory.EnumerateDirectories (System.String dirName) <0x420fd160 + 0x0002d> in <filename unknown>:0 at ServiceStack.VirtualPath.FileSystemVirtualDirectory.GetDirectoryFromBackingDirectoryOrDefault (System.String dName) <0x420fd0b0 + 0x00017> in <filename unknown>:0 at ServiceStack.VirtualPath.AbstractVirtualDirectoryBase.GetFile (System.Collections.Generic.Stack`1 virtualPath) <0x420fd000 + 0x00065> in <filename unknown>:0 at ServiceStack.VirtualPath.AbstractVirtualDirectoryBase.GetFile (System.String virtualPath) <0x420fca80 + 0x0002e> in <filename unknown>:0 at ServiceStack.VirtualPath.AbstractVirtualPathProviderBase.GetFile (System.String virtualPath) <0x420fc9f0 + 0x0002c> in <filename unknown>:0 at ServiceStack.VirtualPath.MultiVirtualPathProvider+<>c__DisplayClass3.<GetFile>b__0 (IVirtualPathProvider childProvider) <0x420fc9b0 + 0x00029> in <filename unknown>:0 at System.Linq.Enumerable+WhereSelectListIterator`2[TSource,TResult].MoveNext () <0x41c8c5b0 + 0x001a5> in <filename unknown>:0 at System.Linq.Enumerable.FirstOrDefault[TSource] (IEnumerable`1 source, System.Func`2 predicate) <0x41d026c0 + 0x000b5> in <filename unknown>:0 at ServiceStack.VirtualPath.MultiVirtualPathProvider.GetFile (System.String virtualPath) <0x420fc710 + 0x001c3> in <filename unknown>:0 at ServiceStack.Templates.HtmlTemplates.LoadTemplate (System.String templateName) <0x420fc600 + 0x0004d> in <filename unknown>:0 at ServiceStack.Templates.HtmlTemplates.GetHtmlFormatTemplate () <0x420fc5d0 + 0x00013> in <filename unknown>:0 at ServiceStack.Formats.HtmlFormat.SerializeToStream (IRequest request, System.Object response, IResponse httpRes) <0x420f6250 + 0x008d3> in <filename unknown>:0 at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse (IResponse httpRes, IRequest httpReq, System.String contentType, System.String operationName, System.String errorMessage, System.Exception ex, Int32 statusCode) <0x4241a870 + 0x001df> in <filename unknown>:0 at ServiceStack.ServiceStackHost.OnUncaughtException (IRequest httpReq, IResponse httpRes, System.String operationName, System.Exception ex) <0x4241a5f0 + 0x0024b> in <filename unknown>:0 at ServiceStack.HostContext.RaiseUncaughtException (IRequest httpReq, IResponse httpRes, System.String operationName, System.Exception ex) <0x4241a5b0 + 0x0003a> in <filename unknown>:0 at ServiceStack.HttpResponseExtensionsInternal.WriteToResponse (IResponse response, System.Object result, ServiceStack.Web.ResponseSerializerDelegate defaultAction, IRequest request, System.Byte[] bodyPrefix, System.Byte[] bodySuffix) <0x41f0b7c0 + 0x01003> in <filename unknown>:0 at ServiceStack.HttpResponseExtensionsInternal.WriteToResponse (IResponse httpRes, IRequest httpReq, System.Object result, System.Byte[] bodyPrefix, System.Byte[] bodySuffix) <0x41f088c0 + 0x001ef> in <filename unknown>:0 at ServiceStack.HttpResponseExtensionsInternal.WriteToResponse (IResponse httpRes, IRequest httpReq, System.Object result) <0x41ef7b80 + 0x0001b> in <filename unknown>:0 at ServiceStack.Host.RestHandler+<>c__DisplayClass5.<ProcessRequestAsync>b__0 (System.Object response) <0x41ee81b0 + 0x001c7> in <filename unknown>:0 at ServiceStack.Host.Handlers.ServiceStackHandlerBase.HandleResponse (System.Object response, System.Func`2 callback, System.Func`2 errorCallback) <0x41ee7770 + 0x00229> in <filename unknown>:0 Link to comment Share on other sites More sharing options...
Luke 37051 Posted May 24, 2016 Share Posted May 24, 2016 hi, can you attach the complete log please? thanks. Link to comment Share on other sites More sharing options...
chiefnerd 18 Posted May 24, 2016 Author Share Posted May 24, 2016 Sorry- I found it: 2016-05-24 08:27:49.2442 Error TaskManager: Error *** Error Report *** Version: 3.0.5912.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 3.13.0.83 Processor count: 24 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Dec 3 04:04:55 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe Error backing up configuration. Check logs. System.Threading.Tasks.TaskSchedulerException at MBBackup.Entities.ScheduledBackupTask+<Execute>d__0.MoveNext () <0x427c4920 + 0x008cb> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f5233a6f6d0 + 0x00029> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7f5233a6d6b0 + 0x000a7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7f5233a6d630 + 0x0006b> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7f5233a6d5e0 + 0x0003a> in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7f5233a6db10 + 0x00012> in <filename unknown>:0 at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>c__async2.MoveNext () <0x42451420 + 0x007c7> in <filename unknown>:0 2016-05-24 08:27:49.2442 Info TaskManager: Configuration Backup Failed after 0 minute(s) and 0 seconds 2016-05-24 08:27:49.2489 Info TaskManager: ExecuteQueuedTasks Link to comment Share on other sites More sharing options...
Luke 37051 Posted May 24, 2016 Share Posted May 24, 2016 Can you please just attach the entire log file? that will enable us to see the whole picture. thanks. Link to comment Share on other sites More sharing options...
chiefnerd 18 Posted May 24, 2016 Author Share Posted May 24, 2016 I've got no attach option here and at 264kb there's alot of text lol. I'll add it to to dropbox Link to comment Share on other sites More sharing options...
chiefnerd 18 Posted May 24, 2016 Author Share Posted May 24, 2016 http://dl.dropboxusercontent.com/u/27236363/server-63599644800.txt I've removed Server IP from the log but apart from that it's as is 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