Summary
If you are post install and you have moved your 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 CloudBees CD (CloudBees Flow) installer.:
-
Login to CloudBees CD (CloudBees Flow) Server
ectool --server login admin
-
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 /server/setup/SetupHelper.pm to /perl/lib (Youre may be the same as your )
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 CloudBees CD (CloudBees Flow) 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 /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" "//plugins" ecconfigure --webPluginsDirectory //plugins ecconfigure --agentPluginsDirectory //plugins ectool --server localhost setProperty "/server/Electric Cloud/unixPluginsShare" //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.