Jump to content

Rebuilt Server - now unable to restore with server config backup


Go to solution Solved by Luke,

Recommended Posts

vaise
Posted

Hi,

 

Rebuilt server.

Installed Emby

Installed the plugins

Configued server config backup

selected the backup, made sure all ticked, clicked restore.

Nothing has restored - tried a restarts server -still nothing.

 

Thanks.

 

Error in log states this :

 

2017-05-07 18:08:25.7236 Info HttpServer: HTTP POST http://server:8096/emby/MBBackup/Profiles/Restore. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36
2017-05-07 18:08:25.7566 Error HttpServer: Error processing request
    *** Error Report ***
    Version: 3.2.14.0
    Command line: C:\Users\Vaise\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    Processor count: 8
    Program data path: C:\Users\Vaise\AppData\Roaming\Emby-Server
    Application directory: C:\Users\Vaise\AppData\Roaming\Emby-Server\system
    System.AggregateException: One or more errors occurred. ---> System.MissingMethodException: Method not found: 'Boolean MediaBrowser.Model.Configuration.ServerConfiguration.get_SkipDeserializationForPrograms()'.
     at MBBackup.ServerEntryPoint.<RestoreServerConfiguration>d__61.MoveNext()
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
     at MBBackup.ServerEntryPoint.RestoreServerConfiguration(String backupSource, BackupLogger logger)
     at MBBackup.ServerEntryPoint.<ExecuteRestore>d__59.MoveNext()
     --- End of inner exception stack trace ---
     at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
     at MBBackup.Api.ProfileHandler.Post(ProfileRestoreRequest request)
     at Emby.Server.Implementations.Services.ServiceExecGeneral.<>c__DisplayClass4_0.<CreateExecFn>b__0(Object service, Object request)
     at Emby.Server.Implementations.Services.ServiceExecGeneral.<Execute>d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.Services.ServiceController.<Execute>d__13.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.Services.ServiceHandler.<ProcessRequestAsync>d__15.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__75.MoveNext()
    ---> (Inner Exception #0) System.MissingMethodException: Method not found: 'Boolean MediaBrowser.Model.Configuration.ServerConfiguration.get_SkipDeserializationForPrograms()'.
     at MBBackup.ServerEntryPoint.<RestoreServerConfiguration>d__61.MoveNext()
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
     at MBBackup.ServerEntryPoint.RestoreServerConfiguration(String backupSource, BackupLogger logger)
     at MBBackup.ServerEntryPoint.<ExecuteRestore>d__59.MoveNext()<---
    
    System.AggregateException
     at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
     at MBBackup.Api.ProfileHandler.Post(ProfileRestoreRequest request)
     at Emby.Server.Implementations.Services.ServiceExecGeneral.<>c__DisplayClass4_0.<CreateExecFn>b__0(Object service, Object request)
     at Emby.Server.Implementations.Services.ServiceExecGeneral.<Execute>d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.Services.ServiceController.<Execute>d__13.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.Services.ServiceHandler.<ProcessRequestAsync>d__15.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__75.MoveNext()
    InnerException: System.MissingMethodException
    System.MissingMethodException: Method not found: 'Boolean MediaBrowser.Model.Configuration.ServerConfiguration.get_SkipDeserializationForPrograms()'.
     at MBBackup.ServerEntryPoint.<RestoreServerConfiguration>d__61.MoveNext()
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
     at MBBackup.ServerEntryPoint.RestoreServerConfiguration(String backupSource, BackupLogger logger)
     at MBBackup.ServerEntryPoint.<ExecuteRestore>d__59.MoveNext()
     at MBBackup.ServerEntryPoint.<RestoreServerConfiguration>d__61.MoveNext()
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
     at MBBackup.ServerEntryPoint.RestoreServerConfiguration(String backupSource, BackupLogger logger)
     at MBBackup.ServerEntryPoint.<ExecuteRestore>d__59.MoveNext()
    
2017-05-07 18:08:25.7566 Info HttpServer: HTTP Response 500 to 192.168.1.10. Time: 34ms. http://server:8096/emby/MBBackup/Profiles/Restore

 
vaise
Posted

Further to this - i have tried a few of my backups - none of them work.  I am attaching the full log of the last try - post a server restart.  The rest of the family are getting quote a bit 'tetchy' with this being down so long......  Yep, i can re add the users and the libraries from scratch - but the backup/restore worked fine about a year ago when i did it then..... so id like to give it a chance.

server-63629781050.txt

CBers
Posted

I have migrated 4 Emby servers to new physical computers for myself and friends/FAMILY in the last 2 months, without any dramas.

 

First, I first took a backup via the plugin on the old PC, set up Emby on the new PC (adding the libraries and users etc), installed the backup plugin and let an initial library scan run.

 

I then copied over the backup ZIP from the old PC and from that backup, I restored the watched status for each of the users and the stuff under MORE.

 

Once Emby server restarted, all was good.

 

Hope this helps.

  • Like 1
vaise
Posted

Hi.

 

Thanks for the reply - it worked for me last time too a year ago.

My backups have been running every day, keeping 15 of them, and they go to my NAS,

I wiped my system (so i cant do another backup - what is there is there)

I installed the plugin, pointed it at the same location - they all show up - so i guess it is working.

I click one, click restore, say yes to the message that will be replaced - but nothing ever does - the error is in the logs/post.

 

It takes 8+ hours to read all my media - but I DONT want to lose the watched status or the entire house will be mad as hell.

 

If i don't get a message back by the time I go to bed, i will kick off a library add/scan to run overnight.

 

V.

CBers
Posted

Not sure what we to suggest.

 

Sounds like you've do e what is needed.

 

I would set up your libraries first though and let Emby scan them, but that's up to you.

vaise
Posted

Yep - libs' all added now, scanning away.  I am off to bed.  Wife none too happy so I have resurrected Plex that is on our NAS to keep the peace so there is stuff to watch at least.

 

Maybe someone will get a chance to look at the logs and find out what is needed to be done while I sleep.

  • Like 1
  • Solution
Posted

I've pushed a compatibility update to the backup plugin for the latest release of the server, thanks.

  • Like 1
vaise
Posted (edited)

Hi Luke,

What does that mean - Do I uninstall and re-install the server backup plugin ?  or upgrade to the beta release of the emby server ?  or both ?  As nothing is saying to update.

Edited by vaise
Posted

The server dashboard will notify you when it has detected that the plugin update is available. thanks.

vaise
Posted

Thanks luke - how long before it checks ?  its been pver 4 hours since you posted that you did it.

vaise
Posted

I just restarted the server - then it has come up - updating now.

vaise
Posted

Yay - Restore is working now.  All back to normal.  Cbers - you may want to update too - as there was some sort of issue.

vaise
Posted

All looks good.

Posted

Thanks for the feedback.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...