Blank Engine landing page displayed after you upgrade Cloud Application Business Insights

Symptoms

Engine displays a blank landing page after you upgrade Cloud Application Business Insights.

Causes

The default landing page is not inserted in the PostgreSQL database and hence, Engine displays a blank landing page.

Resolving the problem

To rectify the issue, you must manually insert the HTML page content for all the supported languages into the PostgreSQL database.
Complete the following steps to manually insert the HTML page content into the PostgreSQL database:
  1. As a root user, connect to the locally or remotely installed PostgreSQL database.
  2. Use the following INSERT INTO query to insert the HTML content into the t_<TENANT_NAME>_engine.landingpage table:

    INSERT into t_<TENANT_NAME>_engine.landingpage(language,html) VALUES ('<LANGUAGE>','<LANDING_PAGE_HTML_FOR_LANGUAGE>')

    Where,
    • LANGUAGE can be any one of the supported languages such as, "en", "de", "fr", "it", "es", "ja", "pt-BR", "zh-CN", or "zh-TW"
    • '<LANDING_PAGE_HTML_FOR_LANGUAGE>' is the HTML content for the language that you entered in the LANGUAGE column. Copy and paste the entire HTML page content to this column.
    For example,
    insert into t_default_engine.landingpage(language,html ) values ('en','<div class="main-content-landing-inner-wrapper"> <div class="main-content-landing-inner" role="main"> <div class="head-wrapper"> <!--PRD - White label - custom application name / welcome message --> <span> <h2 title="Welcome to IBM Cloud Application Business Insights" class="title" role="none" > <span >Welcome to </span ><span>IBM Cloud Application Business Insights</span> </h2> </span> <hr class="horizontal-separator" /> <h2 class="subtitle" role="none" > Click Menu to view Dashboards </h2> </div> <div class="row"> <div class="col col-lg-4 col-md-4 col-sm-6 col-xs-6"> <div class="panel panel-primary"> <!-- <img class="ico ico-lg-chart" src="assets/images/ico-blank.png" alt="icon"> --> <span class="wrap-svg-ico ico-data-visualize" > <svg class="ico-svg" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 595.3 595.3" enable-background="new 0 0 595.3 595.3" xml:space="preserve"> <g> <path fill="#010101" d="M73.8,322.6c27.4,0,50-22.6,50-50c0-8.3-2.4-16.7-6-23.8l76.2-60.7c8.3,6,19,9.5,29.8,9.5 c17.9,0,34.5-9.5,42.9-25l57.1,16.7c0,2.4-1.2,6-1.2,8.3c0,27.4,22.6,50,50,50s50-22.6,50-50c0-9.5-2.4-17.9-7.1-25l81-81 c7.1,4.8,15.5,7.1,25,7.1c27.4,0,50-22.6,50-50C570.3,22.6,547.7,0,520.3,0s-50,22.6-50,50c0,9.5,2.4,17.9,7.1,25l-81,81 c-7.1-4.8-15.5-7.1-25-7.1c-15.5,0-29.8,7.1-38.1,19L272.6,150v-1.2c0-27.4-22.6-50-50-50s-50,22.6-50,50c0,7.1,1.2,14.3,4.8,20.2 L100,231c-7.1-4.8-16.7-7.1-26.2-7.1c-27.4,0-50,22.6-50,50C23.8,301.2,47.6,322.6,73.8,322.6z M520.3,25c13.1,0,25,10.7,25,25 c0,13.1-10.7,25-25,25c-7.1,0-13.1-2.4-17.9-7.1c-4.8-4.8-7.1-10.7-7.1-17.9C496.5,35.7,507.2,25,520.3,25z M371.5,173.8 c14.3,0,25,10.7,25,25c0,13.1-10.7,25-25,25c-14.3,0-25-10.7-25-25C347.6,184.5,358.4,173.8,371.5,173.8z M222.6,123.8 c13.1,0,25,10.7,25,25c0,13.1-10.7,25-25,25c-14.3,0-25-10.7-25-25C198.8,135.7,209.5,123.8,222.6,123.8z M73.8,247.6 c13.1,0,25,10.7,25,25c0,13.1-10.7,25-25,25c-14.3,0-25-10.7-25-25C50,259.5,60.7,247.6,73.8,247.6z"/> <path fill="#010101" d="M583.4,570.3h-11.9V210.7c0-7.1-6-11.9-11.9-11.9h-73.8c-7.1,0-11.9,6-11.9,11.9v359.5h-50V359.5 c0-7.1-6-11.9-11.9-11.9h-73.8c-7.1,0-11.9,6-11.9,11.9v210.7h-50V309.5c0-7.1-6-11.9-11.9-11.9h-75c-7.1,0-11.9,6-11.9,11.9v260.7 h-50V434.6c0-7.1-6-11.9-11.9-11.9H36.9c-7.1,0-11.9,6-11.9,11.9v136.9H11.9c-7.1,0-11.9,6-11.9,11.9c0,7.1,6,11.9,11.9,11.9h173.8 h75h73.8h73.8h73.8H556h27.4c7.1,0,11.9-6,11.9-11.9C595.3,576.2,589.3,570.3,583.4,570.3z M100,570.3h-1.2H50V446.5h50V570.3z M247.6,570.3h-50V322.6h50V570.3z M396.5,570.3h-50V371.5h50V570.3z M545.3,570.3h-50V222.6h50V570.3z"/> </g> </svg> </span> <p class="dashboard-access-text" title="View data in chart types of your choice" > View data in chart types of your choice </p> </div> </div> <div class="col col-lg-4 col-md-4 col-sm-6 col-xs-6"> <div class="panel panel-primary"> <!-- <img class="ico ico-lg-layout" src="assets/images/ico-blank.png" alt="icon"> --> <span class="wrap-svg-ico ico-dashboard" > <svg class="ico-svg" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 595.3 667.3" enable-background="new 0 0 595.3 667.3" xml:space="preserve"> <g> <path d="M568.6,26.7v92.1h-92.1V26.7H568.6 M393.7,26.7v92.1h-92.1V26.7H393.7 M220.2,26.7v92.1H26.7V26.7H220.2 M568.6,200.2 v164.2H26.7V200.2H568.6 M568.6,447.1v193.5H316.3V447.1H568.6 M220.2,447.1v193.5H26.7V447.1H220.2 M595.3,0H449.8v145.5h145.5V0 L595.3,0z M420.4,0H276.3v145.5h145.5V0H420.4z M246.9,0H0v145.5h246.9V0L246.9,0z M595.3,173.5H0v217.6h595.3V173.5L595.3,173.5z M595.3,420.4H289.6v246.9h304.3L595.3,420.4L595.3,420.4z M246.9,420.4H0v246.9h246.9V420.4L246.9,420.4z"/> </g> </svg> </span> <p class="dashboard-access-text" title="Customize Layouts and save your views" > Customize Layouts and save your views </p> </div> </div> </div> <!-- <center><img style="width: 100%" src="assets/images/landing_screen.jpg"></center> --> </div> </div>' );
  3. Refresh Engine. The HTML page is displayed on Engine.

    Likewise, you can manually insert the HTML page content for all the required languages into the PostgreSQL database.

After you insert the HTML pages for the required languages, you can modify and render the pages to Engine again.

For more information, see Customize Engine Landing page.