Copied to clipboard

Flag this post as spam?

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


  • Nick 95 posts 492 karma points
    Jun 28, 2023 @ 09:26
    Nick
    0

    Failed to save container with the name 'BlockList' for entity type data-type-container'

    Another day another deployment issue, I have an Umbraco 11 Cloud project which appears on the surface to be working fine. After deploying from Dev to Live the below error message appears.

    I've cloned the live environment locally and receive the same message so unable to run the site locally, any help or tips would be much appreciated as always :-)

    Umbraco.Deploy.Core.Exceptions.ProcessArtifactException: Process pass #0 failed for artifact umb://data-type-container/26e9a80a5cb34516b3b6dd8e3d527d0f.
     ---> Umbraco.Deploy.Core.Exceptions.EnvironmentException: Failed to save container with the name 'BlockList' for entity type data-type-container' with UDI 'umb://data-type-container/26e9a80a5cb34516b3b6dd8e3d527d0f'.
     ---> System.InvalidOperationException: A container with the same name already exists.
       at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.EntityContainerRepository.PersistNewItem(EntityContainer entity)
       at Umbraco.Cms.Core.Cache.NoCacheRepositoryCachePolicy`2.Create(TEntity entity, Action`1 persistNew)
       at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.EntityRepositoryBase`2.Save(TEntity entity)
       at Umbraco.Cms.Core.Services.Implement.DataTypeService.SaveContainer(EntityContainer container, Int32 userId)
       at Umbraco.Deploy.Core.Connectors.ServiceConnectors.Services.ContainerConnectorHelper.SaveContainer(String entityType, EntityContainer container)
       --- End of inner exception stack trace ---
       at Umbraco.Deploy.Core.Connectors.ServiceConnectors.Services.ContainerConnectorHelper.SaveContainer(String entityType, EntityContainer container)
       at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.ContainerConnector.Process(ArtifactDeployState`2 state, IDeployContext context, Int32 pass)
       at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.ServiceConnectorBase`3.Process(ArtifactDeployState dart, IDeployContext context, Int32 pass)
       at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable`1 arts, IDeployContext context, CancellationToken token)
       --- End of inner exception stack trace ---
       at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable`1 arts, IDeployContext context, CancellationToken token)
       at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessPackageAsync(Guid sessionId, Package package, CancellationToken token)
       at Umbraco.Deploy.Infrastructure.Work.WorkItems.DiskReadWorkItem.Proceed(List`1 artifacts, Manifest manifest)
       at Umbraco.Deploy.Infrastructure.Work.WorkItems.DiskReadWorkItem.ExecuteAsyncSub(IWorkContext context, List`1 resume, CancellationToken token)
       at Umbraco.Deploy.Infrastructure.Work.WorkItems.DiskReadWorkItem.ExecuteAsync(IWorkContext context, CancellationToken token)
    

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft