Foros‎ > ‎Sharepoint‎ > ‎

SharePoint Solution Deployment Stuck at Deploying Status

publicado a la‎(s)‎ 6 mar. 2014 6:27 por Ignacio Gonzalez

While trying to upgrade a SharePoint 2010 solution using the following command, received the error message saying "A deployment or retraction is already underway for the solution blah, and only one deployment or retraction at a time is supported".

 update-spsolution -identity blah.wsp -literalpath "blah" -gacdeployment

 The status also shows "Deploying" at Central Administration / System Settings / Manage farm solutions under Farm Management section.

The fix: Go to Central Administration / Monitoring / Check job status under Timer Jobs, Under Running section, locate the entry for the solution deployment job, the job should be named as "Microsoft SharePoint Foundation Solution Deployment for %SolutionName.wsp%. Click on the job title, then click the Delete button to delete the job on the next page. Afterwards, you can try to deploy the solution again.

The old stsadm comand, for example, see below, does not work anymore.
stsadm -o canceldeployment -id "job guid" 

The "job guid" can be retrieved by issuing the following command:
stsadm -o enumdeployments

Cuando el error persista, intentar reiniciar (o iniciar) el servicio del servidor: Sharepoint 2010 Timer, desde la consola de servicios de windows.