no acess to settings http://myredmineserver/settings
Added by Thomas Frank over 10 years ago
after installing Redmine under Ubuntu 12.04 i have acess to Redmine. Only when i click on Settings an error occurred:
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.
Replies (4)
RE: no acess to settings http://myredmineserver/settings - Added by Jan Niggemann (redmine.org team member) over 10 years ago
Please post the relevant portion of your logfile, also: How to request help
RE: no acess to settings http://myredmineserver/settings - Added by Thomas Frank over 10 years ago
here my apache eror log - it seems there are a Problem with Permissions
ActionView::Template::Error (Permission denied - /usr/local/share/redmine-2.5.2/tmp/cache/900): 3: <div class="box tabular settings"> 4: <p><%= setting_select :ui_theme, Redmine::Themes.themes.collect {|t| [t.name, t.id]}, :blank => :label_default, :label => :label_theme %></p> 5: 6: <p><%= setting_select :default_language, lang_options_for_select(false) %></p> 7: 8: <p><%= setting_check_box :force_default_language_for_anonymous %></p> 9: lib/redmine/i18n.rb:95:in `languages_options' app/helpers/application_helper.rb:1028:in `lang_options_for_select' app/views/settings/_display.html.erb:6:in `_app_views_settings__display_html_erb___1384312458_70334409680160' app/views/settings/_display.html.erb:1:in `_app_views_settings__display_html_erb___1384312458_70334409680160' app/views/common/_tabs.html.erb:22:in `_app_views_common__tabs_html_erb___1909200779_70334407161820' app/views/common/_tabs.html.erb:21:in `each' app/views/common/_tabs.html.erb:21:in `_app_views_common__tabs_html_erb___1909200779_70334407161820' app/helpers/application_helper.rb:318:in `render_tabs' app/views/settings/edit.html.erb:3:in `_app_views_settings_edit_html_erb___499814396_70334407172660' app/controllers/settings_controller.rb:28:in `index'
RE: no acess to settings http://myredmineserver/settings - Added by Thomas Frank over 10 years ago
Update
When i set set the permisson on 777 and the owner on www-date it works fine !
RE: no acess to settings http://myredmineserver/settings - Added by Jan Niggemann (redmine.org team member) over 10 years ago
Yes, apache runs as www-data under Debian and its derivatives and you set permissions accordingly. In your redmine folder:
chown -R www-data:www-data files log tmp public/plugin_assets chmod -R 755 files log tmp public/plugin_assets