Skip to content

Commit

Permalink
update some documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fostermh committed May 28, 2024
1 parent 8427d91 commit 3b25bde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
File renamed without changes.
25 changes: 1 addition & 24 deletions docs/INSTALL_CIOOS_CKAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <http://yourdomain.com/ckan>

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
```

Expand Down

0 comments on commit 3b25bde

Please sign in to comment.