-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Unable to update language stats for ID and stats queue indexer.Index(1424) failed #24896
Comments
Unrelated problem: it seems that you use "conn" mode for your loggers , which is not correctly configured. I guess you could remove the "conn" mode for loggers. For the duplicate key problem, is it possible to debug what the content of |
OK, reproduced. The problem is this:
|
What should I do for the second question? |
Nothing to do, it will be fixed by Merge different langauges for language stats #24900 |
thank you |
Fix #24896 If users set different languages by `linguist-language`, the `stats` map could be: `java: 100, Java: 200`. Language stats are stored as case-insensitive in database and there is a unique key. So, the different language names should be merged to one unique name: `Java: 300`
Fix go-gitea#24896 If users set different languages by `linguist-language`, the `stats` map could be: `java: 100, Java: 200`. Language stats are stored as case-insensitive in database and there is a unique key. So, the different language names should be merged to one unique name: `Java: 300`
Backport #24900 Fix #24896 If users set different languages by `linguist-language`, the `stats` map could be: `java: 100, Java: 200`. Language stats are stored as case-insensitive in database and there is a unique key. So, the different language names should be merged to one unique name: `Java: 300`
…ea#24921) Backport go-gitea#24900 Fix go-gitea#24896 If users set different languages by `linguist-language`, the `stats` map could be: `java: 100, Java: 200`. Language stats are stored as case-insensitive in database and there is a unique key. So, the different language names should be merged to one unique name: `Java: 300` (cherry picked from commit a83d597)
Description
I mirrored the repository,Every time I restart gitea will report some error.
Gitea Version
v1.20+
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Ubuntu
How are you running Gitea?
./gitea web
Database
MySQL
The text was updated successfully, but these errors were encountered: