Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCAT plugin #154

Open
NicoLaval opened this issue Jun 16, 2024 · 4 comments
Open

DCAT plugin #154

NicoLaval opened this issue Jun 16, 2024 · 4 comments
Assignees

Comments

@NicoLaval
Copy link

As describe in the ckan/Dockerfile.dev, I added the following lines to Dockerfile, and run docker compose build

RUN  pip3 install -e git+https://github.com/ckan/[email protected]#egg=ckanext-dcat && \
     pip3 install -r https://raw.githubusercontent.com/ckan/ckanext-dcat/v0.0.6/requirements.txt

After that, I updated .env file, adding dcat to ckan plugins properties.

When I run docker compose up, I obtain the following error:

ckan.plugins.core.PluginNotFoundException: dcat

Any idea? Do I need to add a setup to ckan/docker-entrypoint.d?

@amercader
Copy link
Member

If you have modified the ckan/Dockerfile.dev file you need to use the docker-compose.dev.yml file:

docker compose -f docker-compose.dev.yml build

docker compose -f docker-compose.dev.yml up

Otherwise you are using the defafult docker-compose.yml file that points to ckan/Dockerfile.

If you are indeed using the Dockerfile file, have you removed any previous containers after building?

docker compose build
docker compose rm ckan
docker compose up

@NicoLaval
Copy link
Author

Hi.
Thanks for your reponse.
I don’t rm ckan, I was thinking re-build was enough. I will try soon (back on my laptop in 2 days). I will inform you.

@NicoLaval
Copy link
Author

After rm, same error :(

@kowh-ai kowh-ai self-assigned this Jun 26, 2024
@dev-rke
Copy link

dev-rke commented Jun 26, 2024

envvars plugin has to be the last plugin to be loaded, so it has to be the last item on the list.
Maybe that might cause also your issue.
Personally i put these envvars directly into the Dockerfile, as i want to deliver a preconfigured container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants