Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Grafana
  3. Unable to install plugins

Unable to install plugins

Scheduled Pinned Locked Moved Solved Grafana
3 Posts 2 Posters 1.4k Views 2 Watching
  • 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.
  • ChristopherMagC Offline
    ChristopherMagC Offline
    ChristopherMag
    wrote on last edited by
    #1
    /app/code/bin/grafana-cli -homepath /app/code -config /run/grafana/custom.ini plugins install grafana-worldmap-panel
    Error: ✗ pluginsDir (/var/lib/grafana/plugins) is not a writable directory
    
    /app/code/bin/grafana-cli -homepath /app/code -config /run/grafana/custom.ini plugins ls
    Error: ✗ stat /var/lib/grafana/plugins: no such file or directory
    
    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @ChristopherMag I can reproduce the problem. Strange, because the config file does have the plugin path set correctly as suggested by https://grafana.com/docs/grafana/latest/administration/configuration/#plugins

      [paths]
      data="/app/data/grafana"
      logs="/run/grafana/logs"
      plugins="/app/data/plugins"
      
      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        @ChristopherMag This should be fixed now with the latest package. I found that we have to set GF_PLUGIN_DIR env var or pass --pluginDir separately for the CLI tool. The server reads configs from custom.ini but the CLI does not (there's probably some good reason for this discrepancy).

        1 Reply Last reply
        1
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search