Jump to content

Auto Organize Not Sorting


Go to solution Solved by Luke,

Recommended Posts

scubafossil
Posted

Hey I am having problems with auto organizing saying fail.  Here is the Log please advise.  This only started happening after the new update.

 

 

 

-08-28 14:48:16.517 Error TaskManager: Error
    *** Error Report ***
    Version: 3.2.30.0
    Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -restartpath /usr/lib/emby-server/restart.sh
    Operating system: Unix 4.9.30.0
    64-Bit OS: True
    64-Bit Process: True
    Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Tue Aug 8 14:05:52 UTC 2017)
    Processor count: 8
    Program data path: /config
    Application directory: /usr/lib/emby-server/bin
    System.MissingMethodException: Method 'MediaBrowser.Model.Entities.VirtualFolderInfo.get_Locations' not found.
     at System.Linq.Enumerable+<SelectManyIterator>c__Iterator2`2[TSource,TResult].MoveNext () [0x00059] in <2392cff65f724abaaed9de072f62bc4a>:0
     at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <2392cff65f724abaaed9de072f62bc4a>:0
     at Emby.AutoOrganize.Core.TvFolderOrganizer+<Organize>d__11.MoveNext () [0x00074] in <b936c301d0ff4b0882e06fc81eb084c9>:0
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at Emby.AutoOrganize.Core.OrganizerScheduledTask+<Execute>d__14.MoveNext () [0x000ea] in <b936c301d0ff4b0882e06fc81eb084c9>:0
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>d__68.MoveNext () [0x00181] in <d98d76133ab54bd1a2c528dff0f34a54>:0
    System.MissingMethodException
     at System.Linq.Enumerable+<SelectManyIterator>c__Iterator2`2[TSource,TResult].MoveNext () [0x00059] in <2392cff65f724abaaed9de072f62bc4a>:0
     at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <2392cff65f724abaaed9de072f62bc4a>:0
     at Emby.AutoOrganize.Core.TvFolderOrganizer+<Organize>d__11.MoveNext () [0x00074] in <b936c301d0ff4b0882e06fc81eb084c9>:0
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at Emby.AutoOrganize.Core.OrganizerScheduledTask+<Execute>d__14.MoveNext () [0x000ea] in <b936c301d0ff4b0882e06fc81eb084c9>:0
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
     at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>d__68.MoveNext () [0x00181] in <d98d76133ab54bd1a2c528dff0f34a54>:0
    

 

  • Solution
Posted

Hi, make sure all of your plugins are fully up to date. Thanks.

  • Like 1
scubafossil
Posted

Thank you Luke.  All my plugins were out of date.  Thought they were getting auto updated.  Updating fixed this problem along with some weird ones I was having with Kodi update addon.  Is there a way to make  them auto update? or atleast not have to go to the catalog and do them 1 by 1?

 

Thank you,

 

Scubafossil

Posted

Hi, they do auto-update, it's just that in this case it did not happen immediately after your update and that's why you had a problem.

  • 3 weeks later...
Posted

I am having a problem with Auto-Organize not moving my files to the proper folders. When I try to add the manually, it gives me an "Internal Server Error". I have checked my folder permissions and they are correct.

Emby Server is version 3.2.30.0 and I'm running it on Linux Mint 18.2.

Auto-organize is version 1.0.6447.37135.

Can anyone give me a suggestion on how to fix this. It was working Sunday, but today it is not.

 

Thanks in advance.

Posted

Here is my latest server log.  I hope this helps.

 

 

Posted

Did you forget to attach the log?

Posted

No. The file is only 152k and for whatever reason, it will not upload the file to the message. Is there another way I can send it to you?

Posted

Hi, is this the log from the time of the auto-organize attempt? I do not see that activity. Thanks.

Posted

Ok yes it would appear that Emby Server does not have write access to the destination folder:

System.UnauthorizedAccessException: Access to the path "/mnt/Storage/New Media/Season 7/Game of Thrones S07E03 1080p Web x265.mp4" or "/mnt/TV-Shows/Game of Thrones/Season 7/Game of Thrones - S07E03 - The Queen's Justice.mp4" is denied.
	  at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) [0x001c4] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.CopyFile (System.String source, System.String target, System.Boolean overwrite) [0x00020] in <8e5988ed7bfd4344aeb3bfa06c0dadea>:0 
	  at Emby.AutoOrganize.Core.EpisodeFileOrganizer.PerformFileSorting (Emby.AutoOrganize.Model.TvFileOrganizationOptions options, Emby.AutoOrganize.Model.FileOrganizationResult result) [0x00071] in <4d2448266e2b4732b4269522b143258f>:0 
	System.UnauthorizedAccessException
	  at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) [0x001c4] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.CopyFile (System.String source, System.String target, System.Boolean overwrite) [0x00020] in <8e5988ed7bfd4344aeb3bfa06c0dadea>:0 
	  at Emby.AutoOrganize.Core.EpisodeFileOrganizer.PerformFileSorting (Emby.AutoOrganize.Model.TvFileOrganizationOptions options, Emby.AutoOrganize.Model.FileOrganizationResult result) [0x00071] in <4d2448266e2b4732b4269522b143258f>:0 
Posted

Thanks Luke,

 

I reset permissions for all the files and folders. That fixed the problem I was having.  Everything seems to be working now.

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