hassio-addons / addon-grafana

Grafana - Home Assistant Community Add-ons
https://addons.community
MIT License
213 stars 61 forks source link

Conflict user login problem #373

Closed mr12obot closed 2 weeks ago

mr12obot commented 7 months ago

Currently use grafana version: 9.1.1. I can not login because have an error log below

Found a conflict in user login information. 2 users already exist with either the same login or email: [admin (email:admin@localhost, id:1), ADMIN (email:ADMIN, id:2)].       

And try to solve with this guide https://grafana.com/blog/2022/12/12/guide-to-using-the-new-grafana-cli-user-identity-conflict-tool-in-grafana-9.3/

But when I try to ingest, it no success and throws an error log below:

Changes that will take place
Keep the following user.

conflict: admin
id: 1, email: admin@localhost, login: admin

The following user(s) will be deleted.
id: 2, email: ADMIN, login: ADMIN

We encourage users to create a db backup before running this command. 
 Proceed with operation? [y|n]: y
Error: ✗ not able to merge with &{%!e(string=could not find intoUser: Found a conflict in user login information. 2 users already exist with either the same login or email: [admin (email:admin@localhost, id:1), ADMIN (email:ADMIN, id:2)].) %!e(*user.ErrCaseInsensitiveLoginConflict=&{[{1 0 admin@localhost  admin b8fe257675fd3916bc4998efd0bba68450b05700b59608bf46dd377f8c339556b6234cd92cbd22ccf8ef5880790f56fdf245 JSHzHazrmZ inEhP3QLoZ  false  1 false false false 1 {0 63774812114 0x9204040} {0 63774812114 0x9204040} {0 63820935574 0x9204040}} {2 0 ADMIN ADMIN ADMIN 694923053ac9d2f945df9fd3e452637851f9ea56acab700a93b5106ca1ba3b7b2daff620cd868dbcfbe0587a37e316c4fd8a c27omL6euf fmMncZ6oP9  false  0 false true false 1 {0 63783071068 0x9204040} {0 63783071068 0x9204040} {0 63802985680 0x9204040}}]})}

Please advice how to resolve this problem. Anyone can help to fix with this problem ?

github-actions[bot] commented 6 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

github-actions[bot] commented 5 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

github-actions[bot] commented 3 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

github-actions[bot] commented 2 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

github-actions[bot] commented 1 month ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

mr12obot commented 1 month ago

Not Stale

github-actions[bot] commented 3 weeks ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!