psqlexception on external schemas | bront | 2013-08-12 07:02 | |||||||||||||||||||||||||||
Status: Closed | |||||||||||||||||||||||||||||
In an effort to migrate LabKey's data from PostgreSQL 8.1 to 9.1, I did a pg_dump and restore of the LabKey database, which seemed to work I can log into LabKey, but I am now getting errors referencing our external schemas. These external schemas were NOT part of the upgrade (they were already in PG 9.1). There is no error when I try to reload schema, but I still get "Schema does not exist error". When I delete and attempt to re-create a schema, I get this error: org.postgresql.util.PSQLException: ERROR: column "dbschemaname" of relation "externalschema" does not exist DialectSQL = INSERT INTO query.externalschema (entityid, created, createdby, modified, modifiedby, container, userschemaname, editable, metadata, datasource, indexable, tables, DbSchemaName) VALUES (?, ?, ?, ?, ?, ?, ?, ?, NULL, ?, ?, ?, ?) RETURNING externalschemaid request attributes LABKEY.StartTime = 1376315250901 LABKEY.container = /xxx LABKEY.action = insertExternalSchema LABKEY.RequestURL = /labkey/query/DoD%20Lung%20Study%20%28LCRI%29/insertExternalSchema.view? LABKEY.OriginalURLHelper = /labkey/query/DoD%20Lung%20Study%20%28LCRI%29/insertExternalSchema.view? LABKEY.controller = query X-LABKEY-CSRF = 4bd5bb8a53beb10b0ecaf1517b861aee LABKEY.OriginalURL = https://mcclabkey.uky.edu/labkey/query/DoD%20Lung%20Study%20%28LCRI%29/insertExternalSchema.view? LABKEY.Counter = 0 core schema database configuration Server URL jdbc:postgresql://xxx/labkey_prod?sslmode=require Product Name PostgreSQL Product Version 9.1.9 Driver Name PostgreSQL Native Driver Driver Version PostgreSQL 9.2 JDBC4 (build 1001) Any ideas what might be going on? Many thanks, bront |
|||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||