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:in
set_current_user_for_thread'
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)