Defect #11563
closedCan't Install any plugin for Redmine
0%
Description
My machine info: Build Operating System: Linux 2.6.18-194.11.1.el5 x86_64 Red Hat, Inc.
Downloaded BitNami redmine 1.4 stack from here http://bitnami.org/stack/redmine/
After installation, I can successfully see Redmine and login as a user.
Next, I just need some plugins.
I followed the instruction here: http://answers.bitnami.org/questions/1785/install-the-bitnami-redmine-plugins
Copy the plugin files to the "plugins" directory and run the following in Terminal
$ cd installdir
$ ./use_redmine
$ cd apps/redmine/htdocs
$ rake db:migrate_plugins RAILS_ENV=production
After rake, I see the following error in Terminal:
(in /home/abcdefg/public_html/pm/apps/redmine/htdocs) rake aborted! uninitialized constant YAML::ENGINE /home/abcdefg/public_html/pm/apps/redmine/htdocs/Rakefile:4:in `require' (See full trace by running task with --trace)
Why is that? How to fix it?
I also tried a plugin that does not need migration. Just copy the files over to plugins directory, and type ./ctlscript.sh restart Redmine in terminal and it seems running ok and I checked status, it shows:
subversion already running
apache already running
mysql already running
But, when I go the the browser and browse to http://localhost:8082/redmine/ , it returns 500 internal server error message; the error goes away if I deleted the plugins files I copied in.
In summary, I have 2 problems, both related to installing redmine plugins.
- can not run rake db:migrate_plugins RAILS_ENV=production
- for plugins that do not need migration, new plugins cause 500 internal server error
What should I do to debug these problems? Thank you so much for your help :)
Updated by Etienne Massip over 12 years ago
- Run rake with
--trace
as suggested - Look into your
production.log
file to get error stack trace
Updated by john zhel over 12 years ago
Etienne Massip wrote:
- Run rake with
--trace
as suggested- Look into your
production.log
file to get error stack trace
Hello Etienne,
Thank you for replying to my questions.
How do I "Run rake with --trace "? (I'm 100% NB here, LOL) Please advise :)
Updated by Etienne Massip over 12 years ago
rake db:migrate_plugins RAILS_ENV=production --trace
=)
Updated by Jan Niggemann (redmine.org team member) almost 12 years ago
- Status changed from New to Needs feedback
Updated by Jan Niggemann (redmine.org team member) over 11 years ago
- Status changed from Needs feedback to Closed
- Resolution set to No feedback