clarity-h2020 / ckan

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers datahub.io, catalog.data.gov and europeandataportal.eu/data/en/dataset among many other sites.

Home Page:https://ckan.myclimateservice.eu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'

See ckan#4425 (comment)

Error response from daemon: Container 17d6b6b1f08e10ae53feab724813a1ee80f70b0f1882c5e7f7f8471d9ba559d2 is restarting, wait until the container is running