OpenShift Installation Fails because of Broken Migration?
Summary
PG::UndefinedColumn: ERROR: column "signin_enabled" of relation "application_settings" does not exist
Steps to reproduce
Install the Gitlab-Ce from the Openshift Catalog(after installing the Template)
What is the current bug behavior?
Logs:
Recipe: gitlab::database_migrations
* bash[migrate gitlab-rails database] action run
[execute] rake aborted!
StandardError: An error has occurred, all later migrations canceled:
PG::UndefinedColumn: ERROR: column "signin_enabled" of relation "application_settings" does not exist
: ALTER TABLE "application_settings" DROP "signin_enabled"
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migration_helpers.rb:507:in `cleanup_concurrent_column_rename'
/opt/gitlab/embedded/service/gitlab-rails/db/post_migrate/20170629180131_cleanup_application_settings_signin_enabled_rename.rb:9:in `up'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:50:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
What is the expected correct behavior?
DB Migration should run Smoothly
Relevant logs
Details of package version
OpenShift Origin 3.9 Docker version 1.13.1, build 94f4240/1.13.1
Environment details
- Operating System:
CentOs
- Installation Target, remove incorrect values:
- Other:
OpenShift Origin 3.9
- Other:
- Installation Type, remove incorrect values:
- New Installation
- Is there any other software running on the machine:
Yes
- Is this a single or multiple node installation? Multi
- Resources
- CPU: QuadCore Intel I7
- Memory total: 32GB
Configuration details
not sure cause: Not even installed