Open link in a new tab

Content

Expand project menu

Get internal error message

Hi,

I get this internal error message when i try to open my projects.

I get this show error message:
Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your OpenProject administrator for assistance. If you are the OpenProject administrator, check your log files for details about the error.

I and my log file is showing this error message.:

F, [2018-02-06T14:37:26.982731 #1551] FATAL -- : F, [2018-02-06T14:37:26.991165 #1551] FATAL -- : ActionView::Template::Error (undefined local variable or method `type' for #<Token::Rss:0x00005637226a8498>): F, [2018-02-06T14:37:26.991291 #1551] FATAL -- : 20: ++#%> 21: 22: <% content_for :header_tags do > 23: <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => project, :format => ‘atom’, :key => User.current.rss_key}) %>
24: <%= stylesheet_link_tag “my_project_page/my_projects_overview”, :media => ‘all’ %>
25: < end %>
26:
F, [2018-02-06T14:37:26.991312 #1551] FATAL — :
F, [2018-02-06T14:37:26.991328 #1551] FATAL — : app/models/token/base.rb:59:in `delete_previous_token’
app/models/user.rb:506:in `rss_key’
app/middleware/reset_current_user.rb:47:in `call’@

Hope somebody can help me to fix my error.

Best regards
ZS

Message actions

You probably need to just run the migrations. Try

RAILS_ENV=production rails db:migrate

on the console and restart your server.

Message actions

Hi,

Thanks for your reply.
when I run this script it’s says: bash: rails: command not found

Can you please tell me what to install ?

Best regards
ZS

Message actions

Are you on a packaged installation?

Then, simply run openproject configure, otherwise, use RAILS_ENV=production bundle exec rails db:migrate

Best,
Oliver

Message actions

Yesss:-)

I only need to run openproject configure.Thanks for help.

Best regards,
ZS