KBEC-00334 - How to rerun the default plugins installation script

Summary

Something is wrong with my default plugins. How do I get the Flow server to do a fresh installation of packaged plugins?

Solution

The Flow server runs the following perl script to install default plugins:

<install_dir>/server/setup/60_installBundledPlugins.pl

You can force the system to rerun this script to redo the plugin installation process.

Method 1: Manually re-run script

  1. On your Flow server machine, go to directory
    <data_dir>/server/setup/
  2. Use ectool to log in to the Flow server as admin
  3. Set the environment variable COMMANDER_INSTALL_BIN to <install_dir>/bin.
    For example, on Linux:
    export COMMANDER_INSTALL_BIN=/opt/electriccloud/electriccommander/bin
    
    On Windows:
    set COMMANDER_INSTALL_BIN=C:\Program Files\Electric Cloud\ElectricCommander\bin
  4. Run the script inside the <install_dir>/server/setup directory using ec-perl:
    ec-perl 60_installBundledPlugins.pl

Method 2: Force server to re-run script

  1. Make some small change to 60_installBundledPlugins.pl, for example adding an extra comment line to the file.
  2. Restart the Flow server.

On restart, the server will compare the checksum of this script against the previous one stored in the database. It will flag the installation script as having being updated, and re-run it during startup. You should see "Installing plugin" messages as the server is starting. 

Applies to

  • Product versions: all
  • OS versions: all
Have more questions? Submit a request

Comments

Powered by Zendesk