mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Issue]: Common database error since 10.9 #5789
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @derrezzz on GitHub (May 18, 2024).
Please describe your bug
Since the last update errors like below occur occasionally and randomly.
they are not blocking but are quite common.
No problems before update
Reproduction Steps
Docker container
Jellyfin Version
10.9.0
if other:
No response
Environment
Jellyfin logs
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct
@jellyfin-bot commented on GitHub (May 18, 2024):
Hi, it seems like your issue report has the following item(s) that need to be addressed:
This is an automated message, currently under testing. Please file an issue here if you encounter any problems.
@Cloud9Developer commented on GitHub (May 18, 2024):
attempt to write a readonly databaseLooks to be a permissions issue.install type? (docker, baremetal)
@derrezzz commented on GitHub (May 18, 2024):
Docker
I'll check this weekend to see if the bug is still present since update 10.9.2 and I'll report back on Monday
@derrezzz commented on GitHub (May 18, 2024):
This error is back
@Cloud9Developer commented on GitHub (May 18, 2024):
How large is your library?
@derrezzz commented on GitHub (May 18, 2024):
More than 20k files
@devpatf commented on GitHub (May 19, 2024):
getting the same error randomly with about 30k items (episodes + movies).
using latest
10.9.2@Xameon42 commented on GitHub (May 22, 2024):
I am unsure whether the first and second errors are related, as I have only noticed the second error in my installation so far.
I have also tried to reproduce this and in my case the error can be triggered by playing an episode from a very large series (>1000 episodes).
Smaller series (tested with one with just over 600 episodes) do not trigger the error for me.
@TheNamelessWonderer commented on GitHub (Jun 6, 2024):
Same issue on Docker but only since 10.9.5:
Can't scan any new media into Jellyfin now. Is the only solution to wipe everything and start again?
@TheNamelessWonderer commented on GitHub (Jun 6, 2024):
Ran
docker compose downand thendocker compose up -dand this has fixed the issue. When I updated I only diddocker compose pulland thendocker compose up -d. This shouldn't really make a difference but it is working now.Edit: issue is back now. After using Jellyfin for a bit longer.
@CallMeVerity commented on GitHub (Jun 7, 2024):
Hi,
I am going through the same problems.
This is intermittent and affects watch history, progress, etc. but they happen predominantly to library.db SQLite database as I stated earlier.
But the jellyfin.db is being used properly by the Docker container and it reads/writes to config/cache folders without any problem. I would also like to mention that my configuration and cache directories are on the host machine rather than inside of the Docker container in my set up. These two locations are mounted at /config and /cache respectively. Moreover, all other data including reading and writing does not have any issues in this respect.
@Shadowghost commented on GitHub (Jun 7, 2024):
Please update to 10.9.6
@EcceGratum commented on GitHub (Jun 7, 2024):
Had 100% repro while scanning a music folder, 10.9.6 fixed it for me.
@CallMeVerity commented on GitHub (Jun 10, 2024):
I believe this issue is now fixed since the 10.9.6 update. I've not had this issue since updating.
@derrezzz commented on GitHub (Jun 10, 2024):
Yes, no database lock since 10.9.6
Thanks