There are known issues with launching WebAPI after a failure. After a failure (e.g. incorrect properties), update/save WebAPI configuration changes, then restart Olympus and launch WebAPI. If another failure, repeat.
Regarding the Olympus interaction and the internet, I first thought that it could be that we were using references to resources (javascript/css) from a CDN. However, I have not found evidence of this, besides a few font urls, which are found in both Achilles as well as Olympus. What url are you using to access Olympus (http://localhost:20000)? It really must be that (currently) or things will not work. There is an effort to address “Olympus in a hosted environment” and will require packaging/building Olympus from source. If you are using localhost:20000, then what is the url you are using for “old non-integrated Achilles” (e.g. http://localhost/Achilles)?
Regarding cohort_definition.id. WebAPI manages the creation of the cohort_definition table it is attempting to connect to and therefore requires a column with name “id”. The log you attached indicates that it was able to “migrate”. 1.0.0.3 is the cohort_definition_persistence.sql.
2015-05-28 08:07:52.059 INFO qtp1309736113-17 org.flywaydb.core.internal.command.DbMigrate - - Migrating schema "IPCI_Dopey_CDM/public" to version 1.0.0.3
CREATE TABLE cohort_definition(
id int NOT NULL,
name varchar(255) NOT NULL,
description varchar(1000) NULL,
expression_type varchar(50) NULL,
created_by varchar(255) NULL,
created_date Timestamp(3) NULL,
modified_by varchar(255) NULL,
modified_date Timestamp(3) NULL,
CONSTRAINT PK_cohort_definition PRIMARY KEY (id)
);
Looks like possibly the properties are still not defined correctly, as expected by WebAPI.
2015-05-28 07:56:43.737 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [datasource.cdm.schema,IPCI_Dopey_CDM/public]
2015-05-28 07:56:43.737 DEBUG main org.ohdsi.olympus.model.WebApiService - - Property [datasource.ohdsi.schema,IPCI_Dopey_CDM/public]
Looks like WebAPI created the following schema… I bet you may find a new IPCI_Dopey_CDM/public schema within your IPCI_Dopey_CDM database.
2015-05-28 08:07:51.828 INFO qtp1309736113-17 org.flywaydb.core.internal.command.DbSchemas - - Creating schema "IPCI_Dopey_CDM/public" ...
I imagine that the schema should not include the database name and /
(in your case, just ‘public’). I would caution again that the WebAPI manages (creates/drops db objects) the “Results Database Name / Schema” schema. So, if you have your cdm and results/ohdsi schema as one-in-the-same (i.e. ‘public’) and there are conflicting tables (e.g. you have some cohort_definition table already existing), WebAPI will fail to start.
Regarding updating AchillesWeb within Olympus, I can look at pulling in the latest and if we can get another snapshot out.