Project

General

Profile

Actions

Defect #15981

closed

Internal error. An error occurred on the page you were trying to access. If you continue to experience problems please contact your redMine administrator for assistance.

Added by vinuthna g about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Hi,

I have installed redmine(2.4.2) on ubuntu12.04. I'm able to login but when I try to access settings page getting

"Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

Back"

here is log details

ActionView::Template::Error (uninitialized constant Redmine::Scm::Adapters::AbstractAdapter::CommandFailed):
10: <th><%= l(:text_scm_command_version) ></th>
11: </tr>
12: <
Redmine::Scm::Base.all.collect do |choice| >
13: <
scm_class = "Repository::#{choice}".constantize >
14: <
text, value = (choice.is_a?(Array) ? choice : [choice, choice]) >
15: <
setting = :enabled_scm >
16: <
enabled = Setting.send(setting).include?(value) %>
lib/redmine/scm/adapters/abstract_adapter.rb:30:in `<class:AbstractAdapter>'
lib/redmine/scm/adapters/abstract_adapter.rb:27:in `<module:Adapters>'
lib/redmine/scm/adapters/abstract_adapter.rb:26:in `<module:Scm>'
lib/redmine/scm/adapters/abstract_adapter.rb:25:in `<module:Redmine>'
lib/redmine/scm/adapters/abstract_adapter.rb:24:in `<top (required)>'
lib/redmine/scm/adapters/subversion_adapter.rb:18:in `<top (required)>'
app/models/repository/subversion.rb:18:in `<top (required)>'
app/views/settings/_repositories.html.erb:13:in `block (2 levels) in app_views_settings_repositories_html_erb___209865324_94295810'
app/views/settings/_repositories.html.erb:12:in `collect'
app/views/settings/_repositories.html.erb:12:in `block in app_views_settings_repositories_html_erb___209865324_94295810'
app/views/settings/_repositories.html.erb:1:in `_app_views_settings__repositories_html_erb___209865324_94295810'
app/views/common/_tabs.html.erb:24:in `block in app_views_common_tabs_html_erb___895036420__641517268'
app/views/common/_tabs.html.erb:23:in `each'
app/views/common/_tabs.html.erb:23:in `_app_views_common__tabs_html_erb___895036420__641517268'
app/helpers/application_helper.rb:272:in `render_tabs'
app/views/settings/edit.html.erb:3:in `_app_views_settings_edit_html_erb___1028967226__644797018'
app/controllers/settings_controller.rb:28:in `index'


Related issues

Is duplicate of Redmine - Defect #15756: 500 on admin info/settings page on development environmentClosed

Actions
Actions #1

Updated by Daniel Felix about 10 years ago

Have you run rake generate_secret_token?

Actions #2

Updated by vinuthna g about 10 years ago

Daniel Felix wrote:

Have you run rake generate_secret_token?

Hi,

Thanks for the reply.Yes I did it.

Actions #3

Updated by vinuthna g about 10 years ago

vinuthna g wrote:

Daniel Felix wrote:

Have you run rake generate_secret_token?

Hi,

Thanks for the reply.Yes I did it.

still I'm getting this error.Can anyone please suggest regarding this.

Actions #4

Updated by Daniel Felix about 10 years ago

Maybe you haven't installed any version control system which is configured by you?

Which settings do you mean? Per project or systemwide?

Sorry for the later reply but I'm not always on. ;-)

Actions #5

Updated by vinuthna g about 10 years ago

Daniel Felix wrote:

Maybe you haven't installed any version control system which is configured by you?

Which settings do you mean? Per project or systemwide?

Sorry for the later reply but I'm not always on. ;-)

Issue resolved. I have added require 'redmine/scm/adapters' in lib/redmine/scm/adapters/abstract_adapter.rb.

Actions #6

Updated by vinuthna g about 10 years ago

  • Status changed from New to Resolved
Actions #7

Updated by Toshi MARUYAMA about 10 years ago

  • Status changed from Resolved to Closed
  • Priority changed from High to Normal
  • Resolution set to Duplicate

Duplicate of #15756.

Actions #8

Updated by Toshi MARUYAMA about 10 years ago

  • Is duplicate of Defect #15756: 500 on admin info/settings page on development environment added
Actions

Also available in: Atom PDF