error after upgrade
Running handlers: There was an error running gitlab-ctl reconfigure:
bash[migrate gitlab-rails database] (gitlab::database_migrations line 53) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of "bash" "/tmp/chef-script20190723-8990-7uk3ot" ---- STDOUT: rake aborted! Exception: Your database is missing the 'parent_id' column from the 'epics' table that is present for GitLab EE. Even though it looks like you're running a CE installation, it appears you may have installed GitLab EE at some point. To migrate to GitLab 12.0:
- Install GitLab 11.11.3 EE
- Install GitLab 12.0.x CE
/opt/gitlab/embedded/service/gitlab-rails/db/migrate/20190402150158_backport_enterprise_schema.rb:916:in
raise_ee_migration_error!' /opt/gitlab/embedded/service/gitlab-rails/db/migrate/20190402150158_backport_enterprise_schema.rb:896:in
check_ee_columns!' /opt/gitlab/embedded/service/gitlab-rails/db/migrate/20190402150158_backport_enterprise_schema.rb:888:inblock in check_schema!' /opt/gitlab/embedded/service/gitlab-rails/db/migrate/20190402150158_backport_enterprise_schema.rb:887:in
each' /opt/gitlab/embedded/service/gitlab-rails/db/migrate/20190402150158_backport_enterprise_schema.rb:887:incheck_schema!' /opt/gitlab/embedded/service/gitlab-rails/db/migrate/20190402150158_backport_enterprise_schema.rb:120:in
up' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:56:inblock (3 levels) in <top (required)>' /opt/gitlab/embedded/bin/bundle:23:in
load' /opt/gitlab/embedded/bin/bundle:23:in `' Tasks: TOP => db:migrate (See full trace by running task with --trace) == 20190402150158 BackportEnterpriseSchema: migrating ========================= -- column_exists?(:epics, :parent_id) -> 0.0032s STDERR: ---- End output of "bash" "/tmp/chef-script20190723-8990-7uk3ot" ---- Ran "bash" "/tmp/chef-script20190723-8990-7uk3ot" returned 1
Running handlers complete Chef Client failed. 1 resources updated in 16 seconds