Skip to content

Grafana "query data error" after following docker installation guide #2773

Answered by Bz16
Bz16 asked this question in Q&A
Discussion options

You must be logged in to vote

So it looks like the reason is that when I am following the docker-compose.yml file, wherever there is things like
- DATABASE_PASS= #insert your secure database password!,
I replaced only # and the string after # to my password of choice, like so:
- DATABASE_PASS= my-password-is-very-safe
Thus the password environmental variables all include a prefixed space. Looks like Grafana strips the space when sending the query and that causes all the errors.

To Fix, just change the password to one that have no space:

  1. Stop all containers other then Postgres Database.
  2. Change the Postgres password. For us NAS users with GUI, enter the Postgres terminal, and run
  • psql -U teslamate -d teslamate
  • \passw…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@Bz16
Comment options

@VinciSC
Comment options

@VinciSC
Comment options

@Bz16
Comment options

@VinciSC
Comment options

Comment options

You must be logged in to vote
1 reply
@jbassman
Comment options

Answer selected by Bz16
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants