• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-GrafanaCharts page not found with Grafana 8.0.6

Scheduled Pinned Locked Moved Solved Troubleshooting
4 Posts 3 Posters 1.2k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    Babene1 Project Sponsor
    last edited by Babene1 Jul 25, 2021, 9:32 AM Jul 25, 2021, 9:30 AM

    i want to use the MMM-GrafanaCharts in my MM but page not found.
    I have grafana 8.0.6.
    I have no idea where the error could be. I would be very grateful for a hint.

    PageNotFound.png

    in normal Brpwser the page works, here is the ULR

    URL_inBrowser.png

    Here is my module config

    {
    			module: 'MMM-GrafanaChart',
    				position: 'top_right',   // This can be any of the regions.
    				config: {
    					   version: "8", 
    					   id: "QG8S2mWnk", 
    					   host: "192.168.178.248", 
    					   port: 3000, 
    					   dashboardname: "raspberryklein", 
    					   orgId: 1, 
    					   panelId: 2, 
    					   width: "500px", 
    					   height: "500px", 
    					   refreshInterval: 900 
    				   }
    		   },
    
    S 1 Reply Last reply Jul 25, 2021, 11:35 AM Reply Quote 0
    • S Away
      sdetweil @Babene1
      last edited by Jul 25, 2021, 11:35 AM

      @babene1 where is that host?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Jul 25, 2021, 2:53 PM Reply Quote 0
      • E Offline
        evroom @sdetweil
        last edited by Jul 25, 2021, 2:53 PM

        @Babene1

        Your config looks okay to me.

        I do not use it anymore, but from my notes (June 2020):

        $ sudo vi /etc/grafana/grafana.ini
        
        [auth.anonymous]
        l
        # enable anonymous access
        enabled = true 
        
        # specify organization name that should be used for unauthenticated users
        org_name = MagicMirror
        
        # specify role for unauthenticated users
        org_role = Viewer
        
        [security]
        # https://grafana.com/docs/grafana/latest/installation/configuration/#allow-embedding
        allow_embedding = true
        
        $ sudo systemctl restart grafana-server
        

        I cannot remember why I needed this.
        Perhaps because of the allow_embedding and enabled settings.

        Good luck,

        E.J.

        MagicMirror version: 2.30.0
        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        Test environment:
        MagicMirror version: v2.30.0
        Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        1 Reply Last reply Reply Quote 0
        • B Offline
          Babene1 Project Sponsor
          last edited by Jul 26, 2021, 6:31 AM

          i found the problem, in my case the “panelId” was the problem.
          I don’t know if the problem only occurs in Version 8 from graval or if an configuration misstake in my grafan evironments.
          I delete in MMM-GrafanCharts.js files the panelId in the iframe.src URL and now it works

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy