You are here
Julian Charles Ball - Mon, 2011/01/17 - 15:05
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:
Plug ins
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 from Amazon Webadmin
How do you execute rake from the Amazon Webadmin Command Shell? It keeps saying rake does not exist and it does not allow you to cd to any particular directory.
What plugin version are you
What plugin version are you trying to install? And what is your redmine version?
You should run rake command from redmine app directory or use full path like this :
for redmine < 2
rake -f /var/data/redmine/Rakefile db:migrate_plugins RAILS_ENV=production
for redmine 2+
rake -f /var/data/redmine/Rakefile redmine:plugins RAILS_ENV=production
Plugin question
Hi
I have just installed a vanilla version of the Turnkey Redmine iso. It all starts up fine and works grreat.,
Now I'm interested in adding a plugin (a back log plugin)
I'm following these instructions
http://www.redminebacklogs.net/en/installation.html#
When I follow them it states that I need to run some commands in the plugin directory. Any idea where I can find this? I don't seem to have a /var/lib/Redmine directory or railsapp/vendor/plugins or var/data/redmine
Please point me in the right direction of where to install it.
Thanks
gavin
I don't know but "find" might help?
To find the three directories you're looking for I would try something like this:
If they output too much, you can use grep to narrow it down:Thanks But it looks like
Thanks
But it looks like I don't have railsapp as nothing was output for that command.??
root@redmine 2.1.0/redmine_backlogs# find / -type d -iname redmine
/var/www/redmine
/var/www/redmine/test/unit/lib/redmine
/var/www/redmine/test/integration/lib/redmine
/var/www/redmine/lib/redmine
/var/log/redmine
root@redmine 2.1.0/redmine_backlogs# find / -type d -name railsapp
root@redmine 2.1.0/redmine_backlogs#
plugin redmine
hi, I need a step by step to install plugins in redmine. for example this plugin: http://www.redminebacklogs.net/en/installation.html. How do I install?
Thanks
I assume this is my plugin
I assume this is my plugin directory?
/var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0
OK forget that... I just
OK forget that... I just found it
/var/www/redmine/plugins
Doh!
Thanks everyone for your help!
OK I am back again.... have
OK I am back again.... have got much further with the install of the redmine backlog plugin.
When executing the command
bundle exec rake redmine:backlogs:install
I get the following error
(in /var/www/redmine)
rake aborted!
NameError: uninitialized constant ActionDispatch::XmlParamsParser
/var/www/redmine/config/application.rb:52:in `<class:Application>'
/var/www/redmine/config/application.rb:8:in `<module:RedmineApp>'
/var/www/redmine/config/application.rb:7:in `<top (required)>'
/var/www/redmine/Rakefile:5:in `require'
/var/www/redmine/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
Any ideas?
Thanks Gavin
Sorry for slow response...
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.
Steps followed
Hi Sorry for my late reply. I also got side tracked.
The steps I followed were from here
http://www.redminebacklogs.net/en/installation.html#
Then I followed method 1
Method #1
NOTE: This first method requires some knowledge of git. For more information on how to use it, please visit the git homepage.
First, make sure that you’re inside the `plugins` directory of your Redmine instance. Now, clone the source from Github by executing the following command:
This will create a directory named `redmine_backlogs` which is exactly what we need.
IMPORTANT: Don’t rename the `redmine_backlogs` directory!
Now you need to select the version you want to use. First, go inside the `redmine_backlogs` directory by executing the following:
Then, take a look at the available versions that have been tagged in the repo:
This will display the versions in alphabetical order. Choose the latest version (recommended), or whichever you prefer by running the following command:
NOTE: Replace ‘X.Y.Z’ with the version of your choice.
That’s it for Method #1. If you want to try out some of the experimental features, feel free to poke around by checking out the master branch or any other available branches. See the section titled Optional: Getting the latest code below for information on how to do that.
After this I then did
Then I ran
Which is where I get the error.
Hope this helps
Regards
Gavin
Update
I had removed the capybara entry from the Genfile as suggested.
But I then received the following error
I hope you don't mind I edited your last 2 posts
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:
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.
rake aborted!
Hi!
I'm trying to install this plugin (https://github.com/jperelli/Redmine-Periodic-Task) but appears "oborted rake." How can I solve this?
root@redmine ~# cd /usr/local/share/redmine
root@redmine share/redmine# git clone http://github.com:/jperelli/Redmine-Periodic-Task.git plugins/periodictask
Cloning into 'plugins/periodictask'...
remote: Counting objects: 410, done.
remote: Total 410 (delta 0), reused 0 (delta 0), pack-reused 410
Receiving objects: 100% (410/410), 57.84 KiB | 0 bytes/s, done.
Resolving deltas: 100% (161/161), done.
Checking connectivity... done.
root@redmine share/redmine# rake redmine:plugins:migrate NAME=periodictask RAILS_ENV=production
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
(See full trace by running task with --trace)
Thanks!!!
Environment: Redmine
Please could someone help me
Please could someone help me solve the question above?
Thank you,
Rafael.
Sorry for slow reply
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...
ok, thanks!
thanks for the answer!
Add new comment