Jump to content

Recommended Posts

andcbii
Posted (edited)

I'm trying to move emby from my nas to a windows PC. I get the following error when trying to restore users:

2019-05-07 17:05:37.543 Info Server Configuration Backup: Restored user data from Cam to Cam
2019-05-07 17:05:37.557 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.2.0.4
	Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Program data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\admin\AppData\Roaming\Emby-Server\system
	SQLitePCL.pretty.SQLiteException: Constraint: NOT NULL constraint failed: userdisplaypreferences.client
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3_stmt stmt, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at Emby.Server.Implementations.Data.SqliteDisplayPreferencesRepository.SaveDisplayPreferences(DisplayPreferences displayPreferences, Guid userId, String client, IDatabaseConnection connection)
	   at Emby.Server.Implementations.Data.SqliteDisplayPreferencesRepository.<>c__DisplayClass12_0.<SaveAllDisplayPreferences>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at Emby.Sqlite.ManagedConnection.RunInTransaction(Action`1 action, TransactionMode mode)
	   at Emby.Server.Implementations.Data.SqliteDisplayPreferencesRepository.SaveAllDisplayPreferences(IEnumerable`1 displayPreferences, Guid userId, CancellationToken cancellationToken)
	   at MBBackup.ServerEntryPoint.ExecuteRestore(BackupInfo settings, CancellationToken cancellationToken, IProgress`1 progress, Boolean isAuto)
	Source: SQLitePCL.pretty
	TargetSite: Void CheckOk(SQLitePCL.sqlite3, Int32)
	
2019-05-07 17:05:37.558 Info HttpServer: HTTP Response 500 to 192.168.10.170. Time: 977ms. http://192.168.10.9:8096/emby/MBBackup/Profiles/Restore

When I deselect several users and try to do the restore again it works as expected (although it took a while for the profile pictures to show up, cache?). 

 

Old Machine:

Synology rs3412xs

Emby: Version 4.2.0.1 beta

CPU: Core i3-2100

RAM: 4096 MB

DSM 6.2.1-23824 Update 6

 

New Machine: 

Widnows 10 64-bit

Emby: Version 4.2.0.4 beta

CPU: i7-8700k

RAM: 16GB

 

I've attached the log file. 

embyserver.txt

Edited by andcbii
  • 1 year later...
Posted

Was there ever a resolution to this one? Similar issue I am experiencing.

Posted
5 hours ago, ttgapers said:

Was there ever a resolution to this one? Similar issue I am experiencing.

Re: 

 

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