Hello!
I'm using gdcc/dataverse:6.10.1-noble-r4 image. I've created my own persona following the
docs , I was able to configure the language and custom metadata blocks, however I haven't been able to add the banner image (:LogoCustomizationFile).
I first tried adding this in my own setup-all script:
curl -v -X PUT -H "X-Dataverse-key:$adminKey" -d "$SCRIPT_PATH/logos/logo.png" "${DATAVERSE_URL}/api/admin/settings/:LogoCustomizationFile"
No errors show in logs and the postgres setting is created, however the image is never displayed in the UI. I assumed the issue was because the dataverse container wasn't able to find the image, so I manually checked adding a new logo from the 'Theme+widgets' menu and realized it got saved at /dv/docroot/logos/1 inside the dataverse container, so I tried adding the logo directly to that folder from my bootstrap script:
mkdir -p /dv/docroot/logos/1
cp "$SCRIPT_PATH/logos/logo.png" /dv/docroot/logos/1/logo.png
chown -R 1000:1000 /dv/docroot
However it still doesn't work even tho the image is in the correct folder inside the dataverse container. If I go back to the Theme+Widgets menu and manually add another image, then it saves in the exact same place as the one I tried uploading from the bootstrap container and it is showed in the UI. I also realized when manually doing so, no :LogoCustomizationFile is added to the postgres setting table.
Could you please help me out on this?