You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SEVERE 3/17/16 6:29 PM:liquibase: classes/db/db.changelog-master.xml: classes/db/changelogs/001-Initial.xml::1::jason.surratt: Change Set classes/db/changelogs/001-Initial.xml::1::jason.surratt failed. Error: Error executing SQL DROP TYPE IF EXISTS nwr_enum: ERROR: cannot drop type nwr_enum because other objects depend on it
Detail: table current_relation_members column member_type depends on type nwr_enum
Hint: Use DROP ... CASCADE to drop the dependent objects too.
liquibase.exception.DatabaseException: Error executing SQL DROP TYPE IF EXISTS nwr_enum: ERROR: cannot drop type nwr_enum because other objects depend on it
Detail: table current_relation_members column member_type depends on type nwr_enum
Hint: Use DROP ... CASCADE to drop the dependent objects too.
at liquibase.executor.jvm.JdbcExecutor.execute(Unknown Source)
at liquibase.executor.jvm.JdbcExecutor.execute(Unknown Source)
at liquibase.database.AbstractJdbcDatabase.execute(Unknown Source)
at liquibase.database.AbstractJdbcDatabase.executeStatements(Unknown Source)
at liquibase.changelog.ChangeSet.execute(Unknown Source)
at liquibase.changelog.visitor.UpdateVisitor.visit(Unknown Source)
at liquibase.changelog.ChangeLogIterator.run(Unknown Source)
at liquibase.Liquibase.update(Unknown Source)
at liquibase.Liquibase.update(Unknown Source)
at liquibase.integration.commandline.Main.doMigration(Unknown Source)
at liquibase.integration.commandline.Main.main(Unknown Source)
Caused by: org.postgresql.util.PSQLException: ERROR: cannot drop type nwr_enum because other objects depend on it
Detail: table current_relation_members column member_type depends on type nwr_enum
Hint: Use DROP ... CASCADE to drop the dependent objects too.
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(Unknown Source)
... 11 more
Liquibase update Failed: Migration failed for change set classes/db/changelogs/001-Initial.xml::1::jason.surratt:
Reason: liquibase.exception.DatabaseException: Error executing SQL DROP TYPE IF EXISTS nwr_enum: ERROR: cannot drop type nwr_enum because other objects depend on it
Detail: table current_relation_members column member_type depends on type nwr_enum
Hint: Use DROP ... CASCADE to drop the dependent objects too.
SEVERE 3/17/16 6:29 PM:liquibase: classes/db/changelogs/001-Initial.xml::1::jason.surratt: Migration failed for change set classes/db/changelogs/001-Initial.xml::1::jason.surratt:
Reason: liquibase.exception.DatabaseException: Error executing SQL DROP TYPE IF EXISTS nwr_enum: ERROR: cannot drop type nwr_enum because other objects depend on it
Detail: table current_relation_members column member_type depends on type nwr_enum
Hint: Use DROP ... CASCADE to drop the dependent objects too.
liquibase.exception.MigrationFailedException: Migration failed for change set classes/db/changelogs/001-Initial.xml::1::jason.surratt:
Reason: liquibase.exception.DatabaseException: Error executing SQL DROP TYPE IF EXISTS nwr_enum: ERROR: cannot drop type nwr_enum because other objects depend on it
Detail: table current_relation_members column member_type depends on type nwr_enum
Hint: Use DROP ... CASCADE to drop the dependent objects too.
at liquibase.changelog.ChangeSet.execute(Unknown Source)
at liquibase.changelog.visitor.UpdateVisitor.visit(Unknown Source)
at liquibase.changelog.ChangeLogIterator.run(Unknown Source)
at liquibase.Liquibase.update(Unknown Source)
at liquibase.Liquibase.update(Unknown Source)
at liquibase.integration.commandline.Main.doMigration(Unknown Source)
at liquibase.integration.commandline.Main.main(Unknown Source)
Caused by: liquibase.exception.DatabaseException: Error executing SQL DROP TYPE IF EXISTS nwr_enum: ERROR: cannot drop type nwr_enum because other objects depend on it
Detail: table current_relation_members column member_type depends on type nwr_enum
Hint: Use DROP ... CASCADE to drop the dependent objects too.
at liquibase.executor.jvm.JdbcExecutor.execute(Unknown Source)
at liquibase.executor.jvm.JdbcExecutor.execute(Unknown Source)
at liquibase.database.AbstractJdbcDatabase.execute(Unknown Source)
at liquibase.database.AbstractJdbcDatabase.executeStatements(Unknown Source)
... 7 more
Caused by: org.postgresql.util.PSQLException: ERROR: cannot drop type nwr_enum because other objects depend on it
Detail: table current_relation_members column member_type depends on type nwr_enum
Hint: Use DROP ... CASCADE to drop the dependent objects too.
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)
at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(Unknown Source)
... 11 more
The text was updated successfully, but these errors were encountered:
This is happening during the rpm build phase, not during the test phase. Probably because the build vm is not being recreated from scratch with each jenkins job.
Post install hook currently calls liquibase update everytime. This may not be the correct way to update an existing db schema.
https://github.com/ngageoint/hootenanny/blob/develop/scripts/HootServicesUiRpmPostInstall.sh#L124-L134
The text was updated successfully, but these errors were encountered: