Copied to clipboard

Flag this post as spam?

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


  • Mark 122 posts 255 karma points
    May 09, 2016 @ 16:02
    Mark
    0

    Problem with extracting database information for the item...

    I'm trying to transfer over my media folder using Courier 2.5.4 and I'm hitting the following error:

    There was a problem with extracting database information for the item: Name:Hero Banner Video | Id:HeroBannerVideo | Provider:Media types System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Courier.Persistence.V6.NHibernate.Helpers.ContentTypeHelper.GetPropertyGroupWithCaption(String caption, String alias, Guid nodeTypeAlias, ISession session) at Umbraco.Courier.Persistence.V6.NHibernate.Persisters.MediaTypeItem.PersistItem(MediaType item) at Umbraco.Courier.Core.ItemCrud1.PersistItem[T1](T1 item)
    at Umbraco.Courier.ItemProviders.MediaTypeItemProvider.HandleExtract(Item item) at Umbraco.Courier.Core.ItemProvider.Extract(Item item) at Umbraco.Courier.RepositoryProviders.Local.ExtractItem(Item item, Boolean overwrite) at Umbraco.Courier.RepositoryProviders.Webservices.Repository.Extract(String sessionKey, Byte[] item, ItemIdentifier itemId, Boolean overwrite, String user, String pass) --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.Extract(String sessionKey, Byte[] item, ItemIdentifier itemId, Boolean overwrite, String user, String pass) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.ExtractItem(Item item, Boolean overwrite) at Umbraco.Courier.Core.Extraction.RevisionExtraction.ExtractItem(GraphNode node, Boolean isDependency) 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)

    From this it looks like something is being referenced that no longer exists? I have gone through each of my media items (there are a lot..) and it looks to me like everything that is being linked to via various media pickers does exist. (There are only a few of the HeroBannerVideo media items, but this happens across a number of media item types).

    If not a media item that has been removed since being linked to, what else might be the issue? I can't seem to track down the offender, so any help would be appreciated, be it scripts or packages that could help identify it/them :-)

    Thanks in advance..

    Mark

  • Mark 122 posts 255 karma points
    May 12, 2016 @ 07:53
    Mark
    0

    Bumpy bump..

    Anyone have any thoughts/ideas on this one? :-)

  • Glenn 28 posts 101 karma points
    Jul 27, 2016 @ 06:30
    Glenn
    0

    Was there any update to this issue? I am having the same issue.

    2016-07-27 16:26:53,402 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Transfering pre-extraction files 2016-07-27 16:26:53,433 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Running ExtractReadyRevisionBatch 2016-07-27 16:26:53,449 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Extracting batch of 1 items 2016-07-27 16:26:53,449 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Extracting: Content Page - Umbraco.Courier.Core.DependencyGraph+GraphNode 2016-07-27 16:26:53,912 [37] WARN Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Finished ExtractItem (took 461ms) 2016-07-27 16:26:53,912 [37] WARN Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Item extraction did not complete, status returned: NeedPostProcessing 2016-07-27 16:26:53,928 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Item Content Page needs post processing 2016-07-27 16:26:53,928 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Extracting batch of 1 items 2016-07-27 16:26:53,928 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Extracting: Home - Umbraco.Courier.Core.DependencyGraph+GraphNode 2016-07-27 16:26:54,341 [37] WARN Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Finished ExtractItem (took 413ms) 2016-07-27 16:26:54,341 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Extracting batch of 1 items 2016-07-27 16:26:54,341 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Extracting: Document Home Property Data - Umbraco.Courier.Core.DependencyGraph+GraphNode 2016-07-27 16:26:54,735 [37] WARN Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Finished ExtractItem (took 403ms) 2016-07-27 16:26:54,735 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Finished ExtractReadyRevisionBatch (took 1301ms) 2016-07-27 16:26:54,735 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Completed extraction queue 2016-07-27 16:26:55,138 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Post processing 2016-07-27 16:26:55,144 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Post processing 1 items 2016-07-27 16:26:55,558 [37] WARN Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Post processing for item Content Page returned the status: NeedPostProcessing 2016-07-27 16:26:55,558 [37] WARN Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Finished PostProcessItem (took 405ms) 2016-07-27 16:26:55,558 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Finished PostProcessing (took 413ms) 2016-07-27 16:26:55,938 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Completed post processing 2016-07-27 16:26:55,938 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Committing to database 2016-07-27 16:26:56,330 [37] ERROR Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] There was a problem with extracting database information for the item: Name:Document Home Property Data | Id:126ea189-d568-44cb-b514-08adb7ada3d7 | Provider:PropertyData System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Batch update returned unexpected row count from update; actual row count: 1; expected: 2 at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.Commit(String sessionKey) at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract() 2016-07-27 16:26:56,331 [37] INFO Umbraco.Courier.Core.Extraction.RevisionExtraction - [Thread 7] Rolling back changes due to errors 2016-07-27 16:26:56,720 [37] DEBUG Umbraco.Courier.RepositoryProviders.Local - [Thread 7] Disposing: True 2016-07-27 16:26:56,720 [37] WARN Umbraco.Courier.RepositoryProviders.Local - [Thread 7] Closing session called but there is no session open: b37de82c-e73c-4dbe-813f-f2e16e486497 2016-07-27 16:26:57,114 [37] DEBUG Umbraco.Courier.Core.EventManager - [Thread 7] Unloading (count: 1) 2016-07-27 16:26:57,123 [37] ERROR Umbraco.Courier.Core.TaskManager - [Thread 7] Error ExtractionTask with id: 4cd6df69-c539-4752-a567-07be570b8632 System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Batch update returned unexpected row count from update; actual row count: 1; expected: 2 at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.Commit(String sessionKey) at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract() at Umbraco.Courier.Core.Tasks.ExtractionTask.Run() at Umbraco.Courier.Core.BackgroundTaskRunner1.ConsumeTaskInternal(T task) 2016-07-27 16:26:57,124 [37] ERROR Umbraco.Courier.Core.BackgroundTaskRunner - [Thread 7] An error occurred consuming task System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Batch update returned unexpected row count from update; actual row count: 1; expected: 2 at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.Commit(String sessionKey) at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract() at Umbraco.Courier.Core.Tasks.ExtractionTask.Run() at Umbraco.Courier.Core.BackgroundTaskRunner1.ConsumeTaskInternal(T task)

  • Paul Sterling 718 posts 1534 karma points MVP 8x admin c-trib
    Oct 26, 2016 @ 02:00
    Paul Sterling
    0

    Check for a ModelsBuilder error that will look something like:

    ERROR Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Failed to build models. System.NotSupportedException: Alias "folder" is used by types Content:"Folder", Media:"Folder". Aliases have to be unique. One of the aliases must be modified in order to use the ModelsBuilder.

    Which indicates a naming collision and could also result in the message:

    Batch update returned unexpected row count from update; actual row count: 1; expected: 2

    I've seen this on a few sites recently that have been around a while and have been updated to recent (7.3+) versions. Of course, make sure your naming does not conflict with the Umbraco reserved names.

Please Sign in or register to post replies

Write your reply to:

Draft