Tag: cli
Gitlab upgrading from 6.6 to 7.7 – column does not exist
Recently I was struggling with upgrading Gitlab to the most recent version.
When I did everything what they wanted, even using database migrating command.
1 |
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production |
I still could not open projects tab because of Critical Error which says.
1 2 |
PG::Error: ERROR: column projects.imported does not exist LINE 1: ... t0_r14, "projects"."last_activity_at" AS t0_r15, "projects"... |
So to fix this I just added this column manually executing following command in pgsql console.
1 |
alter table projects add column "imported" boolean default false not null; |