I had an instance running great on CentOS7. I wanted to change the port from the default 3000 to 80, so pretty straight forward. I edited the config file located in /etc/grafana/grafana.ini, uncommented the line, saved. When I ran systemctl restart grafana-server the server would not start saying that it could not find the default config file. I verified that path, exported to the default path and launched grafana-server start (skipping systemctl) grafana started but during start it migrated me to a new database (like a fresh install) and i lost all my data… Grafana still wont start using systemctl. I’m probably going to have to redo all my dashboards but how do i keep this from happening again? Can I get my data back? Thanks!
Explore the Grafana-backup-tool available here to persist dashboards and datasources across Grafana pod restarts or recreation
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Despite providing [database] settings - lost templates, datasources after restart | 1 | 2548 | February 21, 2018 | |
| Lost dashboard after server reboot? | 2 | 3034 | September 20, 2022 | |
| Grafana is constantly restarting | 4 | 2448 | July 19, 2022 | |
| Grafana server starting to failed | 4 | 2719 | July 30, 2024 | |
| Grafana server has been reset by itself | 1 | 720 | December 5, 2022 |