[Bug]: Removing a single book in Issues results in multiple blank covers being displayed, possible caching issues #2604

Closed
opened 2026-04-25 00:08:56 +02:00 by adam · 6 comments
Owner

Originally created by @ZLoth on GitHub (Feb 21, 2025).

What happened?

I was transferring a book from one library to another. The expected behavior is that the book shows up "missing" in the old library, and I would have to delete the data of the old book out. However, after I delete the book the book out, there would be multiple blank "covers" appearing.

What did you expect to happen?

Once I delete the single book out, there should be no more books with issues. The "Books with Issues" filter is cleared out, and I go back to my library. This is the expected behavior when using Issues → Delete All Books.

Steps to reproduce the issue

  1. Move a single book out of your library to make it not available.
  2. After an update, the "Issues" Icon shows up in the sidebar. Click on Issues.
  3. Click on the three dots in the lower-right corner of the cover and select Delete.
  4. Click on Delete again.

WHAT SHOULD HAPPEN: As this is the only book, a message should pop up saying there are no books with issues.
WHAT REALLY HAPPENS: Multiple blank covers appear.

https://github.com/user-attachments/assets/f5262282-6dea-46df-90e5-3c3b01dac9f6

Issue does NOT occur when using Issues → Delete All Books.

https://github.com/user-attachments/assets/2a5c3013-8744-43ba-aace-9455c852f8e7

Audiobookshelf version

2.19.4, occurring since at least 2.19.2

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs

2025-02-21 05:36:28.718

DEBUG

[Watcher] File Removed /audiobooks/Audiobooks/Soundscapes/Antiques/Antiques.m4b

2025-02-21 05:36:28.719

DEBUG

[Watcher] Modified file in library "Soundscapes" and folder "8c9dfc8d-d7c6-4671-8e45-4d0fc198e4f0" with relPath "/Antiques/Antiques.m4b"

2025-02-21 05:36:28.720

DEBUG

[Watcher] File Removed /audiobooks/Audiobooks/Soundscapes/Antiques/cover.jpg

2025-02-21 05:36:28.720

DEBUG

[Watcher] Modified file in library "Soundscapes" and folder "8c9dfc8d-d7c6-4671-8e45-4d0fc198e4f0" with relPath "/Antiques/cover.jpg"

2025-02-21 05:36:28.721

DEBUG

[Watcher] File Removed /audiobooks/Audiobooks/Soundscapes/Antiques/metadata.json

2025-02-21 05:36:28.721

DEBUG

[Watcher] Modified file in library "Soundscapes" and folder "8c9dfc8d-d7c6-4671-8e45-4d0fc198e4f0" with relPath "/Antiques/metadata.json"

2025-02-21 05:36:33.311

DEBUG

[SocketAuthority] User Offline Mark

2025-02-21 05:36:33.312

INFO

[SocketAuthority] Socket 4sAqIPHwMTSsPhQFAAAX disconnected from client "Mark" after 220916ms (Reason: transport close)

2025-02-21 05:36:33.534

DEBUG

[ApiCacheManager] count: 6 size: 533565

2025-02-21 05:36:33.535

DEBUG

[ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"}

2025-02-21 05:36:33.583

DEBUG

[ApiCacheManager] count: 6 size: 533565

2025-02-21 05:36:33.583

DEBUG

[ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries"}

2025-02-21 05:36:33.590

INFO

[SocketAuthority] Socket Connected to /audiobookshelf/socket.io 6Dcn-M3VViXtUJ6BAAAZ

2025-02-21 05:36:33.593

DEBUG

[ApiCacheManager] count: 6 size: 533565

2025-02-21 05:36:33.593

DEBUG

[ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/items?sort=media.metadata.title&desc=0&collapseseries=1&limit=77&page=0&minified=1&include=rssfeed,numEpisodesIncomplete,share"}

2025-02-21 05:36:33.598

DEBUG

[SocketAuthority] User Online Mark

2025-02-21 05:36:38.729

DEBUG

[Scanner] Scanning file update groups in folder "8c9dfc8d-d7c6-4671-8e45-4d0fc198e4f0" of library "Soundscapes"

2025-02-21 05:36:38.750

DEBUG

[Scanner] scanFolderUpdates fileUpdateGroup { Antiques: [ 'Antiques.m4b', 'cover.jpg', 'metadata.json' ] }

2025-02-21 05:36:40.177

INFO

[LibraryScanner] Scanning file update group and library item was deleted "Antiques" - marking as missing

2025-02-21 05:36:40.236

DEBUG

[ApiCacheManager] libraryItem.afterUpdate: Clearing cache

2025-02-21 05:36:40.282

DEBUG

[LibraryScanner] Folder scan results { Antiques: 3 }

2025-02-21 05:36:50.274

DEBUG

[ApiCacheManager] count: 0 size: 0

2025-02-21 05:36:50.281

DEBUG

[ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"}

2025-02-21 05:36:50.312

DEBUG

[ApiCacheManager] count: 1 size: 3801

2025-02-21 05:36:50.317

DEBUG

[LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{"Symbol(and)":{"0":{"Symbol(or)":{"0":{"$mediaProgresses.currentTime$":{"Symbol(gt)":0}},"1":{"$mediaProgresses.ebookProgress$":{"Symbol(gt)":0}}}},"1":{"$mediaProgresses.isFinished$":false}}}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba"},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"3":{"model":"mediaProgress","attributes":{"0":"id","1":"isFinished","2":"currentTime","3":"ebookProgress","4":"updatedAt"},"where":{"userId":"76dee994-3063-4e1c-9bec-747ee341fdde","hideFromContinueListening":false},"required":false}},"order":{"0":{"0":{"val":"mediaProgresses.updatedAt"},"1":"DESC"}},"subQuery":false}

2025-02-21 05:36:50.334

DEBUG

Loaded 0 of 0 items for "Continue Listening/Reading" in 0.02s

2025-02-21 05:36:50.348

DEBUG

Loaded 0 of 0 items for "Continue Series" in 0.01s

2025-02-21 05:36:50.350

DEBUG

[LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba","createdAt":{"Symbol(gte)":"2024-12-23T11:36:50.349Z"}},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true}},"order":{"0":{"0":{"val":"libraryItem.createdAt"},"1":"DESC"}},"subQuery":false}

2025-02-21 05:36:50.368

DEBUG

Loaded 1 of 1 items for "Recently Added" in 0.02s

2025-02-21 05:36:50.373

DEBUG

Loaded 0 of 0 series for "Recent Series" in 0.01s

2025-02-21 05:36:50.400

DEBUG

Loaded 10 of 42 items for "Discover" in 0.03s

2025-02-21 05:36:50.400

DEBUG

[LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{"$mediaProgresses.isFinished$":true}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba"},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"3":{"model":"mediaProgress","attributes":{"0":"id","1":"isFinished","2":"currentTime","3":"ebookProgress","4":"updatedAt"},"where":{"userId":"76dee994-3063-4e1c-9bec-747ee341fdde"},"required":false}},"order":{"0":{"0":{"val":"mediaProgresses.updatedAt"},"1":"DESC"}},"subQuery":false}

2025-02-21 05:36:50.407

DEBUG

Loaded 0 of 0 items for "Listen/Read Again" in 0.01s

2025-02-21 05:36:50.411

DEBUG

Loaded 0 of 0 authors for "Newest Authors" in 0.00s

2025-02-21 05:36:50.411

DEBUG

Loaded 2 personalized shelves in 0.10s

2025-02-21 05:36:50.412

DEBUG

[ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/personalized?include=rssfeed,numEpisodesIncomplete,share"}

2025-02-21 05:36:50.412

DEBUG

[ApiCacheManager] Caching with 1800000 ms TTL

2025-02-21 05:36:52.597

DEBUG

[ApiCacheManager] count: 2 size: 27042

2025-02-21 05:36:52.597

DEBUG

[ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"}

2025-02-21 05:36:52.627

DEBUG

[ApiCacheManager] count: 2 size: 27042

2025-02-21 05:36:52.644

DEBUG

[LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{}},"distinct":true,"attributes":{"include":{"0":{"0":{"val":"IFNULL((SELECT s.nameIgnorePrefix FROM bookSeries AS bs, series AS s WHERE bs.seriesId = s.id AND bs.bookId = book.id AND bs.id IN ()), `libraryItem`.`titleIgnorePrefix`)"},"1":"display_title"}}},"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba","Symbol(or)":{"0":{"isMissing":true},"1":{"isInvalid":true}}},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true}},"order":{"0":{"0":{"val":"display_title COLLATE NOCASE"},"1":"ASC"}},"subQuery":false}

2025-02-21 05:36:52.666

DEBUG

Loaded 1 of 1 items for libary page in 0.03s

2025-02-21 05:36:52.666

DEBUG

[ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/items?filter=issues&sort=media.metadata.title&desc=0&collapseseries=1&limit=77&page=0&minified=1&include=rssfeed,numEpisodesIncomplete,share"}

2025-02-21 05:36:54.399

DEBUG

[ApiCacheManager] count: 3 size: 28737

2025-02-21 05:36:54.399

DEBUG

[ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"}

2025-02-21 05:36:54.418

DEBUG

[ApiCacheManager] count: 3 size: 28737

2025-02-21 05:36:54.418

DEBUG

[ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/personalized?include=rssfeed,numEpisodesIncomplete,share"}

2025-02-21 05:37:30.218

DEBUG

[ApiCacheManager] count: 3 size: 28737

2025-02-21 05:37:30.218

DEBUG

[ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"}

2025-02-21 05:37:30.251

DEBUG

[ApiCacheManager] count: 3 size: 28737

2025-02-21 05:37:30.264

DEBUG

[LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{}},"distinct":true,"attributes":{"include":{"0":{"0":{"val":"IFNULL((SELECT s.nameIgnorePrefix FROM bookSeries AS bs, series AS s WHERE bs.seriesId = s.id AND bs.bookId = book.id AND bs.id IN ()), `libraryItem`.`titleIgnorePrefix`)"},"1":"display_title"}}},"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba","Symbol(or)":{"0":{"isMissing":true},"1":{"isInvalid":true}}},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true}},"order":{"0":{"0":{"val":"display_title COLLATE NOCASE"},"1":"ASC"}},"subQuery":false}

2025-02-21 05:37:30.277

DEBUG

Loaded 1 of 1 items for libary page in 0.02s

2025-02-21 05:37:30.277

DEBUG

[ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/items?filter=issues&sort=media.metadata.title&desc=0&collapseseries=1&limit=20&page=0&minified=1&include=rssfeed,numEpisodesIncomplete,share"}

2025-02-21 05:37:42.555

DEBUG

[ApiCacheManager] Object.afterBulkDestroy: Clearing cache

2025-02-21 05:37:42.831

DEBUG

[CacheManager] Going to purge 080cccbc-6a65-4455-9d9a-38d21237b2a9_400.webp

2025-02-21 05:37:43.203

DEBUG

[ApiCacheManager] libraryItem.afterDestroy: Clearing cache

2025-02-21 05:37:43.204

DEBUG

[ApiCacheManager] Object.afterBulkDestroy: Clearing cache

2025-02-21 05:37:43.387

DEBUG

[LibraryItemsBookFilters] book.afterDestroy: Clearing count cache

2025-02-21 05:37:43.387

DEBUG

[ApiCacheManager] book.afterDestroy: Clearing cache

2025-02-21 05:37:56.505

DEBUG

[ApiCacheManager] count: 0 size: 0

2025-02-21 05:37:56.516

DEBUG

[ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"}

2025-02-21 05:37:56.536

DEBUG

[ApiCacheManager] count: 1 size: 3801

2025-02-21 05:37:56.541

DEBUG

[LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{"Symbol(and)":{"0":{"Symbol(or)":{"0":{"$mediaProgresses.currentTime$":{"Symbol(gt)":0}},"1":{"$mediaProgresses.ebookProgress$":{"Symbol(gt)":0}}}},"1":{"$mediaProgresses.isFinished$":false}}}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba"},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"3":{"model":"mediaProgress","attributes":{"0":"id","1":"isFinished","2":"currentTime","3":"ebookProgress","4":"updatedAt"},"where":{"userId":"76dee994-3063-4e1c-9bec-747ee341fdde","hideFromContinueListening":false},"required":false}},"order":{"0":{"0":{"val":"mediaProgresses.updatedAt"},"1":"DESC"}},"subQuery":false}

2025-02-21 05:37:56.558

DEBUG

Loaded 0 of 0 items for "Continue Listening/Reading" in 0.02s

2025-02-21 05:37:56.570

DEBUG

Loaded 0 of 0 items for "Continue Series" in 0.01s

2025-02-21 05:37:56.571

DEBUG

[LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba","createdAt":{"Symbol(gte)":"2024-12-23T11:37:56.570Z"}},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true}},"order":{"0":{"0":{"val":"libraryItem.createdAt"},"1":"DESC"}},"subQuery":false}

2025-02-21 05:37:56.583

DEBUG

Loaded 1 of 1 items for "Recently Added" in 0.01s

2025-02-21 05:37:56.587

DEBUG

Loaded 0 of 0 series for "Recent Series" in 0.00s

2025-02-21 05:37:56.612

DEBUG

Loaded 10 of 41 items for "Discover" in 0.03s

2025-02-21 05:37:56.613

DEBUG

[LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{"$mediaProgresses.isFinished$":true}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba"},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"3":{"model":"mediaProgress","attributes":{"0":"id","1":"isFinished","2":"currentTime","3":"ebookProgress","4":"updatedAt"},"where":{"userId":"76dee994-3063-4e1c-9bec-747ee341fdde"},"required":false}},"order":{"0":{"0":{"val":"mediaProgresses.updatedAt"},"1":"DESC"}},"subQuery":false}

2025-02-21 05:37:56.620

DEBUG

Loaded 0 of 0 items for "Listen/Read Again" in 0.01s

2025-02-21 05:37:56.624

DEBUG

Loaded 0 of 0 authors for "Newest Authors" in 0.00s

2025-02-21 05:37:56.624

DEBUG

Loaded 2 personalized shelves in 0.08s

2025-02-21 05:37:56.624

DEBUG

[ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/personalized?include=rssfeed,numEpisodesIncomplete,share"}

2025-02-21 05:37:56.624

DEBUG

[ApiCacheManager] Caching with 1800000 ms TTL

Additional Notes

I tried to replicate this issue again to check on "Remove All Books" in the same library, but even though a single book was indicated as missing, the Issues screen showed "No Issues".

Image

Originally created by @ZLoth on GitHub (Feb 21, 2025). ### What happened? I was transferring a book from one library to another. The expected behavior is that the book shows up "missing" in the old library, and I would have to delete the data of the old book out. However, after I delete the book the book out, there would be multiple blank "covers" appearing. ### What did you expect to happen? Once I delete the single book out, there should be no more books with issues. The "Books with Issues" filter is cleared out, and I go back to my library. This is the expected behavior when using Issues → Delete All Books. ### Steps to reproduce the issue 1. Move a single book out of your library to make it not available. 2. After an update, the "Issues" Icon shows up in the sidebar. Click on Issues. 3. Click on the three dots in the lower-right corner of the cover and select Delete. 4. Click on Delete again. WHAT SHOULD HAPPEN: As this is the only book, a message should pop up saying there are no books with issues. WHAT REALLY HAPPENS: Multiple blank covers appear. https://github.com/user-attachments/assets/f5262282-6dea-46df-90e5-3c3b01dac9f6 Issue does NOT occur when using Issues → Delete All Books. https://github.com/user-attachments/assets/2a5c3013-8744-43ba-aace-9455c852f8e7 ### Audiobookshelf version 2.19.4, occurring since at least 2.19.2 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Chrome ### Logs ```shell 2025-02-21 05:36:28.718 DEBUG [Watcher] File Removed /audiobooks/Audiobooks/Soundscapes/Antiques/Antiques.m4b 2025-02-21 05:36:28.719 DEBUG [Watcher] Modified file in library "Soundscapes" and folder "8c9dfc8d-d7c6-4671-8e45-4d0fc198e4f0" with relPath "/Antiques/Antiques.m4b" 2025-02-21 05:36:28.720 DEBUG [Watcher] File Removed /audiobooks/Audiobooks/Soundscapes/Antiques/cover.jpg 2025-02-21 05:36:28.720 DEBUG [Watcher] Modified file in library "Soundscapes" and folder "8c9dfc8d-d7c6-4671-8e45-4d0fc198e4f0" with relPath "/Antiques/cover.jpg" 2025-02-21 05:36:28.721 DEBUG [Watcher] File Removed /audiobooks/Audiobooks/Soundscapes/Antiques/metadata.json 2025-02-21 05:36:28.721 DEBUG [Watcher] Modified file in library "Soundscapes" and folder "8c9dfc8d-d7c6-4671-8e45-4d0fc198e4f0" with relPath "/Antiques/metadata.json" 2025-02-21 05:36:33.311 DEBUG [SocketAuthority] User Offline Mark 2025-02-21 05:36:33.312 INFO [SocketAuthority] Socket 4sAqIPHwMTSsPhQFAAAX disconnected from client "Mark" after 220916ms (Reason: transport close) 2025-02-21 05:36:33.534 DEBUG [ApiCacheManager] count: 6 size: 533565 2025-02-21 05:36:33.535 DEBUG [ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"} 2025-02-21 05:36:33.583 DEBUG [ApiCacheManager] count: 6 size: 533565 2025-02-21 05:36:33.583 DEBUG [ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries"} 2025-02-21 05:36:33.590 INFO [SocketAuthority] Socket Connected to /audiobookshelf/socket.io 6Dcn-M3VViXtUJ6BAAAZ 2025-02-21 05:36:33.593 DEBUG [ApiCacheManager] count: 6 size: 533565 2025-02-21 05:36:33.593 DEBUG [ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/items?sort=media.metadata.title&desc=0&collapseseries=1&limit=77&page=0&minified=1&include=rssfeed,numEpisodesIncomplete,share"} 2025-02-21 05:36:33.598 DEBUG [SocketAuthority] User Online Mark 2025-02-21 05:36:38.729 DEBUG [Scanner] Scanning file update groups in folder "8c9dfc8d-d7c6-4671-8e45-4d0fc198e4f0" of library "Soundscapes" 2025-02-21 05:36:38.750 DEBUG [Scanner] scanFolderUpdates fileUpdateGroup { Antiques: [ 'Antiques.m4b', 'cover.jpg', 'metadata.json' ] } 2025-02-21 05:36:40.177 INFO [LibraryScanner] Scanning file update group and library item was deleted "Antiques" - marking as missing 2025-02-21 05:36:40.236 DEBUG [ApiCacheManager] libraryItem.afterUpdate: Clearing cache 2025-02-21 05:36:40.282 DEBUG [LibraryScanner] Folder scan results { Antiques: 3 } 2025-02-21 05:36:50.274 DEBUG [ApiCacheManager] count: 0 size: 0 2025-02-21 05:36:50.281 DEBUG [ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"} 2025-02-21 05:36:50.312 DEBUG [ApiCacheManager] count: 1 size: 3801 2025-02-21 05:36:50.317 DEBUG [LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{"Symbol(and)":{"0":{"Symbol(or)":{"0":{"$mediaProgresses.currentTime$":{"Symbol(gt)":0}},"1":{"$mediaProgresses.ebookProgress$":{"Symbol(gt)":0}}}},"1":{"$mediaProgresses.isFinished$":false}}}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba"},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"3":{"model":"mediaProgress","attributes":{"0":"id","1":"isFinished","2":"currentTime","3":"ebookProgress","4":"updatedAt"},"where":{"userId":"76dee994-3063-4e1c-9bec-747ee341fdde","hideFromContinueListening":false},"required":false}},"order":{"0":{"0":{"val":"mediaProgresses.updatedAt"},"1":"DESC"}},"subQuery":false} 2025-02-21 05:36:50.334 DEBUG Loaded 0 of 0 items for "Continue Listening/Reading" in 0.02s 2025-02-21 05:36:50.348 DEBUG Loaded 0 of 0 items for "Continue Series" in 0.01s 2025-02-21 05:36:50.350 DEBUG [LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba","createdAt":{"Symbol(gte)":"2024-12-23T11:36:50.349Z"}},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true}},"order":{"0":{"0":{"val":"libraryItem.createdAt"},"1":"DESC"}},"subQuery":false} 2025-02-21 05:36:50.368 DEBUG Loaded 1 of 1 items for "Recently Added" in 0.02s 2025-02-21 05:36:50.373 DEBUG Loaded 0 of 0 series for "Recent Series" in 0.01s 2025-02-21 05:36:50.400 DEBUG Loaded 10 of 42 items for "Discover" in 0.03s 2025-02-21 05:36:50.400 DEBUG [LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{"$mediaProgresses.isFinished$":true}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba"},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"3":{"model":"mediaProgress","attributes":{"0":"id","1":"isFinished","2":"currentTime","3":"ebookProgress","4":"updatedAt"},"where":{"userId":"76dee994-3063-4e1c-9bec-747ee341fdde"},"required":false}},"order":{"0":{"0":{"val":"mediaProgresses.updatedAt"},"1":"DESC"}},"subQuery":false} 2025-02-21 05:36:50.407 DEBUG Loaded 0 of 0 items for "Listen/Read Again" in 0.01s 2025-02-21 05:36:50.411 DEBUG Loaded 0 of 0 authors for "Newest Authors" in 0.00s 2025-02-21 05:36:50.411 DEBUG Loaded 2 personalized shelves in 0.10s 2025-02-21 05:36:50.412 DEBUG [ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/personalized?include=rssfeed,numEpisodesIncomplete,share"} 2025-02-21 05:36:50.412 DEBUG [ApiCacheManager] Caching with 1800000 ms TTL 2025-02-21 05:36:52.597 DEBUG [ApiCacheManager] count: 2 size: 27042 2025-02-21 05:36:52.597 DEBUG [ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"} 2025-02-21 05:36:52.627 DEBUG [ApiCacheManager] count: 2 size: 27042 2025-02-21 05:36:52.644 DEBUG [LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{}},"distinct":true,"attributes":{"include":{"0":{"0":{"val":"IFNULL((SELECT s.nameIgnorePrefix FROM bookSeries AS bs, series AS s WHERE bs.seriesId = s.id AND bs.bookId = book.id AND bs.id IN ()), `libraryItem`.`titleIgnorePrefix`)"},"1":"display_title"}}},"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba","Symbol(or)":{"0":{"isMissing":true},"1":{"isInvalid":true}}},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true}},"order":{"0":{"0":{"val":"display_title COLLATE NOCASE"},"1":"ASC"}},"subQuery":false} 2025-02-21 05:36:52.666 DEBUG Loaded 1 of 1 items for libary page in 0.03s 2025-02-21 05:36:52.666 DEBUG [ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/items?filter=issues&sort=media.metadata.title&desc=0&collapseseries=1&limit=77&page=0&minified=1&include=rssfeed,numEpisodesIncomplete,share"} 2025-02-21 05:36:54.399 DEBUG [ApiCacheManager] count: 3 size: 28737 2025-02-21 05:36:54.399 DEBUG [ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"} 2025-02-21 05:36:54.418 DEBUG [ApiCacheManager] count: 3 size: 28737 2025-02-21 05:36:54.418 DEBUG [ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/personalized?include=rssfeed,numEpisodesIncomplete,share"} 2025-02-21 05:37:30.218 DEBUG [ApiCacheManager] count: 3 size: 28737 2025-02-21 05:37:30.218 DEBUG [ApiCacheManager] Cache hit: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"} 2025-02-21 05:37:30.251 DEBUG [ApiCacheManager] count: 3 size: 28737 2025-02-21 05:37:30.264 DEBUG [LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{}},"distinct":true,"attributes":{"include":{"0":{"0":{"val":"IFNULL((SELECT s.nameIgnorePrefix FROM bookSeries AS bs, series AS s WHERE bs.seriesId = s.id AND bs.bookId = book.id AND bs.id IN ()), `libraryItem`.`titleIgnorePrefix`)"},"1":"display_title"}}},"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba","Symbol(or)":{"0":{"isMissing":true},"1":{"isInvalid":true}}},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true}},"order":{"0":{"0":{"val":"display_title COLLATE NOCASE"},"1":"ASC"}},"subQuery":false} 2025-02-21 05:37:30.277 DEBUG Loaded 1 of 1 items for libary page in 0.02s 2025-02-21 05:37:30.277 DEBUG [ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/items?filter=issues&sort=media.metadata.title&desc=0&collapseseries=1&limit=20&page=0&minified=1&include=rssfeed,numEpisodesIncomplete,share"} 2025-02-21 05:37:42.555 DEBUG [ApiCacheManager] Object.afterBulkDestroy: Clearing cache 2025-02-21 05:37:42.831 DEBUG [CacheManager] Going to purge 080cccbc-6a65-4455-9d9a-38d21237b2a9_400.webp 2025-02-21 05:37:43.203 DEBUG [ApiCacheManager] libraryItem.afterDestroy: Clearing cache 2025-02-21 05:37:43.204 DEBUG [ApiCacheManager] Object.afterBulkDestroy: Clearing cache 2025-02-21 05:37:43.387 DEBUG [LibraryItemsBookFilters] book.afterDestroy: Clearing count cache 2025-02-21 05:37:43.387 DEBUG [ApiCacheManager] book.afterDestroy: Clearing cache 2025-02-21 05:37:56.505 DEBUG [ApiCacheManager] count: 0 size: 0 2025-02-21 05:37:56.516 DEBUG [ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba?include=filterdata"} 2025-02-21 05:37:56.536 DEBUG [ApiCacheManager] count: 1 size: 3801 2025-02-21 05:37:56.541 DEBUG [LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{"Symbol(and)":{"0":{"Symbol(or)":{"0":{"$mediaProgresses.currentTime$":{"Symbol(gt)":0}},"1":{"$mediaProgresses.ebookProgress$":{"Symbol(gt)":0}}}},"1":{"$mediaProgresses.isFinished$":false}}}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba"},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"3":{"model":"mediaProgress","attributes":{"0":"id","1":"isFinished","2":"currentTime","3":"ebookProgress","4":"updatedAt"},"where":{"userId":"76dee994-3063-4e1c-9bec-747ee341fdde","hideFromContinueListening":false},"required":false}},"order":{"0":{"0":{"val":"mediaProgresses.updatedAt"},"1":"DESC"}},"subQuery":false} 2025-02-21 05:37:56.558 DEBUG Loaded 0 of 0 items for "Continue Listening/Reading" in 0.02s 2025-02-21 05:37:56.570 DEBUG Loaded 0 of 0 items for "Continue Series" in 0.01s 2025-02-21 05:37:56.571 DEBUG [LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba","createdAt":{"Symbol(gte)":"2024-12-23T11:37:56.570Z"}},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true}},"order":{"0":{"0":{"val":"libraryItem.createdAt"},"1":"DESC"}},"subQuery":false} 2025-02-21 05:37:56.583 DEBUG Loaded 1 of 1 items for "Recently Added" in 0.01s 2025-02-21 05:37:56.587 DEBUG Loaded 0 of 0 series for "Recent Series" in 0.00s 2025-02-21 05:37:56.612 DEBUG Loaded 10 of 41 items for "Discover" in 0.03s 2025-02-21 05:37:56.613 DEBUG [LibraryItemsBookFilters] findOptionsKey: {"where":{"0":{"$mediaProgresses.isFinished$":true}},"distinct":true,"attributes":null,"replacements":{},"include":{"0":{"model":"libraryItem","required":true,"where":{"libraryId":"fdf166df-4220-40bf-8867-d9fd8d53ebba"},"include":{"0":{"model":"feed","required":false,"separate":true}}},"1":{"model":"bookSeries","attributes":{"0":"id","1":"seriesId","2":"sequence","3":"createdAt"},"include":{"model":"series","attributes":{"0":"id","1":"name","2":"nameIgnorePrefix"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"2":{"model":"bookAuthor","attributes":{"0":"authorId","1":"createdAt"},"include":{"model":"author","attributes":{"0":"id","1":"name"}},"order":{"0":{"0":"createdAt","1":"ASC"}},"separate":true},"3":{"model":"mediaProgress","attributes":{"0":"id","1":"isFinished","2":"currentTime","3":"ebookProgress","4":"updatedAt"},"where":{"userId":"76dee994-3063-4e1c-9bec-747ee341fdde"},"required":false}},"order":{"0":{"0":{"val":"mediaProgresses.updatedAt"},"1":"DESC"}},"subQuery":false} 2025-02-21 05:37:56.620 DEBUG Loaded 0 of 0 items for "Listen/Read Again" in 0.01s 2025-02-21 05:37:56.624 DEBUG Loaded 0 of 0 authors for "Newest Authors" in 0.00s 2025-02-21 05:37:56.624 DEBUG Loaded 2 personalized shelves in 0.08s 2025-02-21 05:37:56.624 DEBUG [ApiCacheManager] Cache miss: {"user":"Mark","url":"/libraries/fdf166df-4220-40bf-8867-d9fd8d53ebba/personalized?include=rssfeed,numEpisodesIncomplete,share"} 2025-02-21 05:37:56.624 DEBUG [ApiCacheManager] Caching with 1800000 ms TTL ``` ### Additional Notes I tried to replicate this issue again to check on "Remove All Books" in the same library, but even though a single book was indicated as missing, the Issues screen showed "No Issues". ![Image](https://github.com/user-attachments/assets/b309cb9c-a539-41a1-9250-c433d7039724)
adam added the bug label 2026-04-25 00:08:56 +02:00
adam closed this issue 2026-04-25 00:08:56 +02:00
Author
Owner

@nichwall commented on GitHub (Feb 21, 2025):

I believe this is a duplicate of https://github.com/advplyr/audiobookshelf/issues/4018

@nichwall commented on GitHub (Feb 21, 2025): I believe this is a duplicate of https://github.com/advplyr/audiobookshelf/issues/4018
Author
Owner

@mikiher commented on GitHub (Feb 21, 2025):

No, I checked and this is not a duplicate of #4018 (I'm still able to reproduce it with the fix). I will take a look at it tomorrow.

@mikiher commented on GitHub (Feb 21, 2025): No, I checked and this is not a duplicate of #4018 (I'm still able to reproduce it with the fix). I will take a look at it tomorrow.
Author
Owner

@ZLoth commented on GitHub (Feb 22, 2025):

Thank you @mikiher .

@ZLoth commented on GitHub (Feb 22, 2025): Thank you @mikiher .
Author
Owner

@github-actions[bot] commented on GitHub (Feb 24, 2025):

Fixed in v2.19.5.

@github-actions[bot] commented on GitHub (Feb 24, 2025): Fixed in [v2.19.5](https://github.com/advplyr/audiobookshelf/releases/tag/v2.19.5).
Author
Owner

@ZLoth commented on GitHub (Feb 24, 2025):

Thank you!

@ZLoth commented on GitHub (Feb 24, 2025): Thank you!
Author
Owner

@ZLoth commented on GitHub (Feb 24, 2025):

And confirmed fixed in the new version! Thank you!

@ZLoth commented on GitHub (Feb 24, 2025): And confirmed fixed in the new version! Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2604