Cannot Remove Library Folder

I'm running v-2.2.1 in a Truenas jail.
I have a library folder that has a large number of corrupt files.
I am working to eliminate all of the corrupt files with mpck.
In Serviio I selected delete on the folder's drop down and hit Save. Serviio ran for quite a while before Error 500.
Now, when I try again, I get Error 500 almost immediately, again and again, so I am unable to remove the folder from the library.
How can I fix this?
Thank You
I have a library folder that has a large number of corrupt files.
I am working to eliminate all of the corrupt files with mpck.
In Serviio I selected delete on the folder's drop down and hit Save. Serviio ran for quite a while before Error 500.
Now, when I try again, I get Error 500 almost immediately, again and again, so I am unable to remove the folder from the library.
How can I fix this?
Thank You