AgroPortal Release 2.8.0 deployment documentation
Actions
Merge code https://github.com/ontoportal-lirmm/bioportal_web_ui/releases/tag/2.8.0
Update SOLR
Update CRON config
diff --git a/agroportal/cron/config/config.rb b/agroportal/cron/config/config.rb index b02dd055146cb75b67d86f5f207791e2af2193e5..84076b221222b223fd76d2f2a8af3a7d993046c0 100644 --- a/agroportal/cron/config/config.rb +++ b/agroportal/cron/config/config.rb @@ -41,8 +41,8 @@ begin config.rest_url_prefix = "#{$REST_URL_PREFIX}" config.ui_name = 'Agroportal' config.ui_host = "#{$UI_HOSTNAME}" - config.search_server_url = 'http://localhost:8983/solr/term_search_core1' - config.property_search_server_url = 'http://localhost:8983/solr/prop_search_core1' + config.search_server_url = 'http://localhost:8983/solr' + config.property_search_server_url = 'http://localhost:8983/solr' config.repository_folder = "#{$DATADIR}/repository" config.replace_url_prefix = true config.enable_security = false @@ -164,8 +164,8 @@ begin config.redis_host = Annotator.settings.annotator_redis_host config.redis_port = Annotator.settings.annotator_redis_port config.enable_ontology_analytics = false - config.search_index_all_url = 'http://localhost:8983/solr/term_search_core2' - config.property_search_server_index_all_url = 'http://localhost:8983/solr/prop_search_core2' + config.search_index_all_url = 'http://localhost:8983/solr' + config.property_search_server_index_all_url = 'http://localhost:8983/solr' config.ontology_report_path = "#{$DATADIR}/reports/ontologies_report.json" config.enable_spam_deletion = false config.enable_pull_umls = trueDeploy NCBO CRON
Disable notifications
Re-index all ontologies :
if issues run
pry(main)> Goo.init_search_connections(true)inncboconsoleUpdate API config
diff --git a/agroportal/api/config/environments/appliance.rb b/agroportal/api/config/environments/appliance.rb index 7fd90aa3393168454e5bc4e3e192d9955f533590..0f178be80b5a62fe61a0cd06ec7a816ab87cd9e2 100644 --- a/agroportal/api/config/environments/appliance.rb +++ b/agroportal/api/config/environments/appliance.rb @@ -41,8 +41,8 @@ begin config.rest_url_prefix = "#{$REST_URL_PREFIX}" config.ui_name = 'Agroportal' config.ui_host = "#{$UI_HOSTNAME}" - config.search_server_url = 'http://localhost:8983/solr/term_search_core1' - config.property_search_server_url = 'http://localhost:8983/solr/prop_search_core1' + config.search_server_url = 'http://localhost:8983/solr' + config.property_search_server_url = 'http://localhost:8983/solr' config.repository_folder = "#{$DATADIR}/repository" config.replace_url_prefix = true config.enable_security = true @@ -166,8 +166,8 @@ begin config.redis_host = Annotator.settings.annotator_redis_host config.redis_port = Annotator.settings.annotator_redis_port config.enable_ontology_analytics = false - config.search_index_all_url = 'http://localhost:8983/solr/term_search_core2' - config.property_search_server_index_all_url = 'http://localhost:8983/solr/prop_search_core2' + config.search_index_all_url = 'http://localhost:8983/solr' + config.property_search_server_index_all_url = 'http://localhost:8983/solr' config.ontology_report_path = "#{$DATADIR}/reports/ontologies_report.json" config.enable_spam_deletion = false endDeploy API
Update UI config
Deploy UI
Re-enable CRON notifications
Hide SOLR opened port