You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Bisht, Aarushi" <ab...@iu.edu> on 2019/07/09 16:29:45 UTC
Error in starting Airavata API server locally
Hi All,
Since the past few weeks, I am not able to start the airavata server locally using the develop branch.
I am getting the following exception:
Exception in thread "main" java.lang.RuntimeException: Failed to post-initialize the expcatalog database?
Caused by: <openjpa-2.4.3-r422266:1833086 fatal user error> org.apache.openjpa.persistence.ArgumentException: "org.apache.airavata.registry.core.entities.expcatalog.ExperimentOutputEntity.metaData" declares column "METADATA", but this column does not exist in table "EXPERIMENT_OUTPUT".
Up till now I had checked out an older commit from git and was using that branch to make local changes. But I will not be able to raise a merge request to develop branch using this old branch.
Is there anybody who is looking into this issue?
Regards,
Aarushi Bisht
Re: Error in starting Airavata API server locally
Posted by "Christie, Marcus Aaron" <ma...@iu.edu>.
Hi Aarushi,
You’ll need to run the db migration scripts against your db: https://github.com/apache/airavata/tree/develop/modules/registry/release-migration-scripts/0.18-0.19/DeltaScripts
You should be able to run, in the DeltaScripts directory:
cat *.sql | mysql
From: "Bisht, Aarushi" <ab...@iu.edu>
Reply-To: "dev@airavata.apache.org" <de...@airavata.apache.org>
Date: Tuesday, July 9, 2019 at 12:29 PM
To: "dev@airavata.apache.org" <de...@airavata.apache.org>
Subject: Error in starting Airavata API server locally
Hi All,
Since the past few weeks, I am not able to start the airavata server locally using the develop branch.
I am getting the following exception:
Exception in thread "main" java.lang.RuntimeException: Failed to post-initialize the expcatalog database
Caused by: <openjpa-2.4.3-r422266:1833086 fatal user error> org.apache.openjpa.persistence.ArgumentException: "org.apache.airavata.registry.core.entities.expcatalog.ExperimentOutputEntity.metaData" declares column "METADATA", but this column does not exist in table "EXPERIMENT_OUTPUT".
Up till now I had checked out an older commit from git and was using that branch to make local changes. But I will not be able to raise a merge request to develop branch using this old branch.
Is there anybody who is looking into this issue?
Regards,
Aarushi Bisht