#[Solved] Safe to delete rows in dbo.umbracoServer?

1 messages · Page 1 of 1 (latest)

heady plume
#

I am trying to import a bacpac that is a dump of a production environment.

Azure Data Studio gives me an error:

Import bacpac: Data plan execution failed with message One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Violation of PRIMARY KEY constraint 'PK_umbracoServer'. Cannot insert duplicate key in object 'dbo.umbracoServer'. The duplicate key value is (1).
The statement has been terminated.)))
One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Violation of PRIMARY KEY constraint 'PK_umbracoServer'. Cannot insert duplicate key in object 'dbo.umbracoServer'. The duplicate key value is (1).
The statement has been terminated.)))

Is it safe to "clear" this table of data to avoid this duplicate key before doing the export/import?

frigid locust
#

Yes. From my observations, this table seems like it should be used for multi-instance deployments (i.e. "load balanced Umbraco installations" according to the docs) but I've never seen it populated with anything useful. Looking at our production databases, it contains developer workstation names and other random stuff.

austere sandal
heady plume
#

Thanks, good to know

frigid locust
austere sandal
#

But it also depends on your load balance config as to whether this table is actually being used, hard to tell as there are many variables in play.