Copied to clipboard

Flag this post as spam?

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


  • John Churchley 272 posts 1257 karma points c-trib
    Jul 04, 2017 @ 07:01
    John Churchley
    1

    Error in deploying exisiting site on Umbraco Cloud "A container with the same name already exists"

    I've followed the steps @ https://our.umbraco.org/documentation/Umbraco-Cloud/Deployment/Migrate-Existing-Site/

    However when I commit and push to the cloud I get the following error. It fails to build the document & media types as a result which means the schema is out of sync and I can't move forward in the deployment.

    The exist site has Umbraco Forms installed along with a number of other third party applications but I hoping it's something more simple than an issue with a third party package.

    Anyone with any ideas?

    {"Date":"2017-07-03T22:54:37.3308437+00:00","Message":"A container with the same name already exists.","Ex":{"ClassName":"System.InvalidOperationException","Message":"A container with the same name already exists.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at Umbraco.Core.Persistence.Repositories.EntityContainerRepository.PersistNewItem(EntityContainer entity)\r\n at Umbraco.Core.Cache.DefaultRepositoryCachePolicy`2.Create(TEntity entity, Action`1 persistNew)\r\n at Umbraco.Core.Cache.ScopedRepositoryCachePolicy`2.Create(TEntity entity, Action`1 persistNew)\r\n at Umbraco.Core.Persistence.Repositories.RepositoryBase`2.PersistNewItem(IEntity entity)\r\n at Umbraco.Core.Persistence.UnitOfWork.ScopeUnitOfWork.Commit(Action`1 transactionCompleting)\r\n at Umbraco.Core.Persistence.UnitOfWork.ScopeUnitOfWork.Commit()\r\n at Umbraco.Core.Services.ContentTypeService.SaveContainer(TypedEventHandler`2 savingEvent, TypedEventHandler`2 savedEvent, EntityContainer container, Guid containerObjectType, String objectTypeName, String savedEventName, Int32 userId)\r\n at Umbraco.Core.Services.ContentTypeService.SaveContentTypeContainer(EntityContainer container, Int32 userId)\r\n at Umbraco.Deploy.ServiceConnectors.ContainerConnectorHelper.SaveContainer(String entityType, EntityContainer container)\r\n at Umbraco.Deploy.ServiceConnectors.ContainerConnector.Process(ArtifactDeployState`2 state, IDeployContext context, Int32 pass)\r\n at Umbraco.Deploy.ServiceConnectors.ServiceConnectorBase`3.Process(ArtifactDeployState dart, IDeployContext context, Int32 pass)\r\n at Umbraco.Deploy.Environments.LocalUmbracoEnvironment.ProcessArtifacts(IEnumerable`1 arts, IDeployContext context)\r\n at Umbraco.Deploy.Environments.LocalUmbracoEnvironment.ProcessPackage(Guid sessionId, Package package)\r\n at Umbraco.Deploy.Environments.LocalUmbracoEnvironment.ProcessPackageAsync(Guid sessionId, Package package, CancellationToken token)\r\n at Umbraco.Deploy.WorkItems.DiskReadWorkItem.<Proceed>d__13.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Umbraco.Deploy.WorkItems.DiskReadWorkItem.<ExecuteAsync>d__12.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nPersistNewItem\nUmbraco.Core, Version=1.0.6361.21154, Culture=neutral, PublicKeyToken=null\nUmbraco.Core.Persistence.Repositories.EntityContainerRepository\nVoid PersistNewItem(Umbraco.Core.Models.EntityContainer)","HResult":-2146233079,"Source":"Umbraco.Core","WatsonBuckets":null},"Sender":"Umbraco.Deploy.WorkItems.DiskReadWorkItem"}
    
  • Sowndar M 38 posts 109 karma points
    Sep 05, 2019 @ 11:06
    Sowndar M
    0

    How did you fix this ?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies