Jump to content


Photo

Backup & Restore Plugin - Restore Fails with "Invalid Date"


  • Please log in to reply
11 replies to this topic

#1 _JamBay_ OFFLINE  

_JamBay_

    Newbie

  • Members
  • 4 posts

Posted 24 July 2018 - 04:11 AM

Trying to migrate from a CentOS 7 to Ubuntu 18.04.  Both running Emby server 3.5.0.0 and Backup & Restore plugin 1.2.2.0.  Backup worked.  Restore on Ubuntu is just spinning a loader and never loads the form where you choose what to restore.  Error on page says "Invalid Date".  Below is a section of the log that is relevant.  

 

Can I make this work somehow?

 

 

2018-07-24 07:58:00.400 Info HttpServer: HTTP POST http://192.168.0.33:...rofiles/Restore. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15

2018-07-24 07:58:00.446 Error HttpServer: Error processing request
    *** Error Report ***
    Version: 3.5.0.0
    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.15.0.29
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 2
    Program data path: /var/lib/emby
    Application directory: /opt/emby-server/system
    System.NullReferenceException: Object reference not set to an instance of an object.
     at MBBackup.ServerEntryPoint.ExecuteRestore(BackupInfo settings, CancellationToken cancellationToken, IProgress`1 progress, Boolean isAuto)
    System.NullReferenceException
     at MBBackup.ServerEntryPoint.ExecuteRestore(BackupInfo settings, CancellationToken cancellationToken, IProgress`1 progress, Boolean isAuto)
    
2018-07-24 07:58:00.446 Info HttpServer: HTTP Response 500 to 192.168.0.49. Time: 46ms. http://192.168.0.33:...rofiles/Restore

 


#2 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 2638 posts
  • Local time: 10:42 PM
  • LocationLong Island, NY

Posted 24 July 2018 - 07:13 AM

attach full log.  also, what is 192.168.0.49?  HTTP 500 is never a good sign.



#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 126928 posts
  • Local time: 10:42 PM

Posted 24 July 2018 - 05:07 PM

hi @_JamBay_ yes this will be easier to diagnose with the complete emby server log. thanks !



#4 _JamBay_ OFFLINE  

_JamBay_

    Newbie

  • Members
  • 4 posts

Posted 24 July 2018 - 09:22 PM

I will get more logs shortly.  I was also incorrect when I said migrate from CentOS.  This is a migration from Ubuntu 14 to Ubuntu 18.  On the 14 server, both the backup and restore functions worked.  On the Ubuntu 18 server, I get the error when attempting to restore one of the previous snapshots, as well as if I make a backup on the new server and try to restore it.



#5 _JamBay_ OFFLINE  

_JamBay_

    Newbie

  • Members
  • 4 posts

Posted 24 July 2018 - 09:39 PM

Ok.  So I went in to attempt a restore again in order to populate the logs and this time it worked with no error.  Nothing has been changed since last night.  Did it just have to pass a certain time period to be a valid backup?



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 126928 posts
  • Local time: 10:42 PM

Posted 25 July 2018 - 01:45 AM

Hi, no, it should have been fine. I will do some testing and see if i can reproduce this. Thanks.



#7 Baldrdk OFFLINE  

Baldrdk

    Member

  • Members
  • 11 posts
  • Local time: 03:42 AM

Posted 25 July 2018 - 03:06 PM

Just had the same problem.

The funny thing is it didnt work in firefox, but it works in chrome.



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 126928 posts
  • Local time: 10:42 PM

Posted 25 July 2018 - 04:27 PM

We're looking into it. I can see how it could be a problem. We'll have an update to the plugin in the next day or so. Thanks.



#9 djhifi OFFLINE  

djhifi

    Advanced Member

  • Members
  • 464 posts
  • Local time: 02:42 AM
  • LocationLisboa - Portugal

Posted 18 September 2018 - 10:49 PM

Digging this up to give the heads up that I just had a "Backup & Restore" fail on me while using Microsoft Edge but it worked in Internet Explorer.

 

(using v1.2.9.0)

 

proof: https://emby.media/c...-fresh-43-beta/


Edited by djhifi, 18 September 2018 - 10:53 PM.


#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 126928 posts
  • Local time: 10:42 PM

Posted 19 September 2018 - 12:05 AM

Thanks.



#11 tdiguy OFFLINE  

tdiguy

    Advanced Member

  • Members
  • 1119 posts
  • Local time: 10:42 PM

Posted 15 March 2019 - 10:27 PM

Sorry i know this is an old thread, i just updated my server with a SSD that i found so i had to set up emby all over. I found when accessing emby via IP address i got errors saying invalid date. However when i used http://app.emby.media in a different tab ( same browser: chrome ) it was able to restore without issue.



#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 126928 posts
  • Local time: 10:42 PM

Posted 16 March 2019 - 11:35 PM

Interesting, thanks for the info.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users