Hello, novice here, so please accept my apologize for maybe posting this simple issue. For life of me I decided to change my Teslamate Grafana password without writing it down first before I forgot it. My setup is on docker container on Qnap. I’ve spent this whole day researching and attempting to reset the password with Grafana cli, but for life of me I can’t seem to run the command thru the terminal. I tried looking for the “Grafana” directory and can’t seem to locate it either. I know it’s has to be there, I can start and stop Teslamate thru the docker. When I run this command docker exec -ti <909a3c5dd39b> grafana cli admin reset-admin-password it gives me this error --sh: syntax error near unexpected token `newline’. I’m doing this at the root level, so I’m thinking I have to run this at a different location or path. Again I’m a novice at this and any guideness would be appreciated. If I have to start all over I will, but thought I give a shot here so I can retain the history that Teslamate has already collected. Thanks in advance for any assistance!
Try using only a command docker exec -ti <909a3c5dd39b> sh
at first and when you’re inside the container you’ll do the grafana cli admin reset-admin-password
Thanks, for the suggestion isaqueprofeta, I remembered that I had enabled automatic “Snapshot” (similar to backup) on Qnap nas and was able to restore to day before I had made the change of the password. I’m able to get access now to Teslamate with Grafana. I do appreciate the assistance isaqueprofeta and will make a note of your suggestion if I ever do needing it somehow later.
1 Like