Jump to content


Photo

Configuration Backup task Failed

configuration backup qnap backup configuration

  • Please log in to reply
3 replies to this topic

#1 diego.rivera OFFLINE  

diego.rivera

    Advanced Member

  • Members
  • 31 posts
  • Local time: 11:35 PM

Posted 16 March 2019 - 10:55 AM

Hi!

 

I'm noticing that the Configuration Backup task is consistently failing.  This is the error in the logs (after running it manually):

2019-03-16 08:48:16.442 Info HttpServer: HTTP POST https://embyserver:8920/emby/ScheduledTasks/Running/a1e4a7962c72ac5e491497598d1ee479. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36
2019-03-16 08:48:16.446 Info TaskManager: Executing Configuration Backup
2019-03-16 08:48:16.446 Info HttpServer: HTTP Response 204 to 192.168.1.1. Time: 4ms. https://embyserver:8920/emby/ScheduledTasks/Running/a1e4a7962c72ac5e491497598d1ee479
2019-03-16 08:48:16.458 Info HttpClient: POST https://mb3admin.com/admin/service/registration/validate
2019-03-16 08:48:16.465 Error TaskManager: Error
	*** Error Report ***
	Version: 4.0.2.0
	Command line: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system/EmbyServer.dll -programdata /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata -ffdetect /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffdetect -ffmpeg /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffmpeg -ffprobe /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffprobe -defaultdirectory /share/CACHEDEV1_DATA -updatepackage emby-server-qnap_{version}_x86_64.qpkg
	Operating system: Unix 4.2.8.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata
	Application directory: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Server.Implementations.IO.SharpCifsFileSystem.IsEnabledForPath(String path)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.DirectoryExists(String path)
	   at MBBackup.ServerEntryPoint.ExecuteBackup(BackupProfile settings, CancellationToken cancellationToken, IProgress`1 progress, Boolean isAuto)
	   at MBBackup.Entities.ScheduledBackupTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
	Source: Emby.Server.Implementations
	TargetSite: Boolean IsEnabledForPath(System.String)
	   at Emby.Server.Implementations.IO.SharpCifsFileSystem.IsEnabledForPath(String path)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.DirectoryExists(String path)
	   at MBBackup.ServerEntryPoint.ExecuteBackup(BackupProfile settings, CancellationToken cancellationToken, IProgress`1 progress, Boolean isAuto)
	   at MBBackup.Entities.ScheduledBackupTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
	
2019-03-16 08:48:16.465 Info TaskManager: Configuration Backup Failed after 0 minute(s) and 0 seconds

Any ideas?

 

I'd attach the full log but I don't think it's relevant in this case since there's an exact, isolated error with a stack trace. Feel free to correct me if I'm wrong, though...

 

Cheers!



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124278 posts
  • Local time: 01:35 AM

Posted 16 March 2019 - 11:59 AM

Make sure you have configured a backup location in the plugin settings.

#3 diego.rivera OFFLINE  

diego.rivera

    Advanced Member

  • Members
  • 31 posts
  • Local time: 11:35 PM

Posted 16 March 2019 - 04:41 PM

You're absolutely right! I overlooked that little detail... is there an easy way to backup the media database per-se?



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124278 posts
  • Local time: 01:35 AM

Posted 01 April 2019 - 02:07 PM

the database is not something that we recommend backing up, but if you want to, then i would just backup the whole programdata folder:

/share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata

Please let us know if this helps. Thanks.







Also tagged with one or more of these keywords: configuration backup, qnap, backup, configuration

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users