Julian Charles Ball's picture

I'm looking to download and experiment with the Turnkey Redmine appliance.  Can someone please advise whether I'd be able to install Redmine plugins onto the device and if so how?  All help gratefully received!

- Julian 

Forum: 
Steve's picture

Sure - it works fine to install plug-in's - other than check compatibility first

Nav to your railsapp/vendor/plugins and download the plugin then rack the db to update

I would advise backing up the db before each plugin install

Download straight from GitHub worked for us best - i.e.

git clone git://github.com/user_name/name_of_the_plugin.git

then - if needed 

 

rake db:migrate:plugins RAILS_ENV=production
Jeremy Davis's picture

The find command is very handy in these situations! :)

To find the three directories you're looking for I would try something like this:

find / -type d -iname redmine # iname means it's case insensative
find / -type d -name railsapp
If they output too much, you can use grep to narrow it down:
find / -type d -iname redmine | grep data
Jeremy Davis's picture

TBH I'm not that familiar with ruby stuff, but a quick google suggests that this issue may be because the plugin is not compatible with the current TurnKIey environment.

It might be worth checking with the plugin provider. Do they have some sort of support? Please post back if you get any further with this (even if it's not solved). I'll try to help as much as I can...

Actually if you can post the exact steps you've taken so far so I could try to reproduce it when I get a chance. Then I can see if there's something wrong with TurnKey; or it's just an incompatibility.

Jeremy Davis's picture

I found them a bit hard to read with all the whitespace so I edited them a bit...

Anyway, as I said I am not very familiar with Ruby but it seems to me like you need to install capybara v1.1.0 but you installed the latest (v2.6.2). Google suggests that you can install specific gem version using the -v switch, so perhaps try:

gem install capybara -v 1.1.0

Although having said that, I still think that there may be deeper issues with mismatched versions. It does look like things might be pretty messed up on your server. Perhaps it might be wroth starting again in a clean VM? It may not make any difference, but at least you know that it's not failing because of something you recently broke. I still haven't had a chance to look into it myself, but thanks for posting clear instructions.

Jeremy Davis's picture

I'd really love to help you out, but I'm really bogged down with other stuff at the moment. So unfortunately don't have the time right now to get my hands dirty sorry.

Having said that, I think I might know what is going on. If you look at the error you are getting it's saying that it can't find the files that it's looking for. That suggests that you are in the wrong place in the filesystem. Looking at previous posts in this thread it seems that Redmine is installed to /var/www/redmine so my guess is that is where you should be rather than /usr/local/share/redmine...

I hope that might help get you going in the right direction...

Add new comment