Closed AshDevFr closed 1 year ago
https://wiki.kavitareader.com/en/guides/managing-your-files/scanner The scan loop was upgraded a while back. I would check that link and see if your library follows the new requirements. (Note library root means the folder you selected for the library on the libraries settings page in kavita)
I did check this link earlier and the example I provided should match the one on the page but it still does not work.
@AshDevFr This is a known issue with stable 0.7.1.x and has already been fixed in the nightly releases AFAIK. I would recommend using v0.6.1 until the next stable release.
I don't think this is a known issue. If the log is saying it found the series, then it should get put into Kavita. Can you search in the web ui for the filename and see if it shows up?
My thinking is your files have embedded metadata that has a different series.
I apologize, I got it mixed up with another known issue. For this we need more information. Can you provide a couple things while on v0.7.1.4:
I moved a subset of files in a different directory to test so the logs would be smaller.
I also removed the ComicInfo.xml
file from the volume 1 and re-scanned.
Now it picks up volume 1 and 2, not 3 and 4. I have not changed the volume 2 so it's weird that it's picking it up this time
@AshDevFr So what the logs so is that It picked up Volume 1 and Volume 2003. From the comic info I can see the volume is called 2003, which I am assuming is the same for all 4 volumes.
We group chapters of the same volume. So I would imagine if you look at the volume details for 2003 you will see the others group inside like the following:
Just check and it's what is happening. Even if it's what's happening for my whole library, should I at least get 1 volume per Serie instead of nothing?
Right now it's working in a small folder with only one serie with only 4 volumes instead of 254 Series with thousands of volumes?
Also I tried searching but nothing was in the search.
Just check and it's what is happening. Even if it's what's happening for my whole library, should I at least get 1 volume per Serie instead of nothing?
Yes, that should be the case.
If you set the library root for this in Kavita to be /mnt/Mangas
then it should be working as such (unless you have the same series in multiple locations off the root). If it is still not working as such then I would recommend the Force Scan I mentioned earlier. The force scan bypasses our optimizations to speed up scan times and instead scan everything for that library regardless.
I tried the force scan a couple of time and nothing appears. In the logs I was able to see this but I don't know if it's what is failing the whole scan:
Mar 08 18:44:13 kavita Kavita[1182]: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1. [94/18261]
Mar 08 18:44:13 kavita Kavita[1182]: at VersOne.Epub.Utils.TaskExtensionMethods.ExecuteAndUnwrapAggregateException[T](Task`1 task)
Mar 08 18:44:13 kavita Kavita[1182]: at API.Services.BookService.ParseInfo(String filePath) in C:\Users\josep\Documents\Projects\KavitaOrg\Kavita\API\Services\BookService.cs:line 581
Mar 08 18:44:13 kavita Kavita[1182]: [Kavita] [2023-03-08 18:44:13.298 +00:00 53] [Warning] API.Services.BookService [BookService] There was an exception when opening epub book: /mnt/Mangas/Fate Stay Night FR/Fate stay Night - Volume 9.epub
I created a .kavitaignore
with all the directories and I'm going to test to add the series one by one. I'll update the post when I find the culprit
Ok I was able to import everything after removing a directory.
I had a messed up directory that had a weird name because of an old ssh mistake.
The folder name was 'Kekkaishi\ \(Digital\)'
so Kekkaishi\\\ \\\(Digital\\\)
without the quotes. It's the only thing I found.
I hope it's helpful.
Since I can now see the series I'll close the issue.
Thanks for the help
Describe the bug
I had an old (probably
v0.5.x
) version of Kavita running on a Ubutu VM. It was working nicely and I decided to update tov0.7.1.4
to get the latest features and bug fixes.After restarting the server, my manga library was present but empty. I thought it just needed a re-scan so I scanned the library again but it did not find anything.
I tried to delete and recreate the library and it did not work.
I decided to reinstall the app and restart from scratch but it did not help, no matter what I do the page shows
0 Series
.The log shows a lot of
file found
but nothing appears in the library.Some logs:
The
King of Hell
folder is organized like thisA clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
cbz
files0 Series
Expected behavior It used to find all my mangas so I expect it to still find them
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):