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

[Bug]: Match Books only updates 95 of the 350+ books in my Library since 2.4.1 #2096

Closed
Spinonduality opened this issue Sep 14, 2023 · 16 comments
Labels
bug Something isn't working

Comments

@Spinonduality
Copy link

Describe the issue

When I match books in my library, only 95 of them are updated. It was working fine for all 350+ audiobooks in version 2.4.0.

Steps to reproduce the issue

  1. Match books in library
  2. Note number updated
  3. Confirm by looking at cover art of matched and non-matched books.

Audiobookshelf version

2.4.2

How are you running audiobookshelf?

Docker

@Spinonduality Spinonduality added the bug Something isn't working label Sep 14, 2023
@nichwall
Copy link
Contributor

Is the "noted number" 95?

What happens if you go into one of the books which did not match and manually Match that book (from the edit view). Are there any results?

@iconoclasthero
Copy link

iconoclasthero commented Sep 14, 2023

I'm having a similar issue. A lot of books are not being matched (at least with covers; I cannot see what's going on with the metadata because...). Additionally, to answer the question, "What happens if you go into one of the books which did not match and manually Match that book (from the edit view). Are there any results?" The "Details" and "Match" tabs are empty regardless of how long I wait, the upload cover does not work regardless of whether I give it a local file or URL, and if I try to search for it, a bunch of thumbs come up but none of them are downloadable.

4.2.2 on native Ubuntu 22.04 (i.e., no container/docker/etc/)—apt pushed an upgrade today.

Hmmm... it seems like the UI hadn't changed even though I'd rebooted the server. Those tabs are working again. However, I still can't get it to take cover images regardless of how I do it... file, url, or search.

@advplyr
Copy link
Owner

advplyr commented Sep 14, 2023

If using the debian install it will be helpful if you provide logs. You can use the command journalctl -u audiobookshelf to see those. Optionally use flag -f with that command and you can watch them while you attempt to match to see what error is showing up.

If using the docker container please get the logs from the container (as opposed to using the logs in the Abs page).

@iconoclasthero
Copy link

a) how do you get journalctl to output to something I can paste,
b) how do you get jounralctl to limit to say the last few days? I'm at line 12000 and I'm still on 2023.08.26

@advplyr
Copy link
Owner

advplyr commented Sep 14, 2023

You should only need to paste a small amount of logs. I recommend not going through the entire log and instead use journalctl -u audiobookshelf -f and then open the match tab that isn't working. You should see the error happening and you can copy paste it.
Also, make sure you have DEBUG logs turned on. You can do that by going to the settings -> logs in the web client.
image

@iconoclasthero
Copy link

iconoclasthero commented Sep 14, 2023

https://mega.nz/file/VdpUyKiK#nZXKaz2DtrbOBRRroIpXfGUNjS7xSDend6ThGv6_ehM

Well, I now have a line that says "2023-09 ... DEBUG Set Log Level to Debug" so I assume that means that the above was only logged at Info.

@advplyr
Copy link
Owner

advplyr commented Sep 14, 2023

Can you share the relevant log here? You don't need to share the entire log, just the relevant error message or logs shown relating to matching.

@iconoclasthero
Copy link

iconoclasthero commented Sep 14, 2023

I put up what I have. If it doesn't have the debug info then I'll have to wait until it generates more.

Also, you need to sort through the log to determine what is relevant to you; I can't do that.

@Spinonduality
Copy link
Author

Is the "noted number" 95?

What happens if you go into one of the books which did not match and manually Match that book (from the edit view). Are there any results?

Yes, an alert comes up with "95 books were matched"

When I go into the books that did not match automatically, and match them manually, it seems to work fine. It is just the automatic, full-library matching that doesn't seem to work.

@Spinonduality
Copy link
Author

Is the "noted number" 95?
What happens if you go into one of the books which did not match and manually Match that book (from the edit view). Are there any results?

Yes, an alert comes up with "95 books were matched"

When I go into the books that did not match automatically, and match them manually, it seems to work fine. It is just the automatic, full-library matching that doesn't seem to work.

Oh wow, okay when I saved the manually updated book the alert stated "no changes were made," however the cover is now showing up in my library. That seems very weird.

@advplyr
Copy link
Owner

advplyr commented Dec 2, 2023

Is this still an issue for you? I read through this again and it's not clear to me what is going on without more info and logs

@advplyr advplyr added waiting Waiting for OP unable to reproduce Issue is not yet reproducible labels Dec 2, 2023
@advplyr advplyr closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2024
@advplyr advplyr removed waiting Waiting for OP unable to reproduce Issue is not yet reproducible labels Jan 10, 2024
@colonelmattyman
Copy link

Trying to match all books in a Library using the 3 dots menu under Settings - Library, only matches the first 100 books.

@colonelmattyman
Copy link

If I tick skip matching books with ASIN it terminates straight away. Only the first hundred books that have been scanned have an ASIN.

Are you using a 'SELECT TOP 100' query somewhere?

@advplyr advplyr reopened this Apr 14, 2024
@advplyr advplyr added the awaiting release Issue is resolved and will be in the next release label Apr 14, 2024
@advplyr
Copy link
Owner

advplyr commented Apr 14, 2024

Thanks I found the issue and it will be fixed for the next release

@colonelmattyman
Copy link

You're too good. Thank you!

@advplyr
Copy link
Owner

advplyr commented Apr 22, 2024

Fixed in v2.9.0

@advplyr advplyr closed this as completed Apr 22, 2024
@advplyr advplyr removed the awaiting release Issue is resolved and will be in the next release label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants