This is for both of the cases of upgrading SharePoint Integration using the upgrade installer and also manually using the stsadm tool. If you see error below, that means there are previously run command to upgrade the solution files for SharePoint Integration, but the deployment was not completed for certain reason and stuck at that point.
Below is the log of upgrading using the upgrade installer. It's the same error for the case of upgrading manually using the stsadm tool.
1/28/2011 11:05:07 AM>>Updating SharePoint Integration v2... started
1/28/2011 11:05:07 AM>>StartDeployment start
1/28/2011 11:05:07 AM>>SharePoint Integration v2: Information, Upgrading solution Ascentn.SharePoint.SettingsList.wsp in SharePoint ...
1/28/2011 11:05:07 AM>>stsAdmProcess.StartInfo.Arguments: -o upgradesolution -name Ascentn.SharePoint.SettingsList.wsp -filename "C:\Documents and Settings\Administrator\Local Settings\Temp\ckz_1OML\NET20\SharePointv2\Ascentn.SharePoint.SettingsList.wsp" -immediate -allowgacdeployment
1/28/2011 11:05:23 AM>>SharePoint Integration v2: Error, A deployment or retraction is already under way for the solution "ascentn.sharepoint.settingslist.wsp", and only one deployment or retraction at a time is supported.
You may use the following steps to cancel the uncompleted jobs, then run the upgrade installer again or run the upgradesolution command again if upgrade manually.
Run enumdeployments command to get the job IDs:
stsadm -o enumdeployments
The return string looks like this:
<Deployments Count="4">
<Deployment JobId="71d06ccb-f5d9-4ae5-8caf-7223130c2a70">
<Title>Windows SharePoint Services Solution Deployment for "ascentn.sharepoint.listform.wsp"</Title>
<Type>Upgrade</Type>
<State>Failed</State>
<File>ascentn.sharepoint.listform.wsp</File>
<ServerType>Front-end Web server</ServerType>
</Deployment>
<Deployment JobId="962557ba-21e7-4739-9b6e-3e38446b477d">
<Title>Windows SharePoint Services Solution Deployment for "ascentn.sharepoint.settingslist.wsp"</Title>
<Type>Upgrade</Type>
<State>Failed</State>
<File>ascentn.sharepoint.settingslist.wsp</File>
<ServerType>Front-end Web server</ServerType>
</Deployment>
<Deployment JobId="add88985-159a-493f-a6f3-26f8918f6517">
<Title>Windows SharePoint Services Solution Deployment for "ascentn.sharepoint.webparts.wsp"</Title>
<Type>Upgrade</Type>
<State>Failed</State>
<File>ascentn.sharepoint.webparts.wsp</File>
<ServerType>Front-end Web server</ServerType>
</Deployment>
<Deployment JobId="08fb8dac-a290-4466-966d-b06fab38b465">
<Title>Windows SharePoint Services Solution Deployment for "ascentn.sharepoint.wfintegration.wsp"</Title>
<Type>Upgrade</Type>
<State>Failed</State>
<File>ascentn.sharepoint.wfintegration.wsp</File>
<ServerType>Front-end Web server</ServerType>
</Deployment>
</Deployments>
Then, run the canceldeployment command to cancel all the uncompleted jobs related to AgilePoint SharePoint Integration.
stsadm -o canceldeployment -id "GUID jobId"
After this, you may run the enumdeployments command again to check the jobs are canceled.
stsadm -o enumdeployments
At this point, you are good to run the upgrade installer or upgradesolution command again.
No comments:
Post a Comment