Closed ashprice closed 11 months ago
Actually, the issue mentioned with check-search-indexes
no longer seems to be the case today. I noticed there can be a significant time-delay between the value being updated, so maybe I was just wrong about that.
Given that, I am going to try re-indexing. I don't think that is necessarily relevant for the duplication issue anyway, as it seems to be erroring out when trying to add the record to the DB, rather than the indexes.
Hi! This is not something you usually would need to deal with, which is why there's no documentation for it :) We had a one-off issue that caused it, and you can see the steps you might need to take to correct it in https://blog.metabrainz.org/2023/10/24/musicbrainz-server-mirror-only-fix-update-2023-10-24/
Apologies if this is the wrong place to ask about this - I suppose it's not related to the docker image per se. However, I do believe that including information about this in the documentation, or at the very least a link to somewhere that does document it, would be helpful.
While running the replication script I ran into the following errors:
I'm not sure how to deal with this. I have tried:
What I haven't tried is manually deleting and so on the indexes, and then running
which I am reluctant to do, I suppose, because this process takes a significant amount of time. I'm aware I can check and delete individual tables, but here I have another problem.
I see from previous issues that it's recommended to reindex when any of the indexes do not match the database in the number of records, except for annotations. However, when running the delete command and re-indexing, there is (on my environment at least) typically (a) no indication that the indexes were actually deleted (running check-search-indexes after deleting reprints the same numbers, instead of 0 for the index), and (b) after running the indexer, typically the numbers still do not match up.I don't know if that is in some way expected behaviour, or if I actually have two issues. I should note that I had this same problem(?) withcheck-search-indexes
on my environment across multiple previous installs (ie. completely wiping the docker environment and starting from scratch), but I didn't open an issue before because despite the mismatch reported bycheck-search-indexes
, everything seemed to work.Please let me know what other information I can provide, or if you'd rather I ask this somewhere else. And thank you for doing what you do!