Project

General

Profile

Problems running redmine

Added by Karl Heinz about 10 years ago

So i was able to install redmine, and it is working perfectly, as Long as i Keep the ssh session open. Putting it in the Background with nohup did work for some time, but it wouldn't keep up. I wasn't able to fiture out, when the process died, but it did and that is confusing. I am missing Information in the Installation guide about stopping redmine and keeping it running, even if the ssh session hangs up.

Am using an Ubuntu 10.0.4 with latest updates.

Appreciate any help. Redmine is a cool Piece of Software, given also the tons of plugins :-)

Thanks for help.

PS: I yahooed, binged and googled around, also looked here in a lot of Posts, but haven't found anything helpful yet ...:-(


Replies (7)

RE: Problems running redmine - Added by Jan Niggemann (redmine.org team member) about 10 years ago

Please attach the output from running the following in your Redmine directory:

RAILS_ENV=YOUR_ENVIRONMENT script/about

where YOUR_ENVIRONMENT is what you configured in config/database.yml (typically 'production' or 'development). This will help us see about your environment. Example:

$ RAILS_ENV=development script/about 
About your application's environment
Ruby version              1.8.6 (i486-linux)
RubyGems version          1.0.1
Rails version             2.0.2
Active Record version     2.0.2
Action Pack version       2.0.2
Active Resource version   2.0.2
Action Mailer version     2.0.2
Active Support version    2.0.2
Application root          /home/edavis/.common/dev/redmine
Environment               development
Database adapter          mysql
Database schema version   92

Also add

  • which installation tutorial did you follow?
  • what application server do you use (that means "how do you run redmine", i.e. the web- and application servers)?

RE: Problems running redmine - Added by Karl Heinz about 10 years ago

RAILS_ENV=YOUR_ENVIRONMENT script/about
You did not specify how you would like Rails to report deprecation notices for y our YOUR_ENVIRONMENT environment, please set config.active_support.deprecation t o :log, :notify or :stderr at config/environments/YOUR_ENVIRONMENT.rb
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.16/lib/active_record/connection_ada pters/abstract/connection_specification.rb:47:in `resolve_hash_connection': data base configuration does not specify adapter (ActiveRecord::AdapterNotSpecified)
from /usr/lib/ruby/gems/1.8/gems/activerecord-3.2.16/lib/active_record/c onnection_adapters/abstract/connection_specification.rb:41:in `resolve_string_co nnection'
from /usr/lib/ruby/gems/1.8/gems/activerecord-3.2.16/lib/active_record/c onnection_adapters/abstract/connection_specification.rb:25:in `spec'
from /usr/lib/ruby/gems/1.8/gems/activerecord-3.2.16/lib/active_record/c onnection_adapters/abstract/connection_specification.rb:130:in `establish_connec tion'
from /usr/lib/ruby/gems/1.8/gems/activerecord-3.2.16/lib/active_record/r ailtie.rb:88
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.16/lib/active_support /lazy_load_hooks.rb:36:in `instance_eval'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.16/lib/active_support /lazy_load_hooks.rb:36:in `execute_hook'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.16/lib/active_support /lazy_load_hooks.rb:43:in `run_load_hooks'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.16/lib/active_support /lazy_load_hooks.rb:42:in `each'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.16/lib/active_support /lazy_load_hooks.rb:42:in `run_load_hooks'
from /usr/lib/ruby/gems/1.8/gems/activerecord-3.2.16/lib/active_record/b ase.rb:720
from /usr/local/projekt/lib/plugins/acts_as_activity_provider/init.rb:2
from /usr/local/projekt/config/initializers/00-core_plugins.rb:12
from /usr/local/projekt/config/initializers/00-core_plugins.rb:2:in `eac h'
from /usr/local/projekt/config/initializers/00-core_plugins.rb:2
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.16/lib/active_support /dependencies.rb:245:in `load'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.16/lib/active_support /dependencies.rb:245:in `load'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.16/lib/active_support /dependencies.rb:236:in `load_dependency'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.16/lib/active_support /dependencies.rb:245:in `load'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/engine.rb:593
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/engine.rb:592 :in `each'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/engine.rb:592
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/initializable .rb:30:in `instance_exec'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/initializable .rb:30:in `run'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/initializable .rb:55:in `run_initializers'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/initializable .rb:54:in `each'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/initializable .rb:54:in `run_initializers'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/application.r b:136:in `initialize!'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/railtie/confi gurable.rb:30:in `send'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.16/lib/rails/railtie/confi gurable.rb:30:in `method_missing'
from /usr/local/projekt/config/environment.rb:14
from script/about:4:in `require'
from script/about:4

RE: Problems running redmine - Added by Jan Niggemann (redmine.org team member) about 10 years ago

You're making it hard for us to help you...

Please read the instructions thoroughly and try again, then please answer the questions from my post above.

RE: Problems running redmine - Added by Karl Heinz about 10 years ago

Environment:
Redmine version 2.4.3.stable
Ruby version 1.8.7-p249 (2010-01-10) [x86_64-linux]
Rails version 3.2.16
Environment production
Database adapter MySQL
SCM:
Git 1.7.0.4
Filesystem
Redmine plugins:
no plugin installed

Now i figured it out :-) Thanks.

I followed the instructions in the doc/INSTALL file.

It is located @ /usr/local/projekt and i start it usually with

nohup ruby script/rails server -e production &

to put it in the background and keep session alive, when i logout of ssh.

Sorry for being confused first.

Thanks for help

RE: Problems running redmine - Added by Jan Niggemann (redmine.org team member) about 10 years ago

I followed the instructions in the doc/INSTALL file.

The INSTALL file reads

Test the installation by running the WEBrick web server

(emphasis mine).
You need a webserver and an application server to run redmine, "Thin" and "passenger" are popular examples of application servers.
Go to the wiki and search "installation ubuntu", that'll give you some more input.

RE: Problems running redmine - Added by Karl Heinz about 10 years ago

Well then, i thought it'll come with an own webserver like webmin or other application do.

I'll dig into it ...THhanks for pointing me in the right direction.

Update: I figured it out in the meanwhile, used passenger, since it seems to be the easiest option.

    (1-7/7)