Kareadita / Kavita

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
http://www.kavitareader.com
GNU General Public License v3.0
5.72k stars 285 forks source link

Series that changes files each scan #3013

Open brettcol opened 1 month ago

brettcol commented 1 month ago

What happened?

Kavita is displaying a series with the title "(". During a scan, the files that it links to, and the cover, rapidly change. Each scan appears to result in a different set of files being linked to from the "(" 'series'.

What did you expect?

A consistent series.

Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.

0.8.1 - Stable

What operating system is Kavita being hosted from?

Linux

If the issue is being seen on Desktop, what OS are you running where you see the issue?

Windows 11

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

Chrome

If the issue is being seen on Mobile, what OS are you running where you see the issue?

Android

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

Chrome

Relevant log output

https://drive.google.com/file/d/12yetzedm2BZB1xe6abRFs6fRMoRxe9mH/view?usp=sharing

Additional Notes

Kavita Info

Version 0.8.1.0 Install ID f9ee05ae

Machine Info

Linux 5.10.0-30-cloud-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64

brettcol commented 1 month ago

Reading through the logs, the program appears to be consistently changing the root folder for the series (, over-and-over (instead of making new series based on the folder/file names).

brettcol commented 1 month ago

Added debug: reinstalled Kavita from scratch and still had this result.

brettcol commented 3 weeks ago

Attempted debug by removing all non-ASCII characters from series folder titles and removing the series ( from the SQLite db. This allowed more folders to be found and properly turned into series, but at some point it remade the ( series and started putting things in there again.

majora2007 commented 2 weeks ago

Sorry to just get to this. So I see Konya mo Nemurenai v03 c14.zip is mapped to the ( folder. Can you tell me if there is any metadata (comicinfo) inside the first issue or even this file?

To also confirm, you are using LibraryType: Manga and a folder root of /home/koyomi/library/library/manga/ correct?

brettcol commented 2 weeks ago

Yes, library type Manga, folder root /home/koyomi/library/library/manga/

Konya mo Nemurenai v03 c14.zip: Property Value
Name Konya mo Nemurenai v03 c14.zip
Type zip Archive
File location /home/koyomi/library/library/manga/
Size 10595145 bytes
Entries 32
brettcol commented 2 weeks ago

image

Paramestus commented 6 days ago

Kavita is displaying a series with the title "(". During a scan, the files that it links to, and the cover, rapidly change

Hi guys, I used to used Kavita before, so I know I shouldn't be using it with any files on the root folder, but before I remembered that I had all my files inside the root, only 2 series where inside another folder, when I scanned for the first time it only scanned these two series, and then I put another one inside another folder and it scanned it, but after that, every new file I put inside a folder taking it out of the root, it re scanned it as if it were the same thrid folder, like it's overwritting this folder with a new series, this is not normal for Kavita scanner to behave like that this is the root, D:\DOU, this was scanned normally D:\DOU\Mating with Oni the same as this D:\DOU艶がり村 but things like this D:\DOU(C77) [Hito no Fundoshi] Admired Beautiful Flower Extra (Princess Lover!) (English) keeps getting overwrriten

https://github.com/user-attachments/assets/0481b11b-840d-4a03-aabf-e25b926ee083

Paramestus commented 6 days ago

What operating system is Kavita being hosted from? Windows 11

If the issue is being seen on Desktop, what OS are you running where you see the issue? Windows 11

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

Capitiano commented 2 days ago

I am also experiencing this issue. I'll try to give as much detail as possible. Kavita is being hosted on TrueNas Scale. It's accessing files through a read-only SMB share. Previously I was using Kavita with no issues. I had everything set up with .png/.jpg files. I wanted to change everything to .cbz files so that I could use that system for tagging. As I was setting it up I noticed it would, seemingly randomly, not present some files in the Kavita library.

Things I tried to Troubleshoot: Renaming the .cbz files to exactly match the (series) folder Renaming the .cbz files to any combination of [File Name] + Chapter 01, v1 c1, etc. Turning on all file types under [Library Name] -> Settings -> Advanced -> File Types Re-adding the .png/.jpg files (would cause this series to re-appear but only the images folder and not the .cbz) Removing a series and re-scanning the library (would not re-appear) Renaming the folder to just ( (would add it right next to the other one) Changing the Libary Type to Images under [Library Name] -> Settings -> Advanced -> File Types (the ( thing would dissapear but the missing ones would not re-appear) Doing this created a new error There was an issue writing to the DB for Series (. Probably about 100 errors in the default log