RN200931 Known issue: Data Hub banner not displayed after installing/deploying USU themed Data Hub 14.1/14.1.1

Environment

Data HUb 14.1/14.1 u01 MSI or Docker

 

Issue

After installing the Data Hub 14.1/14.1.1 MSI + USU MST or after deploying Data Hub Docker as per RN200904, it was found that Data Hub's banner was not being displayed: 

 

Cause

The "theme_variables_usu.css" was not working as expected. 

 

Resolution

Docker

RN200904's process needs to be adjusted as follows:

  1. Change Dockerfile content from this:

To this:

FROM raynetgmbh/rayventory-datahub:14.1.6298.172

# Copy the local CSS file into the correct directory inside the container
COPY theme_variables_usu.css /app/wwwroot/assets/theming/

# Rename the CSS file inside the container
RUN mv -f "/app/wwwroot/assets/theming/theme_variables_usu.css" "/app/wwwroot/assets/theming/theme_variables.css" && \
mv -f "/app/wwwroot/assets/images/favicon/favicon_usu.ico" "/app/wwwroot/assets/images/favicon/favicon.ico"

 
This change will copy the theming file from the current directory into the container, allowing customisations to be made to the theming easily without having to wait for a new release.
 
When building the custom docker image, make sure you put the attached "theme_variables_usu.css" file into the same folder as the Dockerfile:
 

 
 

MSI + MST

New installations

A corrected MST file is attached that includes an accompanying CAB file (USUTheme_Updated_MST.zip), so ensure that the CAB file is located in the same folder as the MST file when performing a new installation. 

This updated MST file is also included with our products source files that reside on our FTP Server. 

 

Workaround for existing installations

Place the attached "theme_variables_usu.css" file into the ".\USUDiscoveryDataHub\wwwroot\assets\theming\" directory and then perform one of the following actions after stopping Data Hub's IIS application pool: 

1) Rename the "theme_variables.css" file to "theme_variables_original.css" and then rename the "theme_variables_usu.css" file to "theme_variables.css". 

2) Edit the following line within the ".\USUDiscoveryDataHub\wwwroot\index.html" file so that it looks like this: 

Restarting the application pool and then opening or refreshing the web browser will now load Data ub's complete UI: 

Comments

Powered by Zendesk