No Datasets found after recreating containers
p-a-s-c-a-l opened this issue · comments
When recreating docker containers, no datasets are shown even if they are still available in the database volume.
Solution: The search index needs to be rebuilt with
docker exec -t ckan-ckan bash -c 'source /usr/lib/ckan/venv/bin/activate && cd /usr/lib/ckan/venv/src/ckan && ckan-paster search-index rebuild --config "${CKAN_CONFIG}"/production.ini'
Error response from daemon: Container 17d6b6b1f08e10ae53feab724813a1ee80f70b0f1882c5e7f7f8471d9ba559d2 is restarting, wait until the container is running