Courier error while transferring content with umbraco version 7.6.5 and courier 3.1.6
Hi All,
I have a 2 websites test and staging running on Umbraco version 7.6.5. Top of it, courier version 3.1.6 is installed. Everything looks fine in terms of setup but when I try to transfer a media image or any other content. I get the below error:
Deployment failed
Deployment of content could not complete due to an unexpected error, all changes have been cancelled
Unhandled exception occurred.Status: 500 Message: Internal Server Error</p><p>ExceptionType: System.Web.Services.Protocols.SoapException
Message: Server was unable to process request. ---> Error extracting item, ID: cc07b313-0843-4aa8-bbda-871c8da728c8_d8e6ad84-e73a-11df-9492-0800200c9a66, Name: Image, Type: Umbraco.Courier.ItemProviders.DocumentType ---> could not insert: [Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoNode][SQL: INSERT INTO umbracoNode (createDate, level, nodeObjectType, path, sortOrder, text, trashed, uniqueID, nodeUser, parentID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?); select SCOPE_IDENTITY()] ---> Cannot insert duplicate key row in object 'dbo.umbracoNode' with unique index 'IX_umbracoNodeUniqueID'. The duplicate key value is (cc07b313-0843-4aa8-bbda-871c8da728c8).
The statement has been terminated. StackTrace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)
at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.EndExtractItems(IAsyncResult asyncResult)
at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.ExtractItems(Item[] items, Boolean overWrite)
at Umbraco.Courier.Core.Extraction.RevisionExtraction.ExtractItems(List`1 nodes)
at Umbraco.Courier.Core.Extraction.RevisionExtraction.ExtractReadyRevisionBatch()
at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract()
at Umbraco.Courier.Core.Tasks.ExtractionTask.Run()
at Umbraco.Courier.Core.BackgroundTaskRunner`1.ConsumeTaskInternal(T task)
End of stack trace from previous location where exception was thrown
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Umbraco.Courier.Core.TaskManager.GetSuccessfulProcessedTasks()
at Umbraco.Courier.UI.Pages.ViewTaskManager.GetProcessed()
I have fresh installation of umbraco on destination(staging) environment so I am not sure why I keep getting this error. Any help around it would be appreciated.
2019-08-28 15:29:36,745 [74] ERROR Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 74] An error occurred consuming task
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Error extracting item, ID: cc07b313-0843-4aa8-bbda-871c8da728c8_d8e6ad84-e73a-11df-9492-0800200c9a66, Name: Image, Type: Umbraco.Courier.ItemProviders.DocumentType ---> could not insert: [Umbraco.Courier.Persistence.V6.NHibernate.EntityClasses.UmbracoNode][SQL: INSERT INTO umbracoNode (createDate, level, nodeObjectType, path, sortOrder, text, trashed, uniqueID, nodeUser, parentID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?); select SCOPE_IDENTITY()] ---> Cannot insert duplicate key row in object 'dbo.umbracoNode' with unique index 'IX_umbracoNodeUniqueID'. The duplicate key value is (cc07b313-0843-4aa8-bbda-871c8da728c8).
The statement has been terminated.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)
at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.EndExtractItems(IAsyncResult asyncResult)
at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.ExtractItems(Item[] items, Boolean overWrite)
at Umbraco.Courier.Core.Extraction.RevisionExtraction.ExtractItems(List`1 nodes)
at Umbraco.Courier.Core.Extraction.RevisionExtraction.ExtractReadyRevisionBatch()
at Umbraco.Courier.Core.Extraction.RevisionExtraction.ExtractReadyRevisionBatch()
at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract()
at Umbraco.Courier.Core.Tasks.ExtractionTask.Run()
at Umbraco.Courier.Core.BackgroundTaskRunner`1.ConsumeTaskInternal(T task)
The item causing this is Image Media type as in the definion of media type for image
Courier error while transferring content with umbraco version 7.6.5 and courier 3.1.6
Hi All,
I have a 2 websites test and staging running on Umbraco version 7.6.5. Top of it, courier version 3.1.6 is installed. Everything looks fine in terms of setup but when I try to transfer a media image or any other content. I get the below error:
I have fresh installation of umbraco on destination(staging) environment so I am not sure why I keep getting this error. Any help around it would be appreciated.
Sanjay
Same here just started to get:
The item causing this is Image Media type as in the definion of media type for image
Hi,
I'm experiencing the same issue while trying to 'Courier' from Local to another environment.
Can you share your thoughts please ?
I didn't get this fixed straight away. I have recreated a clean environment & created at source level and couriered to a fresh destination level.
'Courier' team didn't even bother to respond to my previous message.
Did you guys figured out a work around for this as i am getting the same error. any ideas ?
Did you guys figured out a work around for this as i am getting the same error. any ideas ?
is working on a reply...