From 040336f8545b593d06bcb448ed6befc35cbb5516 Mon Sep 17 00:00:00 2001 From: "filip.mihajlovski" Date: Mon, 10 Apr 2023 11:14:03 +0200 Subject: [PATCH] changed name of solr vars --- images/ckan/2.9/setup/app/prerun.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/ckan/2.9/setup/app/prerun.py b/images/ckan/2.9/setup/app/prerun.py index 626c42b..cd95b16 100644 --- a/images/ckan/2.9/setup/app/prerun.py +++ b/images/ckan/2.9/setup/app/prerun.py @@ -68,8 +68,8 @@ def check_solr_connection(retry=None): sys.exit(1) url = os.environ.get('CKAN_SOLR_URL', '') - username = os.environ.get('SOLR_ADMIN_USERNAME', '') - password = os.environ.get('SOLR_ADMIN_PASSWORD', '') + username = os.environ.get('CKAN_SOLR_USER', '') + password = os.environ.get('CKAN_SOLR_PASSWORD', '') search_url = '{url}/schema/name?wt=json'.format(url=url)