![]() |
|
Database Locked - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Database Locked (/t-database-locked) |
Database Locked - enesha - 2025-11-09 Greetings All I've been spammed with errors in the log files recently. Such as these two: [16:11:12] [ERR] [24] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL POST /Sessions/Playing/Progress. Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'. and Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded. It seems to happen randomly, tho it is especially angry when I do a library scan orguide update (like 4000 streaming channels). It eventually starts glitching, and grinds to a halt and I have to restart the docker. It is even missing media files. I added a show called Earth Abides, it seems to know the directory is there, but the media doesn't show in JF. The log can be found here : https://drive.google.com/file/d/1ZqomKcRYg_fTJxXmHzbaBs-LmIM3ge75/view?usp=sharing Thoughts are appreciated
RE: Database Locked - enesha - 2025-11-10 Ok guys sorrym, I found the answer. I swear I searched here and google before I posted, but whatever, maybe I used the wrong terms.. The solution was found from here at: https://jellyfin.org/docs/general/administration/troubleshooting/#database-locked-errors just in case anyone else searches better than I. Thanks for looking |