Can't install plugin
Added by xiaohua xu about 9 years ago
Environment:
Redmine version 3.1.1.stable
Ruby version 2.2.2-p95 (2015-04-13) [x86_64-linux]
Rails version 4.2.4
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
no plugin installed
I have uploaded the zip to /usr/local/redmine/plugin files.
And run the command "rake redmine:plugins:migrate RAILS_ENV=production" in the /usr/local/redmine and restart the thin.
But I cant found the plugin in the plugin list .
Replies (5)
RE: Can't install plugin - Added by Leonel Iturralde about 9 years ago
xiaohua xu wrote:
I have uploaded the zip to /usr/local/redmine/plugin files.
And run the command "rake redmine:plugins:migrate RAILS_ENV=production" in the /usr/local/redmine and restart the thin.
But I cant found the plugin in the plugin list .
I think you meant /usr/local/redmine/plugins
not /usr/local/redmine/plugin
.
Trying showing the output rake redmine:plugins:migrate
.
RE: Can't install plugin - Added by xiaohua xu about 9 years ago
Yes, the path is /usr/local/redmine/plugins.
I run the redmine under nginx and thin.
I run the command "rake redmine:plugins:migrate RAILS_ENV=production" in the path "/usr/local/redmine" and not output.
And run "rake redmine:plugins:migrate",the output is
rake aborted! ActiveRecord::AdapterNotSpecified: 'development' database is not configured. Available: ["production"] /usr/local/redmine-3.1.1/lib/plugins/acts_as_activity_provider/init.rb:2:in `block in <top (required)>' /usr/local/redmine-3.1.1/config/initializers/00-core_plugins.rb:12:in `eval' /usr/local/redmine-3.1.1/config/initializers/00-core_plugins.rb:12:in `block in <top (required)>' /usr/local/redmine-3.1.1/config/initializers/00-core_plugins.rb:2:in `each' /usr/local/redmine-3.1.1/config/initializers/00-core_plugins.rb:2:in `<top (required)>' /usr/local/redmine-3.1.1/config/environment.rb:14:in `<top (required)>' Tasks: TOP => redmine:plugins:migrate => environment (See full trace by running task with --trace)
RE: Can't install plugin - Added by Leonel Iturralde about 9 years ago
Try executing
RAILS_ENV=production rake redmine:plugins:migrate
RE: Can't install plugin - Added by xiaohua xu about 9 years ago
I run the command "RAILS_ENV=production rake redmine:plugins:migrate" under the path of /usr/local/redmine.
There is not output,and the plugins is not installed still.
RE: Can't install plugin - Added by xiaohua xu about 9 years ago
Is there anyone help me to avoid this problem?