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

Metadata cleared for no reason #3524

Open
hstraten opened this issue Jan 31, 2025 · 4 comments
Open

Metadata cleared for no reason #3524

hstraten opened this issue Jan 31, 2025 · 4 comments
Labels
needs-triage Needs to be triaged by a developer and assigned a release

Comments

@hstraten
Copy link

What happened?

I have the issue reported here: Snd-R/komf#84 which sends me to Kavita support.
I reported it a while ago on Discord, but since I'm not really active there I think it got lost between all the other questions.
So here I am again :)

I have Kavita 8.4.2 running as a Docker container along with Komf 1.3.0 and several others.
When I add a new series, the Komf Auto Identify runs and does its work.
But when I come back after a while these fields are empty or reset:

  • Genres: empty
  • Tags: empty
  • Publication: reset to ongoing
  • Language: empty
  • Release year: empty
    The rest is untouched

My guess is because of one of the scheduled scans, because I can reproduce it by doing a manual scan on the series, almost immediately the metadata is gone, until I run the Komf (auto-)Identify again.

My compose file is not much changed from the one on the documentation page: here
Other than the paths and timezone

What did you expect?

I expect the metadata that was already there to be untouched as Komf should be the only source for the metadata, I do not use ComicInfo

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

0.8.4.2 - Stable

What operating system is Kavita being hosted from?

Docker (Dockerhub Container)

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

Windows

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

Microsoft Edge

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

No response

@hstraten hstraten added the needs-triage Needs to be triaged by a developer and assigned a release label Jan 31, 2025
@hstraten hstraten changed the title Metadata cleared fo no reason Metadata cleared for no reason Jan 31, 2025
@majora2007
Copy link
Member

Hmm, Kavita doesn't actually change things back to default/reset metadata usually. It only updates it to what it's told during a scan (ComicInfo) or API call. If the comicinfo is missing, nothing will be done.

This sounds like the series is being deleted and recreated due to multiple files existing parallel to the library root. Do you see this series in Recently Added when you see this metadata reset occur?

@hstraten
Copy link
Author

hstraten commented Jan 31, 2025

No, and I don't see anything special happening in the logs either: https://pastebin.com/rCCqxEMM
I do see these in the log:
[Information] API.Services.Tasks.Metadata.WordCountAnalyzerService [WordCountAnalyzerService] Updated metadata for *** in 143 milliseconds
[Debug] API.Services.MetadataService Dispatching 20 update events

This is directly after pressing Scan series, until it settles down.

Oh as addition, I created a separate library with just one serie in it, and the same happens.

@hstraten
Copy link
Author

hstraten commented Jan 31, 2025

I just tested with a fresh container, no configs or databases, and I see the same behaviour there. Just copied one (part of a) serie in the library folder.

2nd test, stopped the other containers, so just a clean kavita container, manually adding a tag and refreshing still results in it being removed (on the second try after unlocking the field, because manually adding a tag locks the field)

3rd test, installed docker on my desktop, created kavita container, same behaviour

@thundrglaive
Copy link

Hello everyone, Just wanted to mention i have the same issue. Data added by Komf disappears when doing a scan if no comicinfo file is present for that series. Like hstraten says it's only writers, genres, tags and publication that get cleared.

I just tested it with manually adding some data in Kavita itself and if i don't lock the field it also gets cleared on a scan.

I'm also running the docker container version 0.8.4.2.
Thx. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Needs to be triaged by a developer and assigned a release
Projects
Development

No branches or pull requests

3 participants