Error 500 while creating new user
Added by Jannik Weber over 11 years ago
Hi,
After installation of redmine 2.2 on a ubuntu server an error occurs when trying to make a new user.
Following Error is visible:
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.
Following Error in the Apache2 Log:
ActionView::Template::Error (Permission denied - /usr/local/share/redmine/tmp/cache/900): 9: <p><%= f.text_field :firstname, :required => true %></p> 10: <p><%= f.text_field :lastname, :required => true %></p> 11: <p><%= f.text_field :mail, :required => true %></p> 12: <p><%= f.select :language, lang_options_for_select %></p> 13: <% if Setting.openid? %> 14: <p><%= f.text_field :identity_url %></p> 15: <% end %> lib/redmine/i18n.rb:95:in `languages_options' app/helpers/application_helper.rb:974:in `lang_options_for_select' app/views/users/_form.html.erb:12:in `_app_views_users__form_html_erb___796704480_70256494434640' app/views/users/new.html.erb:4:in `_app_views_users_new_html_erb__231330955_70256494516900' app/helpers/application_helper.rb:989:in `labelled_form_for' app/views/users/new.html.erb:3:in `_app_views_users_new_html_erb__231330955_70256494516900'
There is actually now error in the redmine log.
Can somebody help? Thanks.
Replies (3)
RE: Error 500 while creating new user
-
Added by Ivan Cenov over 11 years ago
Look at "(Permission denied - /usr/local/share/redmine/tmp/cache/900)" -- may be some directory permission is missing here.
RE: Error 500 while creating new user
-
Added by Jannik Weber over 11 years ago
I solved it!
Just had to add this to my virtual host:
<Directory /usr/local/share/redmine/tmp> AllowOverride all Options -MultiViews </Directory>
Thanks Ivan for taking the time.
RE: Error 500 while creating new user
-
Added by Anthony Martin over 11 years ago
Thanks that helped