Reporting Scripts not visible in EAC Admin Console

  1. Home
  2. Blog
  3. Reporting Scripts not visible in EAC Admin Console

Reporting Scripts not visible in EAC Admin Console

Problem:

When you login to EAC Admin Console in Endeca Experience Manager and find that Reporting scripts are missing as shown in below screenshot.

script-eac

Fix:
The issue is with missing “provisioned-script-command” in “ReportGeneration.xml”. If we see missing “provisioned-script-command” for any components as shown below. It will not be displayed in Script tab for Endeca Experience Manager.

<script id="WeeklyHtmlReports">
    <log-dir>./logs/provisioned_scripts</log-dir>
    <bean-shell-script>
      <![CDATA[ 
    log.info("Starting weekly HTML report generation script.");
    
    if (LockManager.acquireLock("report_generator_lock")) {
      // clean report gen input dir
      WeeklyHtmlReportGenerator.cleanInputDir();

..........

Add “provisioned-script-command” after “log-dir” config. Below is sample script change

<script id="WeeklyHtmlReports">
    <log-dir>./logs/provisioned_scripts</log-dir>

    <provisioned-script-command>./control/runcommand.bat WeeklyReports run</provisioned-script-command>

    <bean-shell-script>
      <![CDATA[ 
    log.info("Starting weekly HTML report generation script.");
    
    if (LockManager.acquireLock("report_generator_lock")) {
      // clean report gen input dir
      WeeklyHtmlReportGenerator.cleanInputDir();

..........

For Windows

For DaySoFarReports

<provisioned-script-command>./control/runcommand.bat DaySoFarReports run</provisioned-script-command>

For DailyReports
<provisioned-script-command>./control/runcommand.bat DailyReports run</provisioned-script-command>

For WeeklyReports
<provisioned-script-command>./control/runcommand.bat WeeklyReports run</provisioned-script-command>

For DaySoFarHtmlReports 
<provisioned-script-command>./control/runcommand.bat DaySoFarHtmlReports run</provisioned-script-command>

For DailyHtmlReports
<provisioned-script-command>./control/runcommand.bat DailyHtmlReports run</provisioned-script-command>

For WeeklyHtmlReports
<provisioned-script-command>./control/runcommand.bat WeeklyHtmlReports run</provisioned-script-command>

For Linux

For DaySoFarReprots
<provisioned-script-command>./control/runcommand.sh DaySoFarReports run</provisioned-script-command>

For DailyReports
<provisioned-script-command>./control/runcommand.sh DailyReports run</provisioned-script-command>

For WeeklyReports
<provisioned-script-command>./control/runcommand.sh WeeklyReports run</provisioned-script-command>

For DaySoFarHtmlReports 
<provisioned-script-command>./control/runcommand.sh DaySoFarHtmlReports run</provisioned-script-command>

For DailHtmlReports
<provisioned-script-command>./control/runcommand.sh DailyHtmlReports run</provisioned-script-command>

For WeeklyHtmlReports
<provisioned-script-command>./control/runcommand.sh WeeklyHtmlReports run</provisioned-script-command>

Once scripts are updated, run “initialize_services.sh/bat”

eac-fix

 

Let's Share
Show Buttons
Hide Buttons