Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sanjay Sen 33 posts 97 karma points
    Feb 09, 2018 @ 10:35
    Sanjay Sen
    0

    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 ---&gt; 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()] ---&gt; 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.

    Sanjay

  • Radek 11 posts 142 karma points
    Aug 28, 2019 @ 16:56
    Radek
    0

    Same here just started to get:

    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

    id  trashed parentID    nodeUser    level   path    sortOrder   uniqueID    text    nodeObjectType  createDate
    1032    0   -1  0   1   -1,1032 3   CC07B313-0843-4AA8-BBDA-871C8DA728C8    Image   4EA4382B-2F5A-4C2B-9587-AE9B3CF3602E    2016-07-15 13:16:34.957
    
  • Krishnan V 5 posts 75 karma points
    Oct 16, 2019 @ 16:19
    Krishnan V
    0

    Hi,

    I'm experiencing the same issue while trying to 'Courier' from Local to another environment.

    Can you share your thoughts please ?

    enter image description here

  • Krishnan V 5 posts 75 karma points
    Nov 21, 2019 @ 10:45
    Krishnan V
    0

    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.

  • Qaisar 31 posts 77 karma points
    Nov 21, 2019 @ 10:07
    Qaisar
    0

    Did you guys figured out a work around for this as i am getting the same error. any ideas ?

  • RamaSagar 3 posts 73 karma points
    Nov 11, 2022 @ 08:56
    RamaSagar
    0

    Did you guys figured out a work around for this as i am getting the same error. any ideas ?

Please Sign in or register to post replies

Write your reply to:

Draft