Help!! redmine crashes after launch

Added by maxim ponomarchuk almost 10 years ago

root@212TestServer:~# ruby /var/www/redmine-1.0.0/script/server webrick -e production -p 9191
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:9191
/var/www/redmine-1.0.0/script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is
deprecated and will be removed on or after August 2010. Use #requirement
/var/www/redmine-1.0.0/config/initializers/40-email.rb:12: undefined method `each' for nil:NilClass (NoMethodError)
from /var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
from /var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
from /var/www/redmine-1.0.0/script/../config/../vendor/rails/railties/lib/initializer.rb:622:in `load_application_initializers'
from /var/www/redmine-1.0.0/script/../config/../vendor/rails/railties/lib/initializer.rb:621:in `each'
from /var/www/redmine-1.0.0/script/../config/../vendor/rails/railties/lib/initializer.rb:621:in `load_application_initializers'
from /var/www/redmine-1.0.0/script/../config/../vendor/rails/railties/lib/initializer.rb:176:in `process'
from /var/www/redmine-1.0.0/script/../config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
from /var/www/redmine-1.0.0/script/../config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
from /var/www/redmine-1.0.0/config/environment.rb:20
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
from /var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
from /var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
from /var/www/redmine-1.0.0/vendor/rails/railties/lib/commands/server.rb:84
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine-1.0.0/script/server:3

What's happend?
What should I do to repair this?

Replies (11)

RE: Help!! redmine crashes after launch - Added by Felix Schäfer almost 10 years ago

Your email.yml is probably misconfigured.

RE: Help!! redmine crashes after launch - Added by maxim ponomarchuk almost 10 years ago

i have local sendmail on this server
and this is my email.yml config
root@212TestServer:/var/www/redmine-1.0.0/config# cat email.yml
  1. Outgoing email settings

production:
delivery_method: :smtp
smtp_settings:
address: 127.0.0.1
port: 25
domain: 212TestServer
authentication: :none

what is wrong?

RE: Help!! redmine crashes after launch - Added by maxim ponomarchuk almost 10 years ago

and after correcting email.yml
I've got following page

I18n::MissingInterpolationArgument in Welcome#index

Showing app/views/news/_news.rhtml where line #6 raised:

missing interpolation argument in "%a, %{count} %b %Y, %H:%M:%S %z" ({:object=>Thu, 02 Sep 2010 14:25:10 CAT +02:00} given)

Extracted source (around line #6):

3: <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>
4: <br />
5: <% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %>
6: <span class="author"><%= authoring news.created_on, news.author %></span></p>

Trace of template inclusion: app/views/welcome/index.rhtml

RAILS_ROOT: /var/www/redmine-1.0.0
Application Trace | Framework Trace | Full Trace

/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:186:in `interpolate_without_deprecated_syntax'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:21:in `interpolate'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:49:in `translate'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n.rb:152:in `t'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:62:in `localize'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n.rb:231:in `l'
/var/www/redmine-1.0.0/lib/redmine/i18n.rb:48:in `format_time'
/var/www/redmine-1.0.0/app/helpers/application_helper.rb:290:in `time_tag'
/var/www/redmine-1.0.0/app/helpers/application_helper.rb:282:in `authoring'
/var/www/redmine-1.0.0/app/views/news/_news.rhtml:6:in `_run_rhtml_app47views47news47_news46rhtml_locals_news_news_counter_object'
/var/www/redmine-1.0.0/app/views/welcome/index.rhtml:8:in `_run_rhtml_app47views47welcome47index46rhtml'

/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:186:in `interpolate_without_deprecated_syntax'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:21:in `interpolate'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:49:in `translate'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n.rb:152:in `t'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:62:in `localize'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n.rb:231:in `l'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:44:in `render_partial'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/partials.rb:221:in `render_partial_collection'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/partials.rb:216:in `map'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/partials.rb:216:in `render_partial_collection'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/partials.rb:182:in `render_partial'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:267:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:265:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:348:in `_render_with_layout'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:262:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:1250:in `render_for_file'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:945:in `render_without_benchmark'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
/var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:1326:in `default_render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:1332:in `perform_action_without_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `run_before_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call'
/var/www/redmine-1.0.0/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in `run'
/var/www/redmine-1.0.0/vendor/rails/railties/lib/commands/server.rb:111
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/var/www/redmine-1.0.0/script/server:3

/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:186:in `interpolate_without_deprecated_syntax'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:21:in `interpolate'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:49:in `translate'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n.rb:152:in `t'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n/backend/base.rb:62:in `localize'
/usr/local/lib/ruby/gems/1.8/gems/i18n-0.4.1/lib/i18n.rb:231:in `l'
/var/www/redmine-1.0.0/lib/redmine/i18n.rb:48:in `format_time'
/var/www/redmine-1.0.0/app/helpers/application_helper.rb:290:in `time_tag'
/var/www/redmine-1.0.0/app/helpers/application_helper.rb:282:in `authoring'
/var/www/redmine-1.0.0/app/views/news/_news.rhtml:6:in `_run_rhtml_app47views47news47_news46rhtml_locals_news_news_counter_object'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:44:in `render_partial'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/partials.rb:221:in `render_partial_collection'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/partials.rb:216:in `map'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/partials.rb:216:in `render_partial_collection'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/partials.rb:182:in `render_partial'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:267:in `render'
/var/www/redmine-1.0.0/app/views/welcome/index.rhtml:8:in `_run_rhtml_app47views47welcome47index46rhtml'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:265:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:348:in `_render_with_layout'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_view/base.rb:262:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:1250:in `render_for_file'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:945:in `render_without_benchmark'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
/var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:1326:in `default_render'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:1332:in `perform_action_without_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `run_before_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/var/www/redmine-1.0.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
/var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/var/www/redmine-1.0.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call'
/var/www/redmine-1.0.0/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in `run'
/var/www/redmine-1.0.0/vendor/rails/railties/lib/commands/server.rb:111
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/var/www/redmine-1.0.0/script/server:3

