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. Redmine
  3. unable to install kanban plugin

unable to install kanban plugin

Scheduled Pinned Locked Moved Unsolved Redmine
6 Posts 2 Posters 624 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.
  • N Offline
    N Offline
    nostrdev-com
    wrote on last edited by
    #1

    We are trying to install this plugin on a fresh redmine instance: https://www.redmine.org/plugins/redmine_kanban

    We unzipped to the plugins folder but get the following when running the rake command:

    root@xxx:/app/code# bundle exec rake redmine:plugins NAME=redmine_checklists RAILS_ENV=production
    WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
          stringio (>= 0)
          Available/installed versions of this gem:
          - 3.1.2
          - 3.1.1
    WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
    Please report a bug if this causes problems.
    rake aborted!
    ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `bin/rails credentials:edit` (ArgumentError)
    
              raise ArgumentError, "Missing `secret_key_base` for '#{Rails.env}' environment, set this string with `bin/rails credentials:edit`"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    /run/redmine/vendor/ruby/3.3.0/gems/railties-7.2.2/lib/rails/application/configuration.rb:519:in `secret_key_base='
    

    Any clues? We notice a new major version was installed just 6 days ago (6.0.1)

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Looks like rake needs that variable then exposed for that task. If you run the following prior to the bundle exec... does it help:

      export SECRET_KEY_BASE=$(cat /app/data/secrets.yml | grep 'secret_key_base:' | sed -e "s/.*secret_key_base:\s*//")
      
      1 Reply Last reply
      1
      • nebulonN nebulon marked this topic as a question on
      • N Offline
        N Offline
        nostrdev-com
        wrote on last edited by
        #3

        That helped!

        The error message is now:

        root@xxx:/app/code# bundle exec rake redmine:plugins NAME=redmine_checklists RAILS_ENV=production
        WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
              stringio (>= 0)
              Available/installed versions of this gem:
              - 3.1.2
              - 3.1.1
        WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
        Please report a bug if this causes problems.
        Plugin redmine_checklists was not found.
        
        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          I am no redmine plugins expert but maybe those plugins have interdependencies and the kanban plugin needs some checklist plugin installed first?

          1 Reply Last reply
          1
          • N Offline
            N Offline
            nostrdev-com
            wrote on last edited by nostrdev-com
            #5

            Digging deeper I notice that this plugin isn't listed as 6.0.1 compatible

            Is there an easy way to downgrade redmine? Or re-install a specific version?

            Currently only 20 or so plugins are v6 ready

            https://www.redmine.org/plugins?page=2&sort=&utf8=✓&v=6.0

            1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #6

              A downgrade is only possible if you restore to the cloudron app to the previous version. But this will also revert the changes made since then in the data, since the data has to be consistent with the app code version.

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