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. Mattermost
  3. Poll plugin install fails

Poll plugin install fails

Scheduled Pinned Locked Moved Mattermost
6 Posts 2 Posters 1.0k 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.
  • BenoitB Offline
    BenoitB Offline
    Benoit
    translator
    wrote on last edited by
    #1

    Hi,

    I have installed the poll plugin on Mattermost but i can't use it (Matterpoll https://github.com/matterpoll/matterpoll).

    Capture d’écran du 2023-11-23 10-39-28.png Capture d’écran du 2023-11-23 10-38-35.png

    Is it possible to use plugins with Cloudron except those from the Marketplace ?

    Thanks for your help

    Ben

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      This looks like maybe permissions are wrong or 'x' bit is not set (not executable) ?

      1 Reply Last reply
      0
      • BenoitB Offline
        BenoitB Offline
        Benoit
        translator
        wrote on last edited by Benoit
        #3

        @girish i have more informations with logs

        Nov 23 10:37:26{"timestamp":"2023-11-23 09:37:26.383 Z","level":"error","msg":"Failed to get plugins from the marketplace server.","caller":"web/context.go:115","path":"/api/v4/plugins/marketplace","request_id":"3z835g8whjygzqzaj8zqhwpznc","ip_addr":"90.120.42.130","user_id":"6ot7inquxf8gdq7rpkrah7ix4o","method":"GET","err_where":"getRemotePlugins","http_code":500,"error":"getRemotePlugins: Failed to get plugins from the marketplace server., failed with status code 502"}
        Nov 23 10:37:38{"timestamp":"2023-11-23 09:37:38.220 Z","level":"warn","msg":"Unrecognized config permissions tag value.","caller":"api4/config.go:431","tag_value":"sysconsole_write_*_read"}
        Nov 23 10:37:38{"timestamp":"2023-11-23 09:37:38.527 Z","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:171","plugin_id":"com.github.matterpoll.matterpoll","bundle_path":"plugins/com.github.matterpoll.matterpoll","error":"unable to start plugin: com.github.matterpoll.matterpoll: fork/exec plugins/com.github.matterpoll.matterpoll/server/dist/plugin-linux-amd64: permission denied"}
        Nov 23 10:37:38{"timestamp":"2023-11-23 09:37:38.547 Z","level":"error","msg":"Not activating plugin because diagnostics are disabled","caller":"app/plugin_api.go:984","plugin_id":"com.mattermost.nps"}
        Nov 23 10:37:38{"timestamp":"2023-11-23 09:37:38.548 Z","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:171","plugin_id":"com.mattermost.nps","bundle_path":"plugins/com.mattermost.nps","error":"Not activating plugin because diagnostics are disabled"}
        Nov 23 10:37:38{"timestamp":"2023-11-23 09:37:38.548 Z","level":"info","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:61","plugin_id":"com.mattermost.nps","wrapped_extras":"pathplugins/com.mattermost.nps/server/dist/plugin-linux-amd64pid150"}
        Nov 23 10:37:38{"timestamp":"2023-11-23 09:37:38.832 Z","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:171","plugin_id":"com.github.matterpoll.matterpoll","bundle_path":"plugins/com.github.matterpoll.matterpoll","error":"unable to start plugin: com.github.matterpoll.matterpoll: fork/exec plugins/com.github.matterpoll.matterpoll/server/dist/plugin-linux-amd64: permission denied"}
        Nov 23 10:37:38{"timestamp":"2023-11-23 09:37:38.852 Z","level":"error","msg":"Not activating plugin because diagnostics are disabled","caller":"app/plugin_api.go:984","plugin_id":"com.mattermost.nps"}
        Nov 23 10:37:38{"timestamp":"2023-11-23 09:37:38.853 Z","level":"error","msg":"Unable to activate plugin","caller":"app/plugin.go:171","plugin_id":"com.mattermost.nps","bundle_path":"plugins/com.mattermost.nps","error":"Not activating plugin because diagnostics are disabled"}
        Nov 23 10:37:38{"timestamp":"2023-11-23 09:37:38.853 Z","level":"info","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:61","plugin_id":"com.mattermost.nps","wrapped_extras":"pathplugins/com.mattermost.nps/server/dist/plugin-linux-amd64pid163"}
        

        I have tested on 2 different Cloudron and both same result

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          Seems to work here. I had to bump the memory a bit for it to work.

          image.png

          Have you checked the permissions of the extracted files in the plugins directory?

          1 Reply Last reply
          0
          • BenoitB Offline
            BenoitB Offline
            Benoit
            translator
            wrote on last edited by Benoit
            #5

            Very strange, because i have Cloudron on owner permissions. I have installed it from the Cloudron file manager, and what about you ?

            Capture d’écran du 2023-11-23 14-55-55.png

            1 Reply Last reply
            0
            • BenoitB Offline
              BenoitB Offline
              Benoit
              translator
              wrote on last edited by
              #6

              Very strange, i tried again with another method. When i untar the file on my computer (ubuntu desktop) first and i send the directory with cloudron file manager and change the directory ownership, i have an error on activation and it does't work. When i send the targz file directly and extract it with the file manager and change the ownership all is ok and it works ! @girish is it normal ? Problem solved

              1 Reply Last reply
              2
              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