Top Menu

Jump to content
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    Home
    • 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

      OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu
General discussion
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. General discussion
  5. Error in new version

Error in new version

Added by Douglas Leonardo over 9 years ago

I installed the 5.0.x version, but as I have a 4.2.2 version in production on another server, I made a backup of the database and restored on the new server that is 5.0.x, but to access some pages as Project Settings and Administration I got the following error:

[2016-02-12T09: 08: 26.175512 # 1191] INFO -: Completed 500 Internal Server Error in 412ms (ActiveRecord 141.9ms) F [2016-02-12T09: 08: 26.177042 # 1191] FATAL -: ActionView :: Template :: Error (mysql2 :: Error: Unknown column 'repos.required_storage_bytes' in 'field list': SELECT * projects, wiki.filesize AS wiki_required_space, wp.filesize AS work_package_required_space, repos.required_storage_bytes AS repositories_required_space (. COALESCE (wiki.filesize, 0) +                   COALESCE (wp.filesize, 0) +                   COALESCE (repos.required_storage_bytes, 0)) FROM THE required_disk_space projects projects LEFT JOIN (SELECT wiki.project_id, SUM (wiki_attached.filesize) AS filesize       FROM wiki wikis       JOIN wiki_pages pages         ON = pages.wiki_id wiki.id       JOIN attachments wiki_attached         ON (wiki_attached.container_id = pages.id AND wiki_attached.container_type = 'WikiPage')       GROUP BY wiki.project_id ) Wiki ON projects.id wiki.project_id = LEFT JOIN (SELECT wp.project_id, SUM (wp_attached.filesize) AS filesize       FROM work_packages wp       JOIN attachments wp_attached         ON (wp_attached.container_id = wp.id AND wp_attached.container_type = 'work package')       GROUP BY wp.project_id ) Wp = ON projects.id wp.project_id LEFT JOIN repositories repos ON repos.project_id = WHERE `projects.id projects`.`id` = 3 LIMIT 1):     41: <% Unless project.new_record? %>     42: <section class = "form - section">     43: <% = render partial "projects / form / required_storage"     44: locals: {project: project, storage: project.count_required_storage}%>     45: </ section>     46: <% end%>     47:

Can anyone help?


Loading...