ukwa / ukwa-services

Deployment configuration for all UKWA services stacks.
Apache License 2.0
4 stars 5 forks source link

Preparing to release the website stack #18

Closed anjackson closed 3 years ago

anjackson commented 4 years ago

Specific questions to consider:

To Do

anjackson commented 4 years ago

Hi @GilHoggarth I've made you a reviewer of this pull request, and added specific questions above that I'd like you to consider.

anjackson commented 4 years ago
GilHoggarth commented 4 years ago

In scripts/collections-solr/ there's a typo ('reqeusts') in get-prod-collections.py. And this script now seems to do both steps, its and populate-docker-collections.py. Would be good to do either all in one or in two steps.

GilHoggarth commented 4 years ago

The shine database first step of 'docker service rm website_shine' ran without complaint (from docker I mean) but the shine database still existed immediately afterwards, as shown by 'source list-db.sh'. Consequently I couldn't run the following steps, create-db.sh and create-user.sh. After this, download-shine-db-dump.sh and restore-shine-db-from-dump.sh still worked, though I'm unaware of the shine db state given I must have restored onto an existing database.

GilHoggarth commented 4 years ago

Issues with pywb, logs "--- no python application found, check your startup logs for errors ---". Believed to be related to configuration settings for pywb, concerning pywb-ca.pem (which doesn't exist at /mnt/nfs/config/gitlab/ukwa-services-env/access/pywb/pywb-ca.pem as configured within ~/github/ukwa-services/access/website/config/pywb/config.yaml

anjackson commented 4 years ago

n.b. example of how to run the Solr indexer under Docker (not ready to use yet!)

https://github.com/anjackson/ukwa-services/blob/trackdb-indexer-workflow/tasks/run-solr-indexer.sh