Gitlab Server - ActiveRecord error

Hi,

I have provisioned on-prem Gitlab server but I am having following error while checking the logs.
Can someone suggest how to fix this issue on an omnibus server?

**ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "namespaces" does not exist**
**LINE 5:                WHERE a.attrelid = '"namespaces"'::regclass**
**                                          ^**
**:               SELECT a.attname, format_type(a.atttypid, a.atttypmod),**
**                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod**
**                FROM pg_attribute a LEFT JOIN pg_attrdef d**
**                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum**
**               WHERE a.attrelid = '"namespaces"'::regclass**
**                 AND a.attnum > 0 AND NOT a.attisdropped**
**               ORDER BY a.attnum**