dpkg-query -W gitlab gitlab 7.3.2-omnibus-1
We have gitlab 6.9.2 running on Ubuntu 14.04.1 LTS. After following the instructions found here https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/update.md
to update to 7.3.2, everything seemed fine however when trying to view a project we get error 500.
Everytime I try to access one of the pages I see this error when running
sudo gitlab-ctl tail postgresql
ERROR: relation "users_star_projects" does not exist at character 323
STATEMENT: 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 = '"users_star_projects"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
Also I see this error listed in /var/log/gitlab/gitlab-rails/production.log:
Completed 500 Internal Server Error in 42ms
ActiveRecord::StatementInvalid (PG::Error: ERROR: relation "users_star_projects" does not exist
LINE 5: WHERE a.attrelid = '"users_star_projects"'::r...
^
: 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 = '"users_star_projects"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
):
app/models/user.rb:522:in `starred?'
app/controllers/projects_controller.rb:63:in `show'
If there a way I can fix or add the missing relation?