Wednesday, June 21, 2017

FATAL: Multiple root installs found. Only one installer config file may have the update attribute unspecified or set to false.

Problem


[atg@endeca bin]$ ./deploy.sh --app /data/apps/endeca/ToolsAndFrameworks/latest/reference/discover-data-cas/deploy.xml

 ------------------------------------------------------------------------------
   Found a supported version of Platform Services installed in directory
   /data/apps/endeca/PlatformServices/11.0.0. If the location is incorrect, type
   'Q' to quit and adjust your ENDECA_ROOT environment variable. Press enter to
   continue with these settings.

   Continue?


 ------------------------------------------------------------------------------
     Deployment Template installation script.

     This script creates the directory structure for your
     deployment and installs configuration files and scripts
     into the directory structure.

06/21/2017 20:38:59 [deploy.pl] INFO:  Starting deployment template
   installation.

 ------------------------------------------------------------------------------
   The following app modules were specified on the command line argument:


   /data/apps/endeca/ToolsAndFrameworks/latest/reference/discover-data-cas/deploy.xml


   Modules may be deployed standalone or on top of a base deployment type. Do
   you want to install a base deployment with the specified module(s)?

   Install base deployment? [Y/N]:
Y
06/21/2017 20:39:01 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   /data/apps/endeca/ToolsAndFrameworks/latest/reference/discover-data-cas/deploy.xml.
06/21/2017 20:39:01 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   /data/apps/endeca/ToolsAndFrameworks/11.0.0/deployment_template/lib/../app-templates/base_descriptor.xml.

 ------------------------------------------------------------------------------
   Enter a short name for your application.

   Note: The name must conform to this regular expression: ^[a-zA-Z0-9]+$
    [default: Discover]

   Choosing a different application name may require additional configuration on
   your web application.

   Application name:
TSLen

 ------------------------------------------------------------------------------
   Specify the path into which the application will be deployed. The specified
   directory must exist and cannot contain spaces.

   For example, to deploy into /localdisk/apps/TSLen, specify the path as
   /localdisk/apps.

   Deployment directory:
/data/apps/endeca/apps

 ------------------------------------------------------------------------------
   Specify the port on which the Endeca Application Controller is running. This
   is configured in the server.xml file in the workspace of the Endeca software
   install and should be the same for all applications deployed in this
   environment. Ports must be in the range 1024-65535 [default: 8888].

   EAC port:

06/21/2017 20:39:17 [deploy.pl] INFO:  Deploying application into
   /data/apps/endeca/apps/TSLen
06/21/2017 20:39:17 [deploy.pl] FATAL: Multiple root installs found. Only one
   installer config file may have the update attribute unspecified or set to
   false.

Solution ;

In the step asking :

 Install base deployment? [Y/N]:

Instead of entering Y , enter N

2 comments:

  1. while deploying the CAS application, why do we have to say no in base deployment. can you please explain?

    ReplyDelete