Deployment history not loading and git deployment is not updating

Category: azure git


kevjett1 on Wed, 24 Jul 2013 21:47:06

I have been using Git deployment for a while and now it is not updating the deployment. Last time it did that I manually synced the deployment through the management site. Now when I go to deployment history to do a manual sync, it tells me a 500 error when loading the deployment history. I have just started seeing this today. Any idea what's going on? Azure bug?


Suwat Ch on Wed, 24 Jul 2013 22:55:50

I would start by getting the diagnostic dump (  In the dump zip, there is a trace.xml (logFiles\git\trace).  That should give some clue.  Let us know if need any help digesting the trace file.

kevjett1 on Thu, 25 Jul 2013 15:50:51

I found the diagnostics and this is what is getting logged when I try to look at my deployment history.

2013-07-25T15:48:00    Error occurred, type: error, text: Root element is missing., stackTrace:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options)
   at Kudu.Core.Deployment.XmlLogger.GetDocument()
   at Kudu.Core.Deployment.XmlLogger.Log(String value, LogEntryType type)
   at Kudu.Core.Deployment.CascadeLogger.Log(String value, LogEntryType type)
   at Kudu.Core.Deployment.ProgressLogger.Log(String value, LogEntryType type)
   at Kudu.Core.Deployment.LoggerExtensions.LogUnexpetedError(ILogger logger)
   at Kudu.Core.Deployment.DeploymentManager.VerifyDeployment(String id, Boolean isDeploying)
   at Kudu.Core.Deployment.DeploymentManager.GetResult(String id, String activeDeploymentId, Boolean isDeploying)
   at Kudu.Core.Deployment.DeploymentManager.<EnumerateResults>d__23.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Kudu.Core.Deployment.DeploymentManager.GetResults()
   at Kudu.Services.Deployment.DeploymentController.<GetResults>d__b.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Kudu.Services.Deployment.DeploymentController.GetDeployResults()
   at lambda_method(Closure , Object , Object[] )
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.<ExecuteAsync>b__4()
   at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)

MiniPeter on Sun, 28 Jul 2013 03:20:02

I have a same problem without any clues, can you help? Suwat Ch

Jim Cheshire on Mon, 29 Jul 2013 14:13:10

I am moving this to the GIT deployment forum for better visibility. Here's the new link for this thread:

Jim Cheshire | Microsoft