Jump to content

Configuration Backup task Failed


diego.rivera

Recommended Posts

diego.rivera

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!

Link to post
Share on other sites
diego.rivera

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

Link to post
Share on other sites
  • 3 weeks later...

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.

Link to post
Share on other sites

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...