Skip to content

Cannot Star Dashboards #30

Closed
Closed

Description

@alexpeterson91

Describe the bug

A User was recently looking for more control over grafana, and specifically wanted to be able to star dashboards to set a default, but couldn't.

To Reproduce

open DMS on a DAppNode with dappnode exporter installed or other packages including dashboards.
navigate to the grafana home page where you can see a list of installed/imported dashboards. There is a star at the end of each, clicking it should favorite(?) it so that it can be selected as the default.
It will fail and show an Unauthorized Error

Expected behavior
should properly mark the selected dashboard as starred

Screenshots
Screen Shot 2022-02-09 at 5 17 39 PM

DAppNode version:

  • Package version:
  • OS:
  • Browser

Additional context

appears issue is due to credentials but i am not sure how grafana credentials work, the dockerfile runs it in root so that could be why a normal user cannot but i really don't know grafana well enough. @tropicar please assist when available

Activity

  1. added
    bug
    on Feb 9, 2022
  2. dapplion commented on Feb 10, 2022

    @dapplion
    Collaborator

    Grafana has some initial configuration on who is the default user and what persmisions does it has. @tropicar dig the grafana docs for the config .ini file

  3. alexpeterson91 commented on Mar 6, 2022

    @alexpeterson91
    Author

    @tropicar can you check on this?

  4. dapplion commented on Mar 8, 2022

    @dapplion
    Collaborator

    @tropicar can you check on this?

    In one month maybe? hahaha

  5. tropicar commented on Mar 8, 2022

    @tropicar
    Collaborator

    In the configuration file of grafana, we use 2 configurations that can affect to this I think:

    • enable anonymous access -> this one let the users access the grafana dashboards with no login
    • org_role = admin -> It will give the admin-level permissions to the anonymous users
      I think the feature of having favourites is only for users(non anonymous users), I am checking out and asking on grafana support if there is some easy solution
      Sorry for the delayed answer
  6. tropicar commented on Mar 8, 2022

    @tropicar
    Collaborator

    One possible solution would be:

    • Go to http://dms.dappnode/org/users configurations > users - > create an invitation for users (yourself for example)
    • Copy the link you obtain, paste into the browser while you are connected to the VPN, and define the user, password and email, so, now on the grafana server you will have a user, so you can mark your favourite dashboards.
      All this configurations are happening locally in the grafana server that is allocated in the dappnode
  7. tropicar commented on Mar 14, 2022

    @tropicar
    Collaborator

    I think this "problem" was clarified although the error was not caused by dappnode or DMS package, I think would be interesting to add some basic configuration, stuff of the dms package in the documentation. I have created this Issue on docs dappnode/DAppNodeDocs#146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions