KBEC-00391 - Steps to reinstall bundled plugins folder from a new location

Summary

If you are post install and you have moved your <data-dir> to a new location, You may receive an error where the Server cannot find specific plugins. To resolve these issues, you can redownload the plugins bundled with the ElectricFlow installer.:

  • Login to Flow Server
ectool --server<localhost> login admin <password>
  • Set the COMMANDER_INSTALL_BIN environment variable:

Linux:

export COMMANDER_INSTALL_BIN=/opt/electriccloud/electriccommander/bin

Windows:

set COMMANDER_INSTALL_BIN=C:\Progra~1\Electr~1\ElectricCommander\bin
  • Copy <data-dir>/server/setup/SetupHelper.pm to <install-dir>/perl/lib (Youre <data-dir> may be the same as your <install-dir>)

Linux:

cp /opt/electriccloud/electriccommander/server/setup/SetupHelper.pm /opt/electriccloud/electriccommander/perl/lib

Windows:

 copy  "C:\ProgramData\Electric Cloud\ElectricCommander\server\setup\SetupHelper.pm" C:\Progra~1\Electr~1\ElectricCommander\perl\lib
  • Go into the Bin Folder of your ElectricFlow installation:

Linux”

cd /opt/electriccloud/electriccommander/bin

windows:

cd %COMMANDER_INSTALL_BIN%
  • Use the ec-perl to run 60_installBundledPlugins.pl to delete+ install and promote plugins.

Linux:

ec-perl /opt/electriccloud/electriccommander/server/setup/60_installBundledPlugins.pl

Windows :

ec-perl "C:\ProgramData\Electric Cloud\ElectricCommander\server\setup\60_installBundledPlugins.pl"
  • Remove the copied <INSTALL_DIR>/perl/lib/SetupHelper.pm

Linux:

rm /opt/electriccloud/electriccommander/perl/lib/SetupHelper.pm

Windows:

del C:\Progra~1\Electr~1\ElectricCommander\perl\lib\SetupHelper.pm

 After the script has run, you can verify by going to your new plugins folder and seeing if the Plugins have been downloaded. Also, you will need to set the plugins directory to the new location. Run the following commands:

ectool setProperty "/server/settings/pluginsDirectory" "/<New Directory>/plugins"
ecconfigure --webPluginsDirectory /<New Directory>/plugins
ecconfigure --agentPluginsDirectory /<New Directory>/plugins
ectool --server localhost setProperty "/server/Electric Cloud/unixPluginsShare" /<New Directory>/plugins

You can confirm the change by going to the Administration -> Server Tab -> Settings and checking the values of the Plugins Directory. 

You can also verify by going to the Administration -> Plugins tab. 

Have more questions? Submit a request

Comments

Powered by Zendesk