rekit 16 Posted June 6, 2025 Posted June 6, 2025 When I run the scan media library task via the task scheduler (or when it's run on schedule), it seems to hang at 0.0% indefinitely. After running the task, this is the last bit in the log, and nothing else is added even though dashboard says it's scanning. 2025-06-06 12:13:32.024 Info TaskManager: Executing Scan media library 2025-06-06 12:13:32.024 Info Server: http/1.1 Response 204 to host1. Time: 3ms. POST http://192.168.1.144:8096/emby/ScheduledTasks/Running/6330ee8fb4a957f33981f89aa78b030f?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=73416c3c-0000-4414-8cc8-1131378307e0&X-Emby-Client-Version=4.8.11.0&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us If I cancel the scan on the dashboard under "running tasks" by clicking the X, the task says "stopping" in red letters, but never actually stops unless I restart the server. If I try to do a manual scan of an individual library while the red "stopping" text is still there (in other words, before starting the server), that manual scan doesn't happen. embyserver-4.txt 1
SShzin 32 Posted June 8, 2025 Posted June 8, 2025 I see this now as well, stuck at 99% instead of 0% and causes a hang (circle spinning). Latest stable version as well 4.8.11.0. Individually scanning each library works fine.
Solution rekit 16 Posted June 10, 2025 Author Solution Posted June 10, 2025 After rebooting my server, the scheduled task scan seem to be working normally again. @SShzinGive that a try 1 1
rekit 16 Posted June 14, 2025 Author Posted June 14, 2025 On 6/8/2025 at 1:18 PM, SShzin said: I see this now as well, stuck at 99% instead of 0% and causes a hang (circle spinning). Latest stable version as well 4.8.11.0. Individually scanning each library works fine. if restarting didn't work for you, I saw another thread where someone said the issue was one specific artwork file (thumbnail jpg or something). they narrowed it down by checking the log and seeing which file the scan was stalling on, and deleting that file.
SShzin 32 Posted June 14, 2025 Posted June 14, 2025 (edited) 7 minutes ago, rekit said: if restarting didn't work for you, I saw another thread where someone said the issue was one specific artwork file (thumbnail jpg or something). they narrowed it down by checking the log and seeing which file the scan was stalling on, and deleting that file. Thanks. Could you send the link to the thread so I can take a look? So the manual scan library by library works fine and doesn't cause the issue, so I'm not sure that's the issue I'm seeing but will delete the last file it lands on using the normal scan to try anyway. Reboot didn't fix it for me. Edited June 14, 2025 by SShzin
rekit 16 Posted June 17, 2025 Author Posted June 17, 2025 On 6/14/2025 at 10:58 AM, SShzin said: Thanks. Could you send the link to the thread so I can take a look? So the manual scan library by library works fine and doesn't cause the issue, so I'm not sure that's the issue I'm seeing but will delete the last file it lands on using the normal scan to try anyway. Reboot didn't fix it for me. quick search turned up a couple related
SShzin 32 Posted June 21, 2025 Posted June 21, 2025 I ran the debug logs to see what is going on and the last message on this thread is exactly what I'm seeing. It seems to be sitting here: `Debug App: Running post-scan task CleanDatabaseScheduledTask` I plan on letting it sit to see if it finishes.
SShzin 32 Posted June 21, 2025 Posted June 21, 2025 When that log hits, it looks like the database sits and isn't actually doing anything. Generally the time updates when the database is active, and it's sat at the same time that the CleanDatabaseScheduledTask started.
SShzin 32 Posted June 21, 2025 Posted June 21, 2025 Came across this stating that it's fast enough so something is happening with the clean database task causing the scan to hang.
Luke 42077 Posted June 23, 2025 Posted June 23, 2025 On 6/21/2025 at 4:54 PM, SShzin said: Came across this stating that it's fast enough so something is happening with the clean database task causing the scan to hang. On 6/21/2025 at 4:47 PM, SShzin said: When that log hits, it looks like the database sits and isn't actually doing anything. Generally the time updates when the database is active, and it's sat at the same time that the CleanDatabaseScheduledTask started. Hi there, please attach the Emby server log from when the problem occurred: How to Report a Problem 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