Open vera opened 2 years ago
HI @vera, you should do it from inside of running Dataverse docker container. Outside curl requests to change metadata schema aren't allowed.
Shouldn't the init script run it in the correct container automatically? To be clear, I didn't manually run the curl request, I just ran docker-compose up
Yes, if it will copied in init.d folder, please check the repo.
I have tried to load custom metadata as described in https://github.com/IQSS/dataverse-docker#custom-metadata-support however the custom metadata blocks are not showing up in the UI.
E.g. I have uncommented the line
CESSDA=True
in.env
and rundocker-compose up
but it does not appear in the UI.To debug, I have edited
init.d/1002-custom-metadata.sh
to write the output ofcurl http://localhost:8080/api/admin/datasetfield/load ...
to a file. This is the output:Am I missing something? Thanks.