2024-06-18, 11:01 PM
(This post was last modified: 2024-06-18, 11:05 PM by Jamie Chapman.)
Quick update. I stopped the trickplay task to test if this issue was related to it running, but the concat file is still locked. I understand the basics of concatenation, if that is, in fact, what the concat file is there for. Just trying to understand what it might have to do with the audio normalization routine, and how to resolve it. Here is the latest log snip. Same issue.
[2024-06-18 18:49:18.368 -04:00] [ERR] [113] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
System.IO.IOException: The process cannot access the file 'C:\ProgramData\Jellyfin\Server\cache\transcodes\9cbab7c1-c9de-4bf9-bac5-375d176f962e.concat' because it is being used by another process.
at System.IO.FileSystem.DeleteFile(String fullPath)
at Emby.Server.Implementations.ScheduledTasks.Tasks.AudioNormalizationTask.ExecuteAsync(IProgress`1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
[2024-06-18 18:49:18.370 -04:00] [INF] [113] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Audio Normalization" Failed after 0 minute(s) and 5 seconds
And I finally noticed that the concat file is being generated every time I run the audio normalization task (a new concat file every time, all of the same size, all with the same data in them).
So I decided to open it up in a text editor, and it's just a listing of the files in my music library, albeit a very short list, possibly the files that the task was processing when it hit the error.
Now I'm wondering if this might be a file permission problem on one of the libraries. I'm going to try that next and will post back if that is the issue.
[2024-06-18 18:49:18.368 -04:00] [ERR] [113] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
System.IO.IOException: The process cannot access the file 'C:\ProgramData\Jellyfin\Server\cache\transcodes\9cbab7c1-c9de-4bf9-bac5-375d176f962e.concat' because it is being used by another process.
at System.IO.FileSystem.DeleteFile(String fullPath)
at Emby.Server.Implementations.ScheduledTasks.Tasks.AudioNormalizationTask.ExecuteAsync(IProgress`1 progress, CancellationToken cancellationToken)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
[2024-06-18 18:49:18.370 -04:00] [INF] [113] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Audio Normalization" Failed after 0 minute(s) and 5 seconds
And I finally noticed that the concat file is being generated every time I run the audio normalization task (a new concat file every time, all of the same size, all with the same data in them).
So I decided to open it up in a text editor, and it's just a listing of the files in my music library, albeit a very short list, possibly the files that the task was processing when it hit the error.
Now I'm wondering if this might be a file permission problem on one of the libraries. I'm going to try that next and will post back if that is the issue.
Jellyfin 10.9.11
Docker Desktop on Windows 11 using jellyfin/jellyfin:latest
AMD Ryzen 9 7950X
64GB DDR5-3600 RAM
NVIDIA RTX 3060 12GB
OS Drive: Samsung 990 Pro 2TB
Media & Config Drive (all): QNAP TS-932PX NAS with 5 x Seagate Ironwolf Pro 16TB in RAID5 connected with 10Gbps iSCSI link
Docker Desktop on Windows 11 using jellyfin/jellyfin:latest
AMD Ryzen 9 7950X
64GB DDR5-3600 RAM
NVIDIA RTX 3060 12GB
OS Drive: Samsung 990 Pro 2TB
Media & Config Drive (all): QNAP TS-932PX NAS with 5 x Seagate Ironwolf Pro 16TB in RAID5 connected with 10Gbps iSCSI link