Area: UI
Sub-Area: Customization
Applies to: OSS + Cloud
Issue
You Might Be Asking
- Where do I upload platform logos in the UI?
- Why did my platform logo reset after an upgrade?
- How do I set it again?
- Do platform logos have a size or format requirement?
Cause
A platform logo is not an uploaded file. It is a URL in the logoUrl field of the platform's dataPlatformInfo aspect. Because the value is a URL, DataHub sets no file size or format rule for it.
DataHub has a data-platforms bootstrap step. It UPSERTs the dataPlatformInfo aspect for the built-in platforms it lists. A release that changes this step applies it again on upgrade. See Bootstrap MCPs.
On DataHub Cloud, the Branding card on Settings > Appearance sets your organization name, logo, favicon and brand color. It needs the Manage Organization Display Preferences privilege. It does not set per-platform logos, so it has no effect on this problem. Its size and format limits apply to the organization logo only, not to platform logos.
Solution
-
Host the logo at a URL that the DataHub UI can reach.
-
Run this command again for each affected platform:
datahub put platform --name <name> --display_name "<Display Name>" --logo "<url reachable from the UI>" -
Reload the UI and check the logo.
Note: this command writes the whole dataPlatformInfo aspect. It sets the type to OTHERS and the dataset name delimiter to .. Check that these values are correct for the platform before you run it on a built-in platform.
Repeat these steps after any upgrade that resets the logo. You don't need to check volume mounts or the file system, because no file holds the logo.