Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: LiteDB.LiteException: Maximum number of transactions reached #86

Closed
1 task done
bestouff opened this issue May 14, 2024 · 2 comments
Closed
1 task done
Labels
bug This PR or Issue describes or fixes something that isn't working duplicate This Issue or PR is a duplicate of an existing Issue or PR

Comments

@bestouff
Copy link

bestouff commented May 14, 2024

Please describe your bug

While updating the metadata, the process aborts with the message LiteDB.LiteException: Maximum number of transactions reached.

Reproduction Steps

Simply click "update all metadata" in the dashboard.
Happens systematically.

Jellyfin Version

10.9.0

if other:

No response

Environment

- OS:Debian 11
- Linux Kernel: 6.1.0-18-amd64
- Virtualization: no
- Clients: N/A
- Browser: N/A
- FFmpeg Version: bundled jellyfin-ffmpeg
- Playback Method: N/A
- Hardware Acceleration: N/A
- GPU Model: N/A
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

mai 14 20:35:15 awak jellyfin[2428612]: [20:35:15] [INF] Started library sync 
mai 14 20:35:15 awak jellyfin[2428612]: [20:35:15] [ERR] An error has occurred in LibraryUpdateTimerCallback 
mai 14 20:35:15 awak jellyfin[2428612]: LiteDB.LiteException: Maximum number of transactions reached 
mai 14 20:35:15 awak jellyfin[2428612]:    at LiteDB.Engine.TransactionMonitor.GetTransaction(Boolean create, Boolean queryOnly, Boolean& isNew) 
mai 14 20:35:15 awak jellyfin[2428612]:    at LiteDB.Engine.QueryExecutor.ExecuteQuery(Boolean executionPlan) 
mai 14 20:35:15 awak jellyfin[2428612]:    at LiteDB.Engine.LiteEngine.Query(String collection, Query query) 
mai 14 20:35:15 awak jellyfin[2428612]:    at LiteDB.LiteQueryable`1.ToDocuments()+MoveNext() 
mai 14 20:35:15 awak jellyfin[2428612]:    at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext() 
mai 14 20:35:15 awak jellyfin[2428612]:    at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1] source, Boolean& found) 
mai 14 20:35:15 awak jellyfin[2428612]:    at Jellyfin.Plugin.KodiSyncQueue.Data.DbRepo.WriteLibrarySync(IEnumerable`1 items, ItemStatus status) 
mai 14 20:35:15 awak jellyfin[2428612]:    at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification.UpdateLibrary(IReadOnlyCollection`1 items, ItemStatus status) 
mai 14 20:35:15 awak jellyfin[2428612]:    at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification.PushChangesToDb(IReadOnlyCollection`1 itemsAdded, IReadOnlyCollection`1 itemsUpdated, IReadOnlyCollection`1 itemsRemoved) 
mai 14 20:35:15 awak jellyfin[2428612]:    at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification.LibraryUpdateTimerCallback(Object state) 
mai 14 20:35:15 awak jellyfin[2428612]: [20:35:15] [INF] Deleting dead Studio be547939a61cc10350babdf7dbb0f356 Ay Yapım 
mai 14 20:35:15 awak jellyfin[2428612]: [20:35:15] [INF] Removing item, Type: Studio, Name: Ay Yapım, Path: /var/lib/jellyfin/metadata/Studio/Ay Yapım, Id: be547939-a61c-c103-50ba-bdf7dbb0f356 
mai 14 20:35:15 awak jellyfin[2428612]: [20:35:15] [INF] Deleting dead Studio 4396070123f325f3b79862212bee3228 Blenkov & Schønnemann Pictures 
mai 14 20:35:15 awak jellyfin[2428612]: [20:35:15] [INF] Removing item, Type: Studio, Name: Blenkov & Schønnemann Pictures, Path: /var/lib/jellyfin/metadata/Studio/Blenkov & Schønnemann Pictures, Id: 43960701-23f3-25f3-b798-62212bee3228 
mai 14 20:35:15 awak jellyfin[2428612]: [20:35:15] [INF] Deleting dead Studio 5efb51a94464de146fbb77a33d65dd90 Zola Yapım 
mai 14 20:35:15 awak jellyfin[2428612]: [20:35:15] [INF] Removing item, Type: Studio, Name: Zola Yapım, Path: /var/lib/jellyfin/metadata/Studio/Zola Yapım, Id: 5efb51a9-4464-de14-6fbb-77a33d65dd90 
mai 14 20:35:16 awak jellyfin[2428612]: [20:35:16] [INF] Analyser la médiathèque Completed after 0 minute(s) and 30 seconds 
mai 14 20:35:16 awak jellyfin[2428612]: [20:35:16] [INF] Watching directory /var/lib/jellyfin/data/collections

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@bestouff bestouff added the bug This PR or Issue describes or fixes something that isn't working label May 14, 2024
@jellyfin-bot
Copy link
Contributor

Hi, it seems like your issue report has the following item(s) that need to be addressed:

  • You have not filled in the environment completely.

This is an automated message, currently under testing. Please file an issue here if you encounter any problems.

@Bond-009 Bond-009 transferred this issue from jellyfin/jellyfin May 14, 2024
@mcarlton00 mcarlton00 added the duplicate This Issue or PR is a duplicate of an existing Issue or PR label May 14, 2024
@mcarlton00
Copy link
Member

Duplicate of #83

@mcarlton00 mcarlton00 marked this as a duplicate of #83 May 14, 2024
@mcarlton00 mcarlton00 closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This PR or Issue describes or fixes something that isn't working duplicate This Issue or PR is a duplicate of an existing Issue or PR
Projects
Archived in project
Development

No branches or pull requests

3 participants