Just updated gitlab self hosted community edition and now getting a 500 error

Hi all,

So after this error appeared ive tried to check gitlab using the command sudo gitlab-rake gitlab:check --trace
When i ran this, most is reporting a status of ok, except one very strange error…
Active users: … Exception: PG::UndefinedColumn: ERROR: column users.user_type does not exist
LINE 1: …tate" IN (‘active’)) AND (ghost IS NOT TRUE) AND (“users”."u…
almost looks like the database has been damaged…
Any ideas?

Oh Ps a little bit of extra information.
My gitlab version was very old 12.3.1 so I follwed guidance of upgrade paths and upgraded it to 12.10.14
my ubuntu version is:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic

Hi @jbap
please try to run sudo gitlab-rake db:migrate do finish DB migrations

1 Like