-
Notifications
You must be signed in to change notification settings - Fork 535
Closed
Description
Now that pull request #5866 has been fixed we have a new problem with getting the API test suite running again on the phoenix server.... the IF NOT EXISTS syntax is new as of PostgreSQL 9.6 (according to https://stackoverflow.com/questions/12597465/how-to-add-column-if-not-exists-on-postgresql/38721951#38721951 anyway) and the phoenix server is running PostgreSQL 9.3.25 according to psql --version.
https://build.hmdc.harvard.edu:8443/job/phoenix.dataverse.org-deploy-develop/408/console shows remote failure: Error occurred during deployment: Exception while loading the app : javax.ejb.CreateException: Initialization failed for Singleton StartupFlywayMigrator. Please see server.log for more details. and server.log shows the following:
Caused by: org.flywaydb.core.internal.sqlscript.FlywaySqlScriptException:
Migration V4.14.0.1__5822-export-var-meta.sql failed
----------------------------------------------------
SQL State : 42601
Error Code : 0
Message : ERROR: syntax error at or near "NOT"
Position: 44
Location : db/migration/V4.14.0.1__5822-export-var-meta.sql (/usr/local/glassfish4/glassfish/domains/domain1/applications/dataverse/WEB-INF/classes/db/migration/V4.14.0.1__5822-export-var-meta.sql)
Line : 1
Statement : ALTER TABLE variablemetadata
ADD COLUMN IF NOT EXISTS postquestion text
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels