Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5899

Closed
Open
Created 11 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

After Upgrading from 6.3 to 6.4 giving 500 error on dashboard

Closed

After Upgrading from 6.3 to 6.4 giving 500 error on dashboard

Created by: kirant400

This is the error I have received in production.log

Started GET "/gitlab/" for 127.0.0.1 at 2013-12-22 03:14:25 -0500 Processing by DashboardController#show as HTML Mysql2::Error: Unknown column 'projects.archived' in 'where clause': SELECT COUNT(*) FROM projects INNER JOIN namespaces ON namespaces.id = projects.namespace_id WHERE projects.id IN (1, 2, 3, 4, 5, 15, 16, 9, 11) AND projects.archived = 0 Completed 500 Internal Server Error in 99ms

ActiveRecord::StatementInvalid (Mysql2::Error: Unknown column 'projects.archived' in 'where clause': SELECT COUNT(*) FROM projects INNER JOIN namespaces ON namespaces.id = projects.namespace_id WHERE projects.id IN (1, 2, 3, 4, 5, 15, 16, 9, 11) AND projects.archived = 0): app/controllers/dashboard_controller.rb:13:in show' app/controllers/application_controller.rb:57:inset_current_user_for_thread'

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: kirant400

      Fixed by running bundle exec rake db:migrate RAILS_ENV=production

      By Administrator on 2013-12-22T08:58:21 (imported from GitLab project)

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: setola

      Just for info:

      I had the same issue and after running db:migrate the worker goes on timeout... I needed to run also:

      exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production

      according to the upgrade guide: https://github.com/gitlabhq/gitlabhq/blob/master/doc/update/6.3-to-6.4.md

      I'm using Puppet with this module: https://github.com/sbadia/puppet-gitlab.git

      By Administrator on 2014-01-07T16:45:28 (imported from GitLab project)

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference: