Dataverse containers - Branding

19 views
Skip to first unread message

Daniela Serrano

unread,
Jun 2, 2026, 11:01:52 AM (12 days ago) Jun 2
to Dataverse Users Community
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? 

William Hahn

unread,
Jun 2, 2026, 11:41:40 AM (12 days ago) Jun 2
to dataverse...@googlegroups.com
Hi Daniela,

First off, I just confirm that you want to update the navbar logo, which is controlled by the `:LogoCustomizationFile` endpoint. See https://guides.dataverse.org/en/latest/installation/config.html#logocustomizationfile

You should pass the path relative to your docroot in the api call. In your example, it looks like you pass it your local script directory. For example:

curl -v -X PUT -H "X-Dataverse-key:$adminKey" -d "/logos/navbar/logo.png" "${DATAVERSE_URL}/api/admin/settings/:LogoCustomizationFile"

Make sure that you have the navbar directory created and follow the guides link above for more detailed information. There are some specific requirements for a navbar logo.

As for setting logos programmatically at the collection level, I'm not familiar with a way to do this. I've done it the same way you've mentioned here, directly via the Theme+Widgets menu. Maybe someone could chime in with how to do this, if there is a way?


Best,
William
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dataverse-community/59b3d87e-64a7-4b16-bb63-13faeeb570adn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages