Jump to content

Log File Cleanup Fails if Media is playing/paused


ServerGuy

Recommended Posts

ServerGuy

I've noticed that log file cleanup fails whenever something is being streamed or if media is paused by a client. It looks like a couple others may be having the issue as well from forum posts. I would just move the scheduled time, but I have users that play media all throughout the day and night. Below is a log snippet of the failed task. 

 

The process cannot access the file 'C:\Users\Administrator\AppData\Roaming\Emby-Server\logs\ffmpeg-transcode-678ff60b-87a5-4557-ad61-f012b362592d_1.txt' because it is being used by another process.
at System.IO.FileSystem.DeleteFile(String fullPath)
at System.IO.File.Delete(String path)
at Emby.Server.Implementations.ScheduledTasks.Tasks.DeleteLogFileTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
 
 
Link to comment
Share on other sites

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