problem upgrading 15.2 to 15.3 | pablo escobarlopez | 2016-01-27 09:13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Status: Closed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hi I am trying to upgrade 15.2 to 15.3 in our devel instance. I have done some upgrades before without issues but now I am getting a weird error. This is my environment running in centos6: Core Database Configuration Server URL jdbc:postgresql://127.0.0.1/labkey Product Name PostgreSQL Product Version 9.2.8 JDBC Driver Name PostgreSQL Native Driver JDBC Driver Version PostgreSQL 9.4 JDBC4.1 (build 1201) JDBC Driver Location file:/opt/apache-tomcat-7.0.53/lib/postgresql.jar Runtime Information Mode Production Asserts disabled Servlet Container Apache Tomcat/7.0.53 Java Runtime 1.8.0_40 Java Home /opt/jdk1.8.0_40/jre Username labkey User Home Dir /home/labkey Webapp Dir /opt/LabKey15.2-39071.18-bin/labkeywebapp OS Linux Working Dir /home/labkey Server GUID 26b65700-c331-1031-a374-504196604ae0 Server Time 27/01/2016 17:40 but when doing the post-upgrade steps in the web interface I get this in the logs: https://gist.github.com/pescobar/11468150968f960f16ed I think the interesting lines are these ones: https://gist.github.com/pescobar/11468150968f960f16ed#file-gistfile1-txt-L196 https://gist.github.com/pescobar/11468150968f960f16ed#file-gistfile1-txt-L243 https://gist.github.com/pescobar/11468150968f960f16ed#file-gistfile1-txt-L334 https://gist.github.com/pescobar/11468150968f960f16ed#file-gistfile1-txt-L383 Trying to figure out what's going on I went to the admin console >> diagnostic >> database check >> do database check and then I get this error: Checking Container Column References... Checking PropertyDescriptor and DomainDescriptor consistency... ERROR: Inconsistent project ids found for exp.domaindescriptor in folder /Shared/Demo Clinical Study Published ERROR: Inconsistent project ids found for exp.domaindescriptor in folder /home/Security Tutorial/Study ERROR: Inconsistent project ids found for exp.domaindescriptor in folder /home/Security Tutorial/Lab A ERROR: Inconsistent project ids found for exp.domaindescriptor in folder /home/Security Tutorial/Lab B ERROR: Inconsistent project ids found for exp.domaindescriptor in folder /Shared/Demo Clinical Study Published When I try "click here to attempt recovery ." I get this error: 500: Unexpected server error SqlExecutor.execute(); bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: column "domainid" does not exist Position: 52 An this is the complete log when trying the recover https://gist.github.com/pescobar/d8ed83836a5bb2967d30 I have also notice that the postgres driver jar is "PostgreSQL 9.4 JDBC4.1 (build 1201)" but I am using postgres 9.2 installed fro the centos SCL repositories (https://wiki.centos.org/AdditionalResources/Repositories/SCL). I was thinking about upgrading postgres to 9.4 but in the labkey compatibility table I see that postgres 9.2 is supported so I am not sure if this could be the problem. does anyone knows which could be the issue? Thanks in advance for any help or suggestion. regards, Pablo. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||