Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Get internal error message

Get internal error message

Added by Zlatan Smajic over 7 years ago

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


Replies (4)

RE: Get internal error message - Added by Jens Ulferts over 7 years ago

You probably need to just run the migrations. Try

RAILS_ENV=production rails db:migrate

on the console and restart your server.

RE: Get internal error message - Added by Zlatan Smajic over 7 years ago

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

RE: Get internal error message - Added by Oliver Günther over 7 years ago

Are you on a packaged installation?

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

Best,
Oliver

RE: Get internal error message - Added by Zlatan Smajic over 7 years ago

Yesss:-)

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

Best regards,
ZS

  • (1 - 4/4)
Loading...