From 3b25bdea2410bf0324a65d814b95461339a477b4 Mon Sep 17 00:00:00 2001 From: Matthew Foster Date: Tue, 28 May 2024 10:40:49 -0700 Subject: [PATCH] update some documentation --- .../docker/release_notes/cioos_1.4.0.md | 0 docs/INSTALL_CIOOS_CKAN.md | 25 +------------------ 2 files changed, 1 insertion(+), 24 deletions(-) rename docs/TO_UPGRADE.md => contrib/docker/release_notes/cioos_1.4.0.md (100%) diff --git a/docs/TO_UPGRADE.md b/contrib/docker/release_notes/cioos_1.4.0.md similarity index 100% rename from docs/TO_UPGRADE.md rename to contrib/docker/release_notes/cioos_1.4.0.md diff --git a/docs/INSTALL_CIOOS_CKAN.md b/docs/INSTALL_CIOOS_CKAN.md index b505a240e18..0f17878b4bb 100644 --- a/docs/INSTALL_CIOOS_CKAN.md +++ b/docs/INSTALL_CIOOS_CKAN.md @@ -204,6 +204,7 @@ cp who_root_url.ini who.ini ``` ### Installing CKAN off the root of a website +*Note*: This section is kept for reference but is no longer supported Use this setup if your site will run at @@ -571,28 +572,6 @@ possible wordpress depending on how your site is configured. ## Update SOLR schema -### OLD METHOD -This method uses dockers copy command to copy the new schema file into a running solr container - -```bash -cd ~/ckan -sudo docker cp ~/ckan/ckan/config/solr/schema.xml solr:/opt/solr/server/solr/configsets/ckan/conf/managed-schema -``` - -Restart solr container - -```bash -cd ~/ckan/contrib/docker -sudo docker-compose restart solr -``` - -Rebuild search index - -```bash -sudo docker exec -it ckan ckan --config=/etc/ckan/production.ini search-index rebuild -o -``` - -### NEW Method With the switch to solr 8 we are using managed schemas and you can not update this without rebuilding the solr image. First build or pull a new image and then restart the container. build or pull @@ -670,10 +649,8 @@ enable volume environment variables to make accessing the volumes easier ```bash export VOL_CKAN_HOME=`sudo docker volume inspect docker_ckan_home | jq -r -c '.[] | .Mountpoint'` -export VOL_CKAN_CONFIG=`sudo docker volume inspect docker_ckan_config | jq -r -c '.[] | .Mountpoint'` export VOL_CKAN_STORAGE=`sudo docker volume inspect docker_ckan_storage | jq -r -c '.[] | .Mountpoint'` echo $VOL_CKAN_HOME -echo $VOL_CKAN_CONFIG echo $VOL_CKAN_STORAGE ```