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

Full Jellyfin Sync failing on "large" Music library #255

Open
kamilkosek opened this issue Oct 5, 2024 · 3 comments
Open

Full Jellyfin Sync failing on "large" Music library #255

kamilkosek opened this issue Oct 5, 2024 · 3 comments

Comments

@kamilkosek
Copy link

On a "large" music library (~40k Tracks) , the sync is failing with only the message:

Syncing... 1/7
Beginning User Sync
16 Rows Inserted.
User Sync Complete
Syncing... 2/7
Beginning Library Sync
3 Rows Inserted.
Syncing... 3/7
Beginning Library Item Sync
Error performing bulk insert:Bulk insert error: error: invalid message format
at sync.insertData (/app/backend/routes/sync.js:56:13: Error: Error: Error performing bulk insert:Bulk insert error: error: invalid message format

I think it has something to do with the size of the library as the insertBulk function tries to insert it all at once - maybe theres a limit, but dont know

@CyferShepard
Copy link
Owner

Hey @kamilkosek , can you provide me with the below information.
Environment Details:

  • OS: [e.g. Ubuntu]
  • Browser [e.g. chrome, Mozilla]
  • Jellystat Version [e.g. 1.0.0]
  • Jellyfin Version [e.g. 10.0.5]

Container Logs
If applicable, add Container Logs for your problem.

@kamilkosek
Copy link
Author

Sure :)
Jellystat 1.1.0 in Docker container
Chrome based most recent browser
Jellyfin 10.9.10

The container logs doesn´t say much:

[JELLYSTAT] Database exists. Skipping creation
FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
[JELLYSTAT] Server listening on http://127.0.0.1:3000

The logs inside Jellystat:

Syncing... 1/7
Beginning User Sync
16 Rows Inserted.
User Sync Complete
Syncing... 2/7
Beginning Library Sync
3 Rows Inserted.
Syncing... 3/7
Beginning Library Item Sync
Error performing bulk insert:Bulk insert error: error: invalid message format
at sync.insertData (/app/backend/routes/sync.js:56:13: Error: Error: Error performing bulk insert:Bulk insert error: error: invalid message format

@Nostradamus1973
Copy link

Has anyone found a fix for this?
I'm getting the same error in the logs:

Error performing bulk insert:Bulk insert error: error: invalid message format
at sync.insertData (/app/backend/routes/sync.js:55:13: Error: Error: Error performing bulk insert:Bulk insert error: error: invalid message format

OS: Ubuntu 24.04
Browser : Tried on Chrome and Mozilla
Jellystat Version: 1.1.1
Jellyfin Version: 10.10.3

Thank you and have a nice day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants