cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment to crafter target is failing.

peteolsen
Champ in-the-making
Champ in-the-making
I am trying to deploy to multiple crafter endpoints however the SB endpoint, see below, is being ignored for some reason. I believe everything is correctly set up as it worked in the past. Something must have changed but I cannot figure out what. Can anyone see anything that might stop the sandbox endpoint from getting published? Please let me know if you need any more code or info.
Thanks,
Pete.

<strong>ENDPOINTS-CONFIG</strong>

<?xml version="1.0" encoding="UTF-8"?>
<config>
    <endpoint>
        <name>sample</name>
        <type>craftercms-deployer</type>
        <server-url>http://localhost:9191/publish</server-url>
        <status-url>http://localhost:9191/api/1/monitoring/status</status-url>
        <version-url>http://localhost:9191/api/1/version</version-url>
        <bucket-size>10</bucket-size>
        <password>admin</password>
        <target>sample</target>
        <send-metadata>false</send-metadata>       
    </endpoint>
    <endpoint>
       <name>Preview Doc-Vers</name>
       <type>craftercms-deployer</type>
       <server-url>http://localhost:9191/publish</server-url>
       <status-url>http://localhost:9191/api/1/monitoring/status</status-url>
       <version-url>http://localhost:9191/api/1/version</version-url>
       <bucket-size>10</bucket-size>
       <password>admin</password>
       <target>preview-document</target>
       <send-metadata>true</send-metadata>    
       <exclude>
          <pattern>^((?!/site/components/documents/).)*$</pattern>
       </exclude>
       </endpoint>
  <endpoint>
       <name>Live One</name>
       <type>craftercms-deployer</type>
         <server-url>http://webappi1az.FOO.com:9191/publish</server-url>
         <status-url>http://webappi1az.FOO.com:9191/api/1/monitoring/status</status-url>
       <version-url>http://webappi1az.FOO.com:9191/api/1/version</version-url>
       <bucket-size>10</bucket-size>
       <password>admin</password>
       <target>live-one</target>
       <send-metadata>true</send-metadata>    
       <exclude>
         <pattern>^/static-assets/documents/BAR/.*</pattern>
       </exclude>
        <site-id>isoneint</site-id>
    </endpoint>
    <endpoint>
       <name>Live Two</name>
       <type>craftercms-deployer</type>
         <server-url>http://webappi1bz.FOO.com:9191/publish</server-url>
         <status-url>http://webappi1bz.FOO.com:9191/api/1/monitoring/status</status-url>
       <version-url>http://webappi1bz.FOO.com:9191/api/1/version</version-url>
       <bucket-size>10</bucket-size>
       <password>admin</password>
       <target>live-two</target>
       <send-metadata>true</send-metadata>    
       <exclude>
         <pattern>^/static-assets/documents/BAR/.*</pattern>
       </exclude>
        <site-id>isoneint</site-id>
    </endpoint>
    <endpoint>
       <name>Live BAR</name>
       <type>craftercms-deployer</type>
       <server-url>http://opwebi.FOO.com:9191/publish</server-url>
       <status-url>http://opwebi.FOO.com:9191/api/1/monitoring/status</status-url>
       <version-url>http://opwebi.FOO.com:9191/api/1/version</version-url>
       <bucket-size>10</bucket-size>
       <password>admin</password>
       <target>live-BAR</target>
       <send-metadata>false</send-metadata>   
       <exclude>
          <pattern>^((?!/static-assets/documents/BAR/).)*$</pattern>
       </exclude>   
       <site-id>isoneint</site-id>
    </endpoint>
   <endpoint>
       <name>Live SB</name>
       <type>craftercms-deployer</type>
       <server-url>http://webappsb-newz.FOO.com:9191/publish</server-url>
       <status-url>http://webappsb-newz.FOO.com:9191/api/1/monitoring/status</status-url>
       <version-url>http://webappsb-newz.FOO.com:9191/api/1/version</version-url>
       <bucket-size>10</bucket-size>
       <password>admin</password>
       <target>live-sb</target>
       <send-metadata>true</send-metadata>   
       <exclude>
          <pattern>^((?!/static-assets/documents/BAR/).)*$</pattern>
       </exclude>   
       <site-id>isoneint</site-id>
    </endpoint>
</config>


<strong>ENVIRONMENT-CONFIG</strong>

<?xml version="1.0" encoding="UTF-8"?>
<environment-config>
   <preview-server-url>http://webcmsi.FOO.com</preview-server-url>
   <authoring-server-url>http://webcmsi.FOO.com/share</authoring-server-url>
   <form-server-url>http://webcmsi.FOO.com/form-server</form-server-url>
   <live-server-url>http://wwwint.FOO.com</live-server-url>
    <publishing-channels>
        <channel-group>
            <label>Integration</label>
            <channels>
                <channel>Preview Doc-Vers</channel>
                <channel>Live One</channel>
                <channel>Live Two</channel>       
                <channel>Live SB</channel>
                <channel>Live CEII</channel>   
           </channels>
           <live-environment>true</live-environment>
        </channel-group>
    </publishing-channels>
    <publishing-channels>
        <channel-group>
            <label>Sandbox</label>
            <channels>
              <channel>Live SB</channel>
            </channels>
            <live-environment>false</live-environment>
        </channel-group>
    </publishing-channels>
   <cookie-domain>webcmsi.FOO.com</cookie-domain>
   <open-site-dropdown>false</open-site-dropdown>
</environment-config>


<strong>Log File</strong>

2014-Jun-04 10:16:34,247  INFO  [alfresco.deployment.DeploymentEventsLoggerListener] Event: Deployment Engine Deploy
2014-Jun-04 10:16:34,247  INFO  [alfresco.deployment.DeploymentEventsLoggerListener] Endpoint: Live Two
2014-Jun-04 10:16:34,247  INFO  [alfresco.deployment.DeploymentEventsLoggerListener] Items: [{"dateTime":{"date":4,"day":3,"hours":10,"minutes":16,"month":5,"seconds":34,"time":1401891394096,"timezoneOffset":240,"year":114},"oldPath":"","path":"/site/website/about/index.xml","site":"FOO","state":"UPDATED","user":"admin"}]
2014-Jun-04 10:16:34,602  INFO  [alfresco.deployment.DeploymentEventsLoggerListener] Event: Deployment Engine Deploy
2014-Jun-04 10:16:34,602  INFO  [alfresco.deployment.DeploymentEventsLoggerListener] Endpoint: Live One
2014-Jun-04 10:16:34,602  INFO  [alfresco.deployment.DeploymentEventsLoggerListener] Items: [{"dateTime":{"date":4,"day":3,"hours":10,"minutes":16,"month":5,"seconds":34,"time":1401891394351,"timezoneOffset":240,"year":114},"oldPath":"","path":"/site/website/about/index.xml","site":"FOO","state":"UPDATED","user":"admin"}]


2 REPLIES 2

craftercms
Champ in-the-making
Champ in-the-making
Hi Pete,

It looks like the configuration structure is ok.  The issue looks like you are using the same end point in two different channel groups.  An endpoint should only be deployed to from one group.

peteolsen
Champ in-the-making
Champ in-the-making
I have removed all the channel-groups but one and I still am not able to publish to all the nodes. Still, only the Live One and Live Two channels are publishing.


<?xml version="1.0" encoding="UTF-8"?>
<environment-config>
    <preview-server-url>http://webcmsi.FOO.com</preview-server-url>
    <authoring-server-url>http://webcmsi.FOO.com/share</authoring-server-url>
    <form-server-url>http://webcmsi.FOO.com/form-server</form-server-url>
    <live-server-url>http://wwwint.FOO.com</live-server-url>    
    <publishing-channels>
        <channel-group>
            <label>Integration INT</label>
            <channels>               
                <channel>Preview Doc-Vers</channel>                
                <channel>Live SB</channel>
                <channel>Live One</channel>
                <channel>Live Two</channel>                                 
                <channel>Live CEII</channel>   
           </channels>
           <live-environment>true</live-environment>
        </channel-group>       
    </publishing-channels>
    <cookie-domain>webcmsi.FOO.com</cookie-domain>
    <open-site-dropdown>false</open-site-dropdown>
</environment-config>