Project

General

Profile

Need help to install the redmine in VPS

Added by Kaushal Joshi about 9 years ago

Hello
I have tried to install the redmine into my vps in subdirectory of one of my account.

But I am not able to find out what is wrong with it.
It shows me this error once I turned on the error page. !!

In additional When I run the command

RAILS_ENV=PRODUCTION script/about

It gives me this output
/usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
You did not specify how you would like Rails to report deprecation notices for your PRODUCTION environment, please set config.active_support.deprecation to :log, :notify or :stderr at config/environments/PRODUCTION.rb
/usr/local/rvm/gems/ruby-2.2.1/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_specification.rb:47:in `resolve_hash_connection': database configuration does not specify adapter (ActiveRecord::AdapterNotSpecified)
from /usr/local/rvm/gems/ruby-2.2.1/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:in `resolve_string_connection'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_specification.rb:25:in `spec'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_specification.rb:130:in `establish_connection'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activerecord-3.2.21/lib/active_record/railtie.rb:88:in `block (2 levels) in <class:Railtie>'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/lazy_load_hooks.rb:42:in `each'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activerecord-3.2.21/lib/active_record/base.rb:720:in `<top (required)>'
from /home/itechnotree/rails_app/redmine/lib/plugins/acts_as_activity_provider/init.rb:2:in `block in <top (required)>'
from /home/itechnotree/rails_app/redmine/config/initializers/00-core_plugins.rb:12:in `eval'
from /home/itechnotree/rails_app/redmine/config/initializers/00-core_plugins.rb:12:in `block in <top (required)>'
from /home/itechnotree/rails_app/redmine/config/initializers/00-core_plugins.rb:2:in `each'
from /home/itechnotree/rails_app/redmine/config/initializers/00-core_plugins.rb:2:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:245:in `load'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:245:in `block in load'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:236:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:245:in `load'
from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-3.2.21/lib/rails/engine.rb:593:in `block (2 levels) in <class:Engine>'
from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-3.2.21/lib/rails/engine.rb:592:in `each'
from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-3.2.21/lib/rails/engine.rb:592:in `block in <class:Engine>'
from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-3.2.21/lib/rails/initializable.rb:30:in `instance_exec'
from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-3.2.21/lib/rails/initializable.rb:30:in `run'
from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-3.2.21/lib/rails/initializable.rb:55:in `block in run_initializers'
from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-3.2.21/lib/rails/initializable.rb:54:in `each'
from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-3.2.21/lib/rails/initializable.rb:54:in `run_initializers'
from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-3.2.21/lib/rails/application.rb:136:in `initialize!'
from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-3.2.21/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/itechnotree/rails_app/redmine/config/environment.rb:14:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from script/about:4:in `<main>'


Replies (4)

RE: Need help to install the redmine in VPS - Added by Leonel Iturralde about 9 years ago

How did you install redmine ? which version?

RE: Need help to install the redmine in VPS - Added by Kaushal Joshi about 9 years ago

Hello Leonel,

I follow these two pages instruction with little bit addition of my server tweak, As I need to install that into my subdomain under user "itechnotree"(which is actually non-root user).

  1. https://forums.cpanel.net/threads/redmine-2-x-in-cpanel-requires-custom-ruby-on-rails.329011/
  2. http://borrowbits.com/2012/05/how-to-install-redmine-1-3-on-centos-server-with-whmcpanel/

I run the command with the development mode

RAILS_ENV=PRODUCTION script/about

And it gives me this output


/usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-3.2.21/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead

Environment:
  Redmine version                2.6.3.stable
  Ruby version                   2.2.1-p85 (2015-02-26) [x86_64-linux]
  Rails version                  3.2.21
  Environment                    development
  Database adapter               Mysql2
SCM:
  Git                            1.7.1
  Filesystem
Redmine plugins:
  no plugin installed

RE: Need help to install the redmine in VPS - Added by Leonel Iturralde about 9 years ago

Hi,
reading the error image.
it says that in could not find the gems.
Check if the dir /usr/local/rvm/gems/ruby-2.1.2 has the gem necessary to run redmine, if they are there then check that the user itechnotree has permission to read and execute that directory.

I'm not sure if that is the problem , I had never run redmine on apache and passenger.

RE: Need help to install the redmine in VPS - Added by Martin Denizet (redmine.org team member) almost 9 years ago

Hello,

Redmine version                2.6.3.stable
Ruby version                   2.2.1-p85 (2015-02-26) [x86_64-linux]

Ruby 2.2 is NOT supported for Redmine 2.x
See http://www.redmine.org/projects/redmine/wiki/RedmineInstall and #19652

Cheers,

    (1-4/4)