I'm fairly new to Umbraco Cloud, wondered if anybody could help me with any issue. I'm building an Umbraco site on my local machine using Visual Studio, and pushing changes to my Cloud dev environment, the site seems to run ok, btu receive an error message such as below:
"Date": "2023-02-08T14:25:32.2006301+00:00",
"Message": "Failed to save container with the name 'NestedContents' for entity type data-type-container' with UDI 'umb://data-type-container/10ba8c950c8f4fa0b89efe36caa700ae'.",
"Ex": {
"EnvironmentName": "source",
"HasMeaningForUi": false,
"Message": "Failed to save container with the name 'NestedContents' for entity type data-type-container' with UDI 'umb://data-type-container/10ba8c950c8f4fa0b89efe36caa700ae'.",
"Data": {},
"InnerException": {
"ClassName": "System.InvalidOperationException",
"Message": "A container with the same name already exists.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.EntityContainerRepository.PersistNewItem(EntityContainer entity)\r\n at Umbraco.Cms.Core.Cache.NoCacheRepositoryCachePolicy2.Create(TEntity entity, Action1 persistNew)\r\n at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.EntityRepositoryBase2.Save(TEntity entity)\r\n at Umbraco.Cms.Core.Services.Implement.DataTypeService.SaveContainer(EntityContainer container, Int32 userId)\r\n at Umbraco.Deploy.Core.Connectors.ServiceConnectors.Services.ContainerConnectorHelper.SaveContainer(String entityType, EntityContainer container)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": "Umbraco.Infrastructure",
"WatsonBuckets": null
},
"HelpLink": null,
"Source": "Umbraco.Deploy.Core",
"HResult": -2146233088,
"StackTrace": " at Umbraco.Deploy.Core.Connectors.ServiceConnectors.Services.ContainerConnectorHelper.SaveContainer(String entityType, EntityContainer container)\r\n at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.ContainerConnector.Process(ArtifactDeployState2 state, IDeployContext context, Int32 pass)\r\n at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.ServiceConnectorBase3.Process(ArtifactDeployState dart, IDeployContext context, Int32 pass)\r\n at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable1 arts, IDeployContext context, CancellationToken token)"
},
"Sender": "Umbraco.Deploy.Infrastructure.Work.WorkItems.DiskReadWorkItem"
Could anybody help me solving the issue, it's regarding a dupicated Nested Contents folder which I created within Doc types, but as you can see I only have 1 folder, any help would be much appreciated
Umbraco Cloud - Local to Dev Environment error
Hi,
I'm fairly new to Umbraco Cloud, wondered if anybody could help me with any issue. I'm building an Umbraco site on my local machine using Visual Studio, and pushing changes to my Cloud dev environment, the site seems to run ok, btu receive an error message such as below:
"Message": "Failed to save container with the name 'NestedContents' for entity type data-type-container' with UDI 'umb://data-type-container/10ba8c950c8f4fa0b89efe36caa700ae'.", "Ex": { "EnvironmentName": "source", "HasMeaningForUi": false, "Message": "Failed to save container with the name 'NestedContents' for entity type data-type-container' with UDI 'umb://data-type-container/10ba8c950c8f4fa0b89efe36caa700ae'.", "Data": {}, "InnerException": { "ClassName": "System.InvalidOperationException", "Message": "A container with the same name already exists.", "Data": null, "InnerException": null, "HelpURL": null, "StackTraceString": " at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.EntityContainerRepository.PersistNewItem(EntityContainer entity)\r\n at Umbraco.Cms.Core.Cache.NoCacheRepositoryCachePolicy
2.Create(TEntity entity, Action
1 persistNew)\r\n at Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement.EntityRepositoryBase2.Save(TEntity entity)\r\n at Umbraco.Cms.Core.Services.Implement.DataTypeService.SaveContainer(EntityContainer container, Int32 userId)\r\n at Umbraco.Deploy.Core.Connectors.ServiceConnectors.Services.ContainerConnectorHelper.SaveContainer(String entityType, EntityContainer container)", "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": -2146233079, "Source": "Umbraco.Infrastructure", "WatsonBuckets": null }, "HelpLink": null, "Source": "Umbraco.Deploy.Core", "HResult": -2146233088, "StackTrace": " at Umbraco.Deploy.Core.Connectors.ServiceConnectors.Services.ContainerConnectorHelper.SaveContainer(String entityType, EntityContainer container)\r\n at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.ContainerConnector.Process(ArtifactDeployState
2 state, IDeployContext context, Int32 pass)\r\n at Umbraco.Deploy.Infrastructure.Connectors.ServiceConnectors.ServiceConnectorBase3.Process(ArtifactDeployState dart, IDeployContext context, Int32 pass)\r\n at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable
1 arts, IDeployContext context, CancellationToken token)" }, "Sender": "Umbraco.Deploy.Infrastructure.Work.WorkItems.DiskReadWorkItem"Could anybody help me solving the issue, it's regarding a dupicated Nested Contents folder which I created within Doc types, but as you can see I only have 1 folder, any help would be much appreciated
Kind regards Nick
Managed to solve the issue using the solution within this post https://our.umbraco.com/forum/umbraco-cloud/86690-error-in-deploying-exisiting-site-on-umbraco-cloud-a-container-with-the-same-name-already-exists
is working on a reply...