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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Unable to install plugins

    Grafana
    2
    3
    697
    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.
    • ChristopherMag
      ChristopherMag last edited by

      /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 Reply Quote 0
      • girish
        girish Staff last edited by

        @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 Reply Quote 0
        • girish
          girish Staff last edited by

          @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 Reply Quote 1
          • First post
            Last post
          Powered by NodeBB