[GH-ISSUE #1722] Scanning my Library with docker exec...php artisan koel:sync -v throws on some files errors like Atom at offset... #946

Closed
opened 2026-02-26 02:34:43 +03:00 by kerem · 2 comments
Owner

Originally created by @dmuiX on GitHub (Nov 6, 2023).
Original GitHub issue: https://github.com/koel/koel/issues/1722

Describe the bug
Scanning my Library with docker exec --user www-data -it koel-koel-1 php artisan koel:sync -v throws on some files errors like:

Atom at offset 8708187 claims to go beyond end-of-file (length: 58679 bytes)

or

Caught exception: Undefined array key "data"

Files are fine. I can play them on Different Players/Plattforms.

To reproduce
Steps to reproduce the behavior:

  1. Just use docker exec --user www-data -it koel-koel-1 php artisan koel:sync -v to sync library.

Expected behavior
It should read my files as any other player/application does.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • Koel version v6.11.2 (Official Docker Image https://github.com/koel/docker)
  • OS: Official Docker Image with PostgresDB 16. Have tried it with PostgresDB 13 and mysql 8.2 and 5.7 => same result.
  • Browser Firefox (But doesn't matter as the problem occurs on the command line
  • PHP version Official Docker Image
  • Node version Official Docker Image

Additional context
They are all m4a Files. But some m4a files can be read even from the same album. I currently don't see a pattern.

Originally created by @dmuiX on GitHub (Nov 6, 2023). Original GitHub issue: https://github.com/koel/koel/issues/1722 **Describe the bug** Scanning my Library with `docker exec --user www-data -it koel-koel-1 php artisan koel:sync -v` throws on some files errors like: ``` Atom at offset 8708187 claims to go beyond end-of-file (length: 58679 bytes) ``` or ``` Caught exception: Undefined array key "data" ```` Files are fine. I can play them on Different Players/Plattforms. **To reproduce** Steps to reproduce the behavior: 1. Just use ```docker exec --user www-data -it koel-koel-1 php artisan koel:sync -v``` to sync library. **Expected behavior** It should read my files as any other player/application does. **Screenshots** If applicable, add screenshots to help explain your problem. **Environment** - Koel version v6.11.2 (Official Docker Image https://github.com/koel/docker) - OS: Official Docker Image with PostgresDB 16. Have tried it with PostgresDB 13 and mysql 8.2 and 5.7 => same result. - Browser Firefox (But doesn't matter as the problem occurs on the command line - PHP version Official Docker Image - Node version Official Docker Image **Additional context** They are all m4a Files. But some m4a files can be read even from the same album. I currently don't see a pattern.
kerem closed this issue 2026-02-26 02:34:43 +03:00
Author
Owner

@phanan commented on GitHub (Dec 28, 2023):

Koel relies on getId3 for parsing, so there's nothing I can do here.

<!-- gh-comment-id:1871127142 --> @phanan commented on GitHub (Dec 28, 2023): Koel relies on [getId3](https://www.getid3.org/) for parsing, so there's nothing I can do here.
Author
Owner

@dmuiX commented on GitHub (Dec 29, 2023):

That’s a pity. But then I will report in the git of getid3

<!-- gh-comment-id:1872090612 --> @dmuiX commented on GitHub (Dec 29, 2023): That’s a pity. But then I will report in the git of getid3
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#946
No description provided.