meddaugh 7 Posted May 28, 2016 Posted May 28, 2016 The server is unable to convert media now, it was working after my windows 10 upgrade. This is preventing Android devices syncing content since it cannot convert new media, so I have some sync jobs as "Cancelled". It worked until last night at 9:50p.... The 1st failure in the logs: ------------------------------------------------------------------------------------------------------------------------- 2016-05-27 22:01:42.4766 Info TaskManager: IntervalTrigger fired for task: Convert media2016-05-27 22:01:42.4766 Info TaskManager: Queueing task SyncConvertScheduledTask2016-05-27 22:01:42.4766 Info TaskManager: Executing Convert media2016-05-27 22:01:43.3203 Error TaskManager: Error *** Error Report *** Version: 3.0.5972.0 Command line: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 8 64-Bit OS: True 64-Bit Process: True Program data path: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Object reference not set to an instance of an object. System.NullReferenceException at MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<ProcessJobItem>d__70.MoveNext() --- 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 MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<SyncJobItems>d__5f.MoveNext() --- 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 MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<Sync>d__49.MoveNext() --- 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 MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__b.MoveNext() 2016-05-27 22:01:43.3203 Info TaskManager: Convert media Failed after 0 minute(s) and 0 seconds Just before that was an attempt to sync from an android device and it failed: ------------------------------------------------------------------------------------------------------------------------- 2016-05-27 21:50:10.5491 Error DtoUtils: ServiceBase<TRequest>::Service Exception *** Error Report *** Version: 3.0.5972.0 Command line: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 8 64-Bit OS: True 64-Bit Process: True Program data path: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Object reference not set to an instance of an object. System.NullReferenceException at MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<ProcessJobItem>d__70.MoveNext() --- 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 MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<SyncJobItems>d__5f.MoveNext() --- 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 MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<SyncJobItems>d__56.MoveNext() --- 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 MediaBrowser.Server.Implementations.Sync.SyncManager.<GetReadySyncItems>d__64.MoveNext() --- 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 MediaBrowser.Api.Sync.SyncService.<Get>d__19.MoveNext() 2016-05-27 21:50:10.5491 Error HttpServer: Error processing request for /emby/Sync/Items/Ready?TargetId=00000000-0000-0000-1e20-11c515484213&format=json *** Error Report *** Version: 3.0.5972.0 Command line: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 8 64-Bit OS: True 64-Bit Process: True Program data path: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Object reference not set to an instance of an object. ServiceStack.HttpError No Stack Trace Available 2016-05-27 21:50:10.5491 Info HttpServer: HTTP Response 500 to 192.168.66.197. Time: 797ms. http://192.168.66.75:8096/emby/Sync/Items/Ready?TargetId=00000000-0000-0000-1e20-11c515484213&format=json A force attempt to run a convert media: ------------------------------------------------------------------------------------------------------------------------- 2016-05-28 13:54:27.0911 Info TaskManager: Executing Convert media2016-05-28 13:54:28.5543 Error TaskManager: Error *** Error Report *** Version: 3.0.5972.0 Command line: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 8 64-Bit OS: True 64-Bit Process: True Program data path: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\meddaugh\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe Object reference not set to an instance of an object. System.NullReferenceException at MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<ProcessJobItem>d__70.MoveNext() --- 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 MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<SyncJobItems>d__5f.MoveNext() --- 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 MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<Sync>d__49.MoveNext() --- 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 MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__b.MoveNext() 2016-05-28 13:54:28.5543 Info TaskManager: Convert media Failed after 0 minute(s) and 1 seconds2016-05-28 13:54:28.7309 Info ServerManager: Sending web socket message NotificationAdded2016-05-28 13:54:28.7339 Info ServerManager: Sending web socket message ScheduledTaskEnded
Luke 42080 Posted May 28, 2016 Posted May 28, 2016 Hi, can you please attach the complete log file as well as any sync conversion log files? thanks.
meddaugh 7 Posted May 28, 2016 Author Posted May 28, 2016 Attached the log that has the first failure and latest. Is there a seperate "conversion" logs? I only see server-* and transcode-* ones. server-63600040381.txt server-63599904000.txt
meddaugh 7 Posted May 28, 2016 Author Posted May 28, 2016 I did try to sync a recorded show, which came up yesterday...it did not pick it correctly, so I deleted it. Not sure if that caused whatever is going on. The recorded show is still there, but I was not able to sync. Each time I picked it, it grabbed other shows, including ALL of them (40,000+) at one point, I quickly deleted that sync job. Thanks.
meddaugh 7 Posted May 28, 2016 Author Posted May 28, 2016 I did also try deleting the sync job....which worked and deleted the media off my tablet, but it cannot convert it again to sync it..... so I lost it there. Any help would be greatly appreciated. I've tried restart it, re-installing server, re-scanning library.... Thanks. ---Eric
meddaugh 7 Posted May 28, 2016 Author Posted May 28, 2016 Reboot of the server did not help, full startup logs attached... server-63600047931.txt
Solution meddaugh 7 Posted May 29, 2016 Author Solution Posted May 29, 2016 It's fixed, not ideal. I remove ALL sync jobs. Still same error, unable to convert media. I shutdown the server, went to the "data" directory and moved (didn't delete since I didn't know if it would cause an issue or not), all the "sync*.db" files. There were 4, (sync6.db, sync10.db, sync 11.db, sync14.db). I started the server back up, and the problem was fixed. I added my sync jobs and everything is moving now. I now have 1 sync14.db file and 2 others that are named the same, but end with "-shm" and "-wal". Not sure what really caused the issue, but it is fixed, all the sync jobs are resyncing themself back on the device.
Luke 42080 Posted May 29, 2016 Posted May 29, 2016 Interesting, thanks for the info. Just to confirm is related to that, have you tried syncing the very same files that were falling before?
meddaugh 7 Posted May 29, 2016 Author Posted May 29, 2016 Interesting, thanks for the info. Just to confirm is related to that, have you tried syncing the very same files that were falling before? Yes, there are correctly syncing now. Even after removing ALL sync jobs it still failed. I have copied of the 4 files if that helps to examine them to determine if there is a bug/issue. I can post them if they don't contain any private info....
Luke 42080 Posted May 29, 2016 Posted May 29, 2016 To be honest, looking at the code, nothing is even opening the older databases so it's possible the fix was coincidental, and whatever the actual problem is could potentially happen again. So let us know if you see it again. Thanks.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now