> Source: [sk136092](https://support.checkpoint.com/results/sk/sk136092)

# sk136092 - cma_migrate of R77.30 Security Management server to R80.10 Multi-Domain Management fails

| Property | Value |
|----------|-------|
| Solution ID | sk136092 |
| Date Created | 2018-09-11 |
| Last Modified | 2019-01-29 |
| Technical Level | Advanced |
| Products | Multi-Domain Security Management Server |
| Versions | R82.10, R81.20, R82, R82.20 |
| OS | Gaia |

## Symptoms

- cma_migrate of R77.30 Security Management server to R80.10 Multi-Domain Management fails.   

Caused by: org.postgresql.util.PSQLException:   
ERROR: Trying to insert a record with UID which already exists in database (probably in different domain), objid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

## Cause

There is a mismatch and the *domain_uids_xxxxxx.fwset* files do not exist on the Multi-Domain Management that is receiving the *cma_migrate*

**Example**

Primary

`
`

`[Primarymds1:0]# ls -lah domain_u*`
`
`-rw-rw---- 1 admin root 99K Jun 15 06:05 domain_uids_1e294ce0-367a-11e3-aa6e-0800200c9a66.fwset  
-rw-rw---- 1 admin root 534K Jun 15 06:36 domain_uids_592b19d9-e5ed-bc45-90a1-73397e51f8cc.fwset  
-rw-rw---- 1 admin root 109K Jun 15 06:18 domain_uids_75308dea-a179-d04f-88e4-0f7b316fd0a5.fwset  
-rw-rw---- 1 admin root 79K Jun 15 06:27 domain_uids_f2187dd7-b399-3746-ba0d-ba8e65b7f8bf.fwset
`
`

<br />

Secondary

` `

`[Secondarymds1:0]# ls -lah domain_u* -rw-rw---- 1 admin root 1.4M Sep 4 09:32`

`
`

`-rw-rw---- 1 admin root 99K Jun 15 06:05 domain_uids_1e294ce0-367a-11e3-aa6e-0800200c9a66.fwset`  
`-rw-rw---- 1 admin root 128K Jun 15 10:21 domain_uids_287a355f-fec9-4203-8306-f640cbb74028.fwset`  
`-rw-rw---- 1 admin root 124K Jun 15 10:46 domain_uids_2c206a0e-9c37-40cd-9172-ea2fb57aff06.fwset`  
`-rw-rw---- 1 admin root 164K Jun 15 10:54 domain_uids_4e4b2408-c136-476c-b538-1f5ce119a6f7.fwset`  
`-rw-rw---- 1 admin root 652K Jun 15 10:29 domain_uids_504e3bc8-e869-48c6-a3d9-589d61f9ff6a.fwset`  
`-rw-rw---- 1 admin root 534K Jun 15 06:36 domain_uids_592b19d9-e5ed-bc45-90a1-73397e51f8cc.fwset`  
`-rw-rw---- 1 admin root 241K Jun 15 10:02 domain_uids_6305d8f5-c48c-4637-b08e-8dd4c5196032.fwset`  
`-rw-rw---- 1 admin root 284K Jun 15 09:57 domain_uids_65a814c2-3b4c-49c9-b314-8cc97e86cf94.fwset`  
`-rw-rw---- 1 admin root 109K Jun 15 06:18 domain_uids_75308dea-a179-d04f-88e4-0f7b316fd0a5.fwset`  
`-rw-rw---- 1 admin root 255K Jun 15 10:11 domain_uids_8e24b26a-2476-4399-88c0-13553782473e.fwset`  
`-rw-rw---- 1 admin root 79K Jun 15 06:27 domain_uids_f2187dd7-b399-3746-ba0d-ba8e65b7f8bf.fwset`  
`-rw-rw---- 1 admin root 274K Jun 15 10:40 domain_uids_fd7dd026-6ecc-4276-9725-f03d155cb700.fwset`
`
`

<br />

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