Request

Parameters:

None

Show session dump

--- 

Response

Headers:

{"Content-Type"=>"",
 "Cache-Control"=>"no-cache"}

RE: Help!! redmine crashes after launch - Added by maxim ponomarchuk almost 10 years ago

I'm sorry Felix, but I'm not a specialist in Ruby.
Please, can you explain what exactly should I do ?

RE: Help!! redmine crashes after launch - Added by maxim ponomarchuk almost 10 years ago

maxim ponomarchuk wrote:

I'm sorry Felix, but I'm not a specialist in Ruby.
Please, can you explain what exactly should I do ?

I'v edit

Here's a diff with what I made to make it work:

source:trunk/lib/redmine/i18n.rb

line 40:

-      Setting.date_format.blank? ? ::I18n.l(date.to_date) : date.strftime(Setting.date_format)
+      Setting.date_format.blank? ? ::I18n.l(date.to_date, :count => date.day) : date.strftime(Setting.date_format)

line 48:

-      Setting.time_format.blank? ? ::I18n.l(local, :format => (include_date ? :default : :time)) : 
+      Setting.time_format.blank? ? ::I18n.l(local, :count => local.day, :format => (include_date ? :default : :time)) : 

after it redmine work- but in production log I see following (when trying test mail notification)

Processing IssuesController#show (for 127.0.0.1 at 2010-10-31 10:53:27) [GET]
  Parameters: {"action"=>"show", "id"=>"1055", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/show.rhtml
DEPRECATION WARNING: using %d in messages is deprecated; use {{count}} instead.. (called from interpolate at /var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:17)
DEPRECATION WARNING: using %d in messages is deprecated; use {{count}} instead.. (called from interpolate at /var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:17)
DEPRECATION WARNING: using %d in messages is deprecated; use {{count}} instead.. (called from interpolate at /var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:17)
DEPRECATION WARNING: using %d in messages is deprecated; use {{count}} instead.. (called from interpolate at /var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:17)
DEPRECATION WARNING: using %d in messages is deprecated; use {{count}} instead.. (called from interpolate at /var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:17)
DEPRECATION WARNING: using %d in messages is deprecated; use {{count}} instead.. (called from interpolate at /var/www/redmine-1.0.0/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb:17)
.....
.....
.....
Completed in 463ms (View: 412, DB: 12) | 200 OK [http://0.0.0.0/issues/1055]

and mail notification not work.

now my email.yml config is:

Production:
   delivery_method: :smtp
   smtp_settings:
     address: "localhost" 
     port: 25

RE: Help!! redmine crashes after launch - Added by Felix Schäfer almost 10 years ago

The second error you have has nothing to do with the mail config, so just forget about that. The second problem you have comes from a too new i18n gem for the rails 2.3.5 needed for redmine. There is a work-around for that in redmine 1.0.2, so you could either upgrade your redmine, or downgrade your i18n (gem uninstall i18n && gem install i18n -v=0.3.7).

RE: Help!! redmine crashes after launch - Added by maxim ponomarchuk almost 10 years ago

But. Felix - mail notification steel not working

In production log

Processing IssuesController#update (for 127.0.0.1 at 2010-10-31 11:12:16) [PUT]
  Parameters: {"time_entry"=>{"comments"=>"", "activity_id"=>"", "hours"=>""}, "commit"=>"Принять", "notes"=>"", "action"=>"update", "_method"=>"put", "authenticity_token"=>"40qWus5PjRIJTPpt5/HrXvNoZIlViJV0F3zAu059igU=", "id"=>"1055", "issue"=>{"start_date"=>"2010-10-29", "estimated_hours"=>"", "priority_id"=>"4", "lock_version"=>"40", "fixed_version_id"=>"39", "done_ratio"=>"10", "assigned_to_id"=>"30", "subject"=>"Настройка QA Server", "category_id"=>"", "tracker_id"=>"5", "due_date"=>"", "status_id"=>"2", "description"=>""}, "controller"=>"issues", "attachments"=>{"1"=>{"description"=>""}}}
Sending email notification to: test@pma.net.ua Redirected to http://0.0.0.0:9191/issues/1055
Completed in 403ms (DB: 45) | 302 Found [http://0.0.0.0/issues/1055/edit]

But mail log is empty.
Test message succsessful sending from console.

now my email.yml config is:

Production:
  delivery_method: :smtp
  smtp_settings:
    address: localhost
    port: 25
    domain: 212TestServer.rp.com
#    authentication: :login
#    user_name: "redmine@example.net" 
#    password: "redmine" 

Development:
  delivery_method: :smtp
  smtp_settings:
    address: 127.0.0.1
    port: 25
    domain: 212TestServer.rp.com
#    authentication: :login
#    user_name: "redmine@example.net" 
#    password: "redmine" 

RE: Help!! redmine crashes after launch - Added by Felix Schäfer almost 10 years ago

production and development have to be written in small letters.

RE: Help!! redmine crashes after launch - Added by maxim ponomarchuk almost 10 years ago

AAA!!! Many thanks , Felix!! When you come to Kiev, Beer's on me ))

(1-11/11)