Open slaszt opened 3 weeks ago
So I think that deleting about 50 or so series from disk all at once and/or clicking "Scan series" instead of "Delete" in the UI after deleting from disk is at least partially to blame for this issue.
I have now got it to successfully complete a scan and create the new series that was not appearing earlier. Here are the steps I took:
Weird problem, but I guess that's what I get for doing it the quicker way (1 fewer click to scan than delete, I thought they would produce the same result). Hopefully you can reproduce it to see what's going on.
Thanks for the update, will be looking into these scan issues that are being reported soon.
What happened?
I added a PDF file to a library directory in a containing folder meant for a new series. When I go to scan a library in order to add the new series, the scan hangs for a while and then finishes without adding the new documents to the library (there is no new series created).
Conversely, when I add the same PDF file to an existing series folder, the scan adds it to the existing series as normal.
Folder structure:
The main task I was doing prior to encountering this issue was mass deleting series I no longer wanted (from a single library) from disk and then scanning the series that was deleted. This resulted in the series disappearing, which was the desired outcome, but maybe this method introduced some kind of problem?
2945 also describes a similar issue, might be related. Relevant logs are posted.
What did you expect?
I expected that the scan would automatically create a new series based on the folder structure on disk. It looks like, based on the logs, that Kavita detected a change in the folders but something is forcing the scan to restart every minute or so.
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?
Docker (Other)
If the issue is being seen on Desktop, what OS are you running where you see the issue?
Linux
If the issue is being seen in the UI, what browsers are you seeing the problem on?
Firefox
If the issue is being seen on Mobile, what OS are you running where you see the issue?
None
If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?
No response
Relevant log output
Additional Notes
I am running the v0.8.1.0 Docker image from the GitHub container registry.