Jump to content

Timeouts and deletions


CBers

Recommended Posts

CBers

Hi @@jurmb84.

 

The sync won't run on my Fire TV - it's seems to be timing out.

 

The Kodi log contains thisn

 

09:52:43 T:1738562424  NOTICE: .
09:53:43 T:1738562424  NOTICE: EMBY DownloadUtils -> Server unreachable at: http://192.168.1.140:8096/Emby.Kodi.SyncQueue/fe8e98c1df54d9b502474bab46ee8982/GetItems?LastUpdateDT=2015-08-21T08%3A27%3A31Z&format=json
09:53:43 T:1738562424  NOTICE: Sync Database -> Incremental Sync Changes :
09:53:43 T:1738562424   ERROR: Exception in thread Thread-9:
                                            Traceback (most recent call last):
                                              File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/threading.py", line 532, in __bootstrap_inner
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/LibrarySync.py", line 998, in run
                                                libSync = self.FullLibrarySync()
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby/resources/lib/LibrarySync.py", line 95, in FullLibrarySync
                                                changedItems = results["ItemsUpdated"] + results["ItemsAdded"]
                                            TypeError: string indices must be integers, not str
09:53:44 T:1577656632  NOTICE: EMBY Service -> Server is online and ready. 
In the server log I see this:

 

2015-08-30 09:52:25.3884 Error - App: Emby.Kodi.SyncQueue:  Error writing data to database:  'UPDATE ItemsUpdatedQueue SET lastModified = '2015-08-30T08:51:55Z' WHERE itemId = '3738dbf53388c91aeb9ecd58f7c751a2' and  userId = 'c5f2c750b39b1e5562e6836879185489''
2015-08-30 09:52:25.4734 Error - App: database is locked. database is locked
	*** Error Report ***
	Version: 3.0.5719.35477
	Command line: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Media\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	database is locked
	database is locked
	System.Data.SQLite.SQLiteException
	   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
	   at System.Data.SQLite.SQLiteDataReader.NextResult()
	   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
	   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
	   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
	   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
	   at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
	--- 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.Kodi.SyncQueue.Helpers.DataHelper.<LibrarySetItem>d__0.MoveNext()
Is this because the Library Scan is running?

 

Kodi log.

 

Also, I've just got home from a week's holiday and when I started Kodi on my Nexus Player last night, I had 15466 deletes in the "Incremental Sync Delete" processing queue.

 

I haven't deleted anything whilst away, only added stuff automatically.

 

Any ideas please as to what is happening?

 

.

Edited by CBers
Link to comment
Share on other sites

Angelblue05

I had the same problem. It's because of all these items to remove. The connection times out because it's trying to get all these items at once. We are still looking into it.

Link to comment
Share on other sites

CBers

OK, thanks.

 

Means I don't get new updates on my Fire TV though.

 

I have disabled the Incremental Sync for now and reverted to the old method.

Link to comment
Share on other sites

cw-kid

So does this mean it will actually delete content you have not selected to delete yourself? Or just remove items from the library and leave the files on the server? Sounds a bit worrying. 

 

Thanks

Link to comment
Share on other sites

xnappo

No, it is just like the server changed all the people IDs to something else - we aren't sure yet.

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...