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

Komga fails to generate thumbnails for certain EPUB files #1835

Closed
5 tasks done
zhen-huan-hu opened this issue Jan 21, 2025 · 5 comments
Closed
5 tasks done

Komga fails to generate thumbnails for certain EPUB files #1835

zhen-huan-hu opened this issue Jan 21, 2025 · 5 comments

Comments

@zhen-huan-hu
Copy link

zhen-huan-hu commented Jan 21, 2025

Steps to reproduce

Add certain EPUB files and have Komga scan/analyze the file

Expected behavior

Komga generates the thumbnail of the file

Actual behavior

Thumbnail not generated.

Logs

2025-01-21T00:26:15.305-06:00  INFO 1 --- [http-nio-25600-exec-20] o.g.komga.application.tasks.TaskEmitter  : Sending task: AnalyzeBook(bookId='0JJJ0J7CPQYYK', priority='6')
2025-01-21T00:26:15.329-06:00 DEBUG 1 --- [task-4] o.g.k.application.tasks.TaskProcessor    : Active count: 0, Core Pool Size: 1, Pool Size: 1
2025-01-21T00:26:15.329-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Try to process first available task
2025-01-21T00:26:15.338-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Found task to process: AnalyzeBook(bookId='0JJJ0J7CPQYYK', priority='6')
2025-01-21T00:26:15.338-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Executing task: AnalyzeBook(bookId='0JJJ0J7CPQYYK', priority='6')
2025-01-21T00:26:15.344-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.domain.service.BookLifecycle   : Analyze and persist book: Book(name=An American Marriage (Oprah's B - Tayari Jones, url=file:/media/Neptune/Books/Fictions/An%20American%20Marriage%20(Oprah's%20B%20-%20Tayari%20Jones.epub, fileLastModified=2025-01-20T00:49:45.462, fileSize=3244898, fileHash=406ad6569222f0e6fcef579ed74a46a6, fileHashKoreader=, number=6, id=0JJJ0J7CPQYYK, seriesId=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC, deletedDate=null, oneshot=false, createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-20T23:57:50.537)
2025-01-21T00:26:15.348-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.domain.service.BookAnalyzer    : Trying to analyze book: Book(name=An American Marriage (Oprah's B - Tayari Jones, url=file:/media/Neptune/Books/Fictions/An%20American%20Marriage%20(Oprah's%20B%20-%20Tayari%20Jones.epub, fileLastModified=2025-01-20T00:49:45.462, fileSize=3244898, fileHash=406ad6569222f0e6fcef579ed74a46a6, fileHashKoreader=, number=6, id=0JJJ0J7CPQYYK, seriesId=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC, deletedDate=null, oneshot=false, createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-20T23:57:50.537)
2025-01-21T00:26:15.383-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.domain.service.BookAnalyzer    : Detected media type: application/epub+zip
2025-01-21T00:26:15.546-06:00 DEBUG 1 --- [scheduling-1] o.g.komga.interfaces.sse.SseController   : Publish SSE: 'TaskQueueStatus':TaskQueueSseDto(count=1, countByType={AnalyzeBook=1})
2025-01-21T00:26:15.649-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.i.kobo.KepubConverter              : Starting conversion with: /usr/bin/kepubify /media/Neptune/Books/Fictions/An American Marriage (Oprah's B - Tayari Jones.epub -o /tmp/An American Marriage (Oprah's B - Tayari Jones.kepub.epub
2025-01-21T00:26:15.744-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.i.kobo.KepubConverter              : kepubify output: Kepubify v4.0.4

[  1/  1] Converting /media/Neptune/Books/Fictions/An American Marriage (Oprah's B - Tayari Jones.epub

1 total: 1 converted, 0 copied, 0 skipped, 0 errored
2025-01-21T00:26:16.120-06:00  INFO 1 --- [taskProcessor-1] o.g.k.i.m.epub.EpubExtractor             : Epub Divina detection failed: book is not fixed layout
2025-01-21T00:26:16.212-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskEmitter  : Sending task: GenerateBookThumbnail(bookId='0JJJ0J7CPQYYK', priority='7')
2025-01-21T00:26:16.217-06:00 DEBUG 1 --- [task-1] o.g.komga.interfaces.sse.SseController   : Publish SSE: 'BookChanged':BookSseDto(bookId=0JJJ0J7CPQYYK, seriesId=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC)
2025-01-21T00:26:16.232-06:00 DEBUG 1 --- [task-7] o.g.k.application.tasks.TaskProcessor    : Active count: 1, Core Pool Size: 1, Pool Size: 1
2025-01-21T00:26:16.233-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskEmitter  : Sending task: RefreshBookMetadata(bookId='0JJJ0J7CPQYYK', capabilities=[TITLE, SUMMARY, NUMBER, NUMBER_SORT, RELEASE_DATE, AUTHORS, TAGS, ISBN, READ_LISTS, THUMBNAILS, LINKS], priority='7')
2025-01-21T00:26:16.254-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Task AnalyzeBook(bookId='0JJJ0J7CPQYYK', priority='6') executed in 916.241566ms
2025-01-21T00:26:16.255-06:00 DEBUG 1 --- [task-3] o.g.k.application.tasks.TaskProcessor    : Active count: 1, Core Pool Size: 1, Pool Size: 1
2025-01-21T00:26:16.255-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Task processed, remove it from the queue: AnalyzeBook(bookId='0JJJ0J7CPQYYK', priority='6')
2025-01-21T00:26:16.261-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Active count: 1, Core Pool Size: 1, Pool Size: 1
2025-01-21T00:26:16.261-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Try to process first available task
2025-01-21T00:26:16.322-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Found task to process: GenerateBookThumbnail(bookId='0JJJ0J7CPQYYK', priority='7')
2025-01-21T00:26:16.322-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Executing task: GenerateBookThumbnail(bookId='0JJJ0J7CPQYYK', priority='7')
2025-01-21T00:26:16.324-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.domain.service.BookLifecycle   : Generate thumbnail and persist for book: Book(name=An American Marriage (Oprah's B - Tayari Jones, url=file:/media/Neptune/Books/Fictions/An%20American%20Marriage%20(Oprah's%20B%20-%20Tayari%20Jones.epub, fileLastModified=2025-01-20T00:49:45.462, fileSize=3244898, fileHash=406ad6569222f0e6fcef579ed74a46a6, fileHashKoreader=, number=6, id=0JJJ0J7CPQYYK, seriesId=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC, deletedDate=null, oneshot=false, createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-20T23:57:50.537)
2025-01-21T00:26:16.327-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.domain.service.BookAnalyzer    : Generate thumbnail for book: BookWithMedia(book=Book(name=An American Marriage (Oprah's B - Tayari Jones, url=file:/media/Neptune/Books/Fictions/An%20American%20Marriage%20(Oprah's%20B%20-%20Tayari%20Jones.epub, fileLastModified=2025-01-20T00:49:45.462, fileSize=3244898, fileHash=406ad6569222f0e6fcef579ed74a46a6, fileHashKoreader=, number=6, id=0JJJ0J7CPQYYK, seriesId=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC, deletedDate=null, oneshot=false, createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-20T23:57:50.537), media=Media(status=READY, mediaType=application/epub+zip, comment=null, bookId='0JJJ0J7CPQYYK', createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-21T00:26:16.191))
2025-01-21T00:26:16.349-06:00 ERROR 1 --- [taskProcessor-1] o.g.komga.domain.service.BookLifecycle   : Error while creating thumbnail
2025-01-21T00:26:16.352-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Task GenerateBookThumbnail(bookId='0JJJ0J7CPQYYK', priority='7') executed in 29.854919ms
2025-01-21T00:26:16.354-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Task processed, remove it from the queue: GenerateBookThumbnail(bookId='0JJJ0J7CPQYYK', priority='7')
2025-01-21T00:26:16.362-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Active count: 1, Core Pool Size: 1, Pool Size: 1
2025-01-21T00:26:16.362-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Try to process first available task
2025-01-21T00:26:16.382-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Found task to process: RefreshBookMetadata(bookId='0JJJ0J7CPQYYK', capabilities=[LINKS, NUMBER_SORT, RELEASE_DATE, ISBN, TAGS, READ_LISTS, THUMBNAILS, NUMBER, AUTHORS, TITLE, SUMMARY], priority='7')
2025-01-21T00:26:16.383-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Executing task: RefreshBookMetadata(bookId='0JJJ0J7CPQYYK', capabilities=[LINKS, NUMBER_SORT, RELEASE_DATE, ISBN, TAGS, READ_LISTS, THUMBNAILS, NUMBER, AUTHORS, TITLE, SUMMARY], priority='7')
2025-01-21T00:26:16.385-06:00  INFO 1 --- [taskProcessor-1] o.g.k.d.service.BookMetadataLifecycle    : Refresh metadata for book: Book(name=An American Marriage (Oprah's B - Tayari Jones, url=file:/media/Neptune/Books/Fictions/An%20American%20Marriage%20(Oprah's%20B%20-%20Tayari%20Jones.epub, fileLastModified=2025-01-20T00:49:45.462, fileSize=3244898, fileHash=406ad6569222f0e6fcef579ed74a46a6, fileHashKoreader=, number=6, id=0JJJ0J7CPQYYK, seriesId=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC, deletedDate=null, oneshot=false, createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-20T23:57:50.537) with capabilities: [LINKS, NUMBER_SORT, RELEASE_DATE, ISBN, TAGS, READ_LISTS, THUMBNAILS, NUMBER, AUTHORS, TITLE, SUMMARY]
2025-01-21T00:26:16.400-06:00  INFO 1 --- [taskProcessor-1] o.g.k.d.service.BookMetadataLifecycle    : Library is not set to import book or read lists metadata for this provider, skipping: IsbnBarcodeProvider
2025-01-21T00:26:16.402-06:00  INFO 1 --- [taskProcessor-1] o.g.k.d.service.BookMetadataLifecycle    : Library is not set to import book or read lists metadata for this provider, skipping: ComicInfoProvider
2025-01-21T00:26:16.403-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.BookMetadataLifecycle    : Provider: EpubMetadataProvider
2025-01-21T00:26:16.444-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.BookMetadataLifecycle    : Apply metadata for book: Book(name=An American Marriage (Oprah's B - Tayari Jones, url=file:/media/Neptune/Books/Fictions/An%20American%20Marriage%20(Oprah's%20B%20-%20Tayari%20Jones.epub, fileLastModified=2025-01-20T00:49:45.462, fileSize=3244898, fileHash=406ad6569222f0e6fcef579ed74a46a6, fileHashKoreader=, number=6, id=0JJJ0J7CPQYYK, seriesId=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC, deletedDate=null, oneshot=false, createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-20T23:57:50.537)
2025-01-21T00:26:16.453-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.BookMetadataLifecycle    : Original metadata: BookMetadata(numberSort=6.0, releaseDate=2019-02-03, authors=[Author(Tayari Jones, writer)], isbn='', links=[], titleLock=false, summaryLock=false, numberLock=false, numberSortLock=false, releaseDateLock=false, authorsLock=false, tagsLock=false, isbnLock=false, linksLock=false, bookId='0JJJ0J7CPQYYK', createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-21T00:14:54.450, title='An American Marriage (Oprah's Book Club)', summary='', number='6', tags=[])
2025-01-21T00:26:16.463-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.BookMetadataLifecycle    : Patch: BookMetadataPatch(title=An American Marriage (Oprah's Book Club), summary=null, number=null, numberSort=null, releaseDate=2019-02-03, authors=[Author(Tayari Jones, writer)], isbn=null, links=null, tags=null, readLists=[])
2025-01-21T00:26:16.465-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.BookMetadataLifecycle    : Patched metadata: BookMetadata(numberSort=6.0, releaseDate=2019-02-03, authors=[Author(Tayari Jones, writer)], isbn='', links=[], titleLock=false, summaryLock=false, numberLock=false, numberSortLock=false, releaseDateLock=false, authorsLock=false, tagsLock=false, isbnLock=false, linksLock=false, bookId='0JJJ0J7CPQYYK', createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-21T00:14:54.450, title='An American Marriage (Oprah's Book Club)', summary='', number='6', tags=[])
2025-01-21T00:26:16.477-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskEmitter  : Sending task: RefreshSeriesMetadata(seriesId='0JJJ0J7A2QYQ3', priority='6')
2025-01-21T00:26:16.478-06:00 DEBUG 1 --- [task-2] o.g.komga.interfaces.sse.SseController   : Publish SSE: 'BookChanged':BookSseDto(bookId=0JJJ0J7CPQYYK, seriesId=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC)
2025-01-21T00:26:16.491-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Task RefreshBookMetadata(bookId='0JJJ0J7CPQYYK', capabilities=[LINKS, NUMBER_SORT, RELEASE_DATE, ISBN, TAGS, READ_LISTS, THUMBNAILS, NUMBER, AUTHORS, TITLE, SUMMARY], priority='7') executed in 107.933777ms
2025-01-21T00:26:16.491-06:00 DEBUG 1 --- [task-4] o.g.k.application.tasks.TaskProcessor    : Active count: 1, Core Pool Size: 1, Pool Size: 1
2025-01-21T00:26:16.492-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Task processed, remove it from the queue: RefreshBookMetadata(bookId='0JJJ0J7CPQYYK', capabilities=[LINKS, NUMBER_SORT, RELEASE_DATE, ISBN, TAGS, READ_LISTS, THUMBNAILS, NUMBER, AUTHORS, TITLE, SUMMARY], priority='7')
2025-01-21T00:26:16.497-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Active count: 1, Core Pool Size: 1, Pool Size: 1
2025-01-21T00:26:16.497-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Try to process first available task
2025-01-21T00:26:16.509-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Found task to process: RefreshSeriesMetadata(seriesId='0JJJ0J7A2QYQ3', priority='6')
2025-01-21T00:26:16.509-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Executing task: RefreshSeriesMetadata(seriesId='0JJJ0J7A2QYQ3', priority='6')
2025-01-21T00:26:16.513-06:00  INFO 1 --- [taskProcessor-1] o.g.k.d.service.SeriesMetadataLifecycle  : Refresh metadata for series: Series(name=Fictions, url=file:/media/Neptune/Books/Fictions/, fileLastModified=2025-01-20T23:57:06.187, id=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC, bookCount=69, deletedDate=null, oneshot=false, createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-20T23:57:50.471)
2025-01-21T00:26:16.516-06:00  INFO 1 --- [taskProcessor-1] o.g.k.d.service.SeriesMetadataLifecycle  : Library is not set to import series or collection metadata for this provider, skipping: ComicInfoProvider
2025-01-21T00:26:16.523-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.SeriesMetadataLifecycle  : Provider: EpubMetadataProvider
2025-01-21T00:26:17.370-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.SeriesMetadataLifecycle  : Apply metadata for series: Series(name=Fictions, url=file:/media/Neptune/Books/Fictions/, fileLastModified=2025-01-20T23:57:06.187, id=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC, bookCount=69, deletedDate=null, oneshot=false, createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-20T23:57:50.471)
2025-01-21T00:26:17.374-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.SeriesMetadataLifecycle  : Original metadata: SeriesMetadata(status=ONGOING, readingDirection=LEFT_TO_RIGHT, ageRating=null, totalBookCount=null, links=[], alternateTitles=[], statusLock=false, titleLock=false, titleSortLock=false, summaryLock=false, readingDirectionLock=false, publisherLock=false, ageRatingLock=false, languageLock=false, genresLock=false, tagsLock=false, totalBookCountLock=false, sharingLabelsLock=false, linksLock=false, alternateTitlesLock=false, seriesId='0JJJ0J7A2QYQ3', createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-21T00:14:54.790, title='Fictions', titleSort='Fictions', summary='', publisher='Random House Publishing Group', language='en-US', tags=[], genres=[fiction / general, thrillers, fiction, suspense, general, mystery, thriller, fantasy, fiction / literary, fiction / historical, fiction / thrillers / suspense, fiction / mystery & detective - historical, fiction / war & military, collections & anthologies, science fiction, adventure, adult, romance, historical, contemporary, western, fiction / literary], sharingLabels=[])
2025-01-21T00:26:17.376-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.SeriesMetadataLifecycle  : Patch: SeriesMetadataPatch(title=null, titleSort=null, status=null, summary=null, readingDirection=LEFT_TO_RIGHT, publisher=Random House Publishing Group, ageRating=null, language=en-US, genres=[Fiction / General, Thrillers, Fiction, Suspense, General, Mystery, Thriller, Fantasy, Fiction / Literary, Fiction / Historical, Fiction / Thrillers / Suspense, Fiction / Mystery & Detective - Historical, Fiction / War & Military, Collections & Anthologies, Science Fiction, Adventure, Adult, Romance, Historical, Contemporary, Western, Fiction / Literary], totalBookCount=null, collections=[])
2025-01-21T00:26:17.377-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.SeriesMetadataLifecycle  : Patched metadata: SeriesMetadata(status=ONGOING, readingDirection=LEFT_TO_RIGHT, ageRating=null, totalBookCount=null, links=[], alternateTitles=[], statusLock=false, titleLock=false, titleSortLock=false, summaryLock=false, readingDirectionLock=false, publisherLock=false, ageRatingLock=false, languageLock=false, genresLock=false, tagsLock=false, totalBookCountLock=false, sharingLabelsLock=false, linksLock=false, alternateTitlesLock=false, seriesId='0JJJ0J7A2QYQ3', createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-21T00:14:54.790, title='Fictions', titleSort='Fictions', summary='', publisher='Random House Publishing Group', language='en-US', tags=[], genres=[fiction / general, thrillers, fiction, suspense, general, mystery, thriller, fantasy, fiction / literary, fiction / historical, fiction / thrillers / suspense, fiction / mystery & detective - historical, fiction / war & military, collections & anthologies, science fiction, adventure, adult, romance, historical, contemporary, western, fiction / literary], sharingLabels=[])
2025-01-21T00:26:17.391-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.SeriesMetadataLifecycle  : Provider: MylarSeriesProvider
2025-01-21T00:26:17.392-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.i.m.mylar.MylarSeriesProvider      : Series folder does not contain any series.json file: Series(name=Fictions, url=file:/media/Neptune/Books/Fictions/, fileLastModified=2025-01-20T23:57:06.187, id=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC, bookCount=69, deletedDate=null, oneshot=false, createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-20T23:57:50.471)
2025-01-21T00:26:17.393-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.d.service.SeriesMetadataLifecycle  : Provider: OneShotSeriesProvider
2025-01-21T00:26:17.395-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskEmitter  : Sending task: AggregateSeriesMetadata(seriesId='0JJJ0J7A2QYQ3', priority='6')
2025-01-21T00:26:17.396-06:00 DEBUG 1 --- [task-7] o.g.komga.interfaces.sse.SseController   : Publish SSE: 'SeriesChanged':SeriesSseDto(seriesId=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC)
2025-01-21T00:26:17.418-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Task RefreshSeriesMetadata(seriesId='0JJJ0J7A2QYQ3', priority='6') executed in 908.346044ms
2025-01-21T00:26:17.418-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Task processed, remove it from the queue: RefreshSeriesMetadata(seriesId='0JJJ0J7A2QYQ3', priority='6')
2025-01-21T00:26:17.418-06:00 DEBUG 1 --- [task-3] o.g.k.application.tasks.TaskProcessor    : Active count: 1, Core Pool Size: 1, Pool Size: 1
2025-01-21T00:26:17.422-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Active count: 1, Core Pool Size: 1, Pool Size: 1
2025-01-21T00:26:17.423-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Try to process first available task
2025-01-21T00:26:17.445-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Found task to process: AggregateSeriesMetadata(seriesId='0JJJ0J7A2QYQ3', priority='6')
2025-01-21T00:26:17.445-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Executing task: AggregateSeriesMetadata(seriesId='0JJJ0J7A2QYQ3', priority='6')
2025-01-21T00:26:17.446-06:00  INFO 1 --- [taskProcessor-1] o.g.k.d.service.SeriesMetadataLifecycle  : Aggregate book metadata for series: Series(name=Fictions, url=file:/media/Neptune/Books/Fictions/, fileLastModified=2025-01-20T23:57:06.187, id=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC, bookCount=69, deletedDate=null, oneshot=false, createdDate=2025-01-20T23:50:06, lastModifiedDate=2025-01-20T23:57:50.471)
2025-01-21T00:26:17.559-06:00 DEBUG 1 --- [task-7] o.g.komga.interfaces.sse.SseController   : Publish SSE: 'SeriesChanged':SeriesSseDto(seriesId=0JJJ0J7A2QYQ3, libraryId=0JJJ0J76TQPPC)
2025-01-21T00:26:17.561-06:00  INFO 1 --- [taskProcessor-1] o.g.komga.application.tasks.TaskHandler  : Task AggregateSeriesMetadata(seriesId='0JJJ0J7A2QYQ3', priority='6') executed in 115.757139ms
2025-01-21T00:26:17.562-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Task processed, remove it from the queue: AggregateSeriesMetadata(seriesId='0JJJ0J7A2QYQ3', priority='6')
2025-01-21T00:26:17.580-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Active count: 1, Core Pool Size: 1, Pool Size: 1
2025-01-21T00:26:17.580-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Try to process first available task
2025-01-21T00:26:17.581-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : No available task found
2025-01-21T00:26:17.582-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Try to process first available task
2025-01-21T00:26:17.583-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : No available task found
2025-01-21T00:26:17.583-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Try to process first available task
2025-01-21T00:26:17.584-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : No available task found
2025-01-21T00:26:17.588-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Try to process first available task
2025-01-21T00:26:17.599-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : No available task found
2025-01-21T00:26:17.599-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : Try to process first available task
2025-01-21T00:26:17.600-06:00 DEBUG 1 --- [taskProcessor-1] o.g.k.application.tasks.TaskProcessor    : No available task found
2025-01-21T00:26:25.546-06:00 DEBUG 1 --- [scheduling-1] o.g.komga.interfaces.sse.SseController   : Publish SSE: 'TaskQueueStatus':TaskQueueSseDto(count=0, countByType={})

Komga version

1.18.0

Operating system

Ubuntu Server 22.04.5

Installation method

Docker

Other details

Only happened to a few EPUB files. Calibre extracts the cover from the same file with no issue.

Image Image

Acknowledgements

  • I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have checked the FAQ.
  • I have updated the app to the latest version.
  • I will fill out all of the requested information in this form.
@gotson
Copy link
Owner

gotson commented Jan 21, 2025

Can you provide the book file ?

@zhen-huan-hu
Copy link
Author

zhen-huan-hu commented Jan 21, 2025

Can you provide the book file ?

Here is the file Komga having issue generating the thumbnail.

An American Marriage (Oprah's B - Tayari Jones.zip

@gotson
Copy link
Owner

gotson commented Jan 21, 2025

the epub does not register any valid cover according to EPUB2/EPUB3. Calibre might be doing some guessing to retrieve the cover. That's a book problem.

@gotson
Copy link
Owner

gotson commented Jan 21, 2025

i've added some guessing work to find the cover for non-standard books

@gotson gotson closed this as completed in 681337a Jan 22, 2025
Copy link
Contributor

🎉 This issue has been resolved in 1.19.0 (Release Notes)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants