dosubot[bot] commented on issue #8692:
URL:
https://github.com/apache/incubator-devlake/issues/8692#issuecomment-3805005953
<!-- Answer -->
There aren't any alternative default credentials or non-destructive reset
methods documented for the DevLake Grafana instance. The credentials are stored
in a persistent Docker volume named `grafana-storage`. To reset Grafana to
accept the default admin/admin login, you'll need to remove this volume, which
will erase all Grafana data (including dashboards and user settings) and
restore the default credentials on restart.
Here's how you can do it:
1. Stop your DevLake containers:
```
docker-compose down
```
2. Remove the Grafana storage volume:
```
docker volume rm devlake_grafana-storage
```
(If your project directory or volume name is different, adjust
accordingly.)
3. Restart the stack:
```
docker-compose up -d
```
After this, you should be able to log in to Grafana with admin/admin again.
If you have important dashboards, try to export them before resetting, or check
if you have any backups.
[Reference](https://github.com/apache/incubator-devlake/blob/main/devops/releases/lake-v0.21.0/docker-compose.yml)
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do?
[Good](https://app.dosu.dev/response-feedback/c3212d9d-0fd4-469e-967b-5c7670d37ce6?feedback_type=great_response)
|
[Irrelevant](https://app.dosu.dev/response-feedback/c3212d9d-0fd4-469e-967b-5c7670d37ce6?feedback_type=irrelevant_answer)
|
[Incorrect](https://app.dosu.dev/response-feedback/c3212d9d-0fd4-469e-967b-5c7670d37ce6?feedback_type=incorrect_sources)
|
[Verbose](https://app.dosu.dev/response-feedback/c3212d9d-0fd4-469e-967b-5c7670d37ce6?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/c3212d9d-0fd4-469e-967b-5c7670d37ce6?feedback_type=hallucination)
| [Report
🐛](https://app.dosu.dev/response-feedback/c3212d9d-0fd4-469e-967b-5c7670d37ce6?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/c3212d9d-0fd4-469e-967b-5c7670d37ce6?feedback_type=other)</sup>
[](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=github) [](https://cursor.com/link/prompt?text=There%20aren%27t%20any%20alternative%20default%20credentials%20or%20non-destructive%20reset%20methods%20documented%20for%20the%20DevLake%20Grafana%20instance.%20The%20credentials%20are%20stored%20in%20a%20persistent%20Docker%20volume%20named%20%60grafana-storage%60.%20To%20reset%20Grafana%20to%20accept%20the%20default%20admin/admin%20login%2C%20you%27ll%20need%20to%20remove%20this%20volume%2C%20which%20will%20erase%20all%20Grafana%20data%20%28including%20dashboards%20and%20user%20settings%29%20and%20restore%20the%20default%20credentials%20on%20restart.%0A%0AHere%27s%20how%20you%20can%20do%20it%3A%0A%0A1.%20Stop%20your%20DevLake%20containers%3A%0A%20%20%20%60%60%60%0A%20%20%20docker-compose%20down%0A%20%20%20%60%60%60%0A2.%20Remove%20the%20Grafana%2
0storage%20volume%3A%0A%20%20%20%60%60%60%0A%20%20%20docker%20volume%20rm%20devlake_grafana-storage%0A%20%20%20%60%60%60%0A%20%20%20%28If%20your%20project%20directory%20or%20volume%20name%20is%20different%2C%20adjust%20accordingly.%29%0A3.%20Restart%20the%20stack%3A%0A%20%20%20%60%60%60%0A%20%20%20docker-compose%20up%20-d%0A%20%20%20%60%60%60%0A%0AAfter%20this%2C%20you%20should%20be%20able%20to%20log%20in%20to%20Grafana%20with%20admin/admin%20again.%20If%20you%20have%20important%20dashboards%2C%20try%20to%20export%20them%20before%20resetting%2C%20or%20check%20if%20you%20have%20any%20backups.%20%20%0A%5BReference%5D%28https%3A//github.com/apache/incubator-devlake/blob/main/devops/releases/lake-v0.21.0/docker-compose.yml%29) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20
solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/issues/8692)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]