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

# sk126912 - Upgrade from R77.30 to R80.x fails with "Import operation Failed" or "Multi-Domain Server databases - Failure" error

| Property | Value |
|----------|-------|
| Solution ID | sk126912 |
| Date Created | 2018-05-16 |
| Last Modified | 2019-05-12 |
| Technical Level | General |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * Upgrade from R77.30 to R80.x fails with error:

  ```
  
  Multi-Domain Server databases - Failure
  ===============================================
  -----------------------------------------------
  Import operation Failed.
  Please see log file /opt/CPInstLog/import_mds.[date]-112654.log for details
  ```

* The $CPDIR/log/migrate.log file shows:

  ```
  
  R80/tmp/migrate/regular_files/fwdir/tmp/ips_files" "/opt/CPsuite-R80/fw1/bin/upgrade_tools//" -m '
  [DATE TIME] [CanonicalizePath] Resulting path: '"/opt/CPsuite-R80/fw1/bin/upgrade_tools//ips_upgrade_tool" import 
  "/opt/CPmds-R80/tmp/migrate/regular_files/fwdir/tmp/ips_files" "/opt/CPsuite-R80/fw1/bin/upgrade_tools//" -m '
  [DATE TIME] ...<-- CanonicalizePath
  [DATE TIME] ...--> ExecCommandGetOutput
  [DATE TIME] [ExecCommandGetOutput] Going to execute command: '"/opt/CPsuite-R80/fw1/bin/upgrade_tools//ips_upgrade_tool" import 
  "/opt/CPmds-R80/tmp/migrate/regular_files/fwdir/tmp/ips_files" "/opt/CPsuite-R80/fw1/bin/upgrade_tools//" -m '
  [DATE TIME] [ExecCommandGetOutput] ERR: Command completed with error code 1
  [DATE TIME] ...<-- ExecCommandGetOutput
  [DATE TIME] [CommandRunner::exec] ERR: Command execution had failed
  [DATE TIME] ..<-- CommandRunner::exec
  ```

* In the /opt/CPshrd-80/log/ips_upgrade_tool.. log generated the during the upgrade, the following error are present:

  ```
  
  [ExecCommandGetOutput] Going to execute command: '"/opt/CPmds-R80/bin/sduu" -s localhost --no-decomp -t "/opt/CPmds-R80/tmp/ips" -f -y'
  [ExecCommandGetOutput] ERR: Command completed with error code 5
  ...<-- ExecCommandGetOutput
  [RunSduu] Command output:Starting update...
  Update done. 1224 seconds.
  
  [RunSduu] ERR: Failed to run package (SDUU) - exit code: 5
  [RunSduu] ERR: Output: Starting update...
  Update done. 1224 seconds.
  
  ..<-- RunSduu
  [RunPackage] ERR: Failed to run SDUU
  .<-- RunPackage
  <-- RunSMCImport
  ```

## Cause

IPS database inconsistency.

## Solution

To resolve this issue, update the IPS database manually on R77.30 Security Management server and then attempt to upgrade again.

In the case of an MDS upgrade, make sure to update the IPS on all domains and have all domains with the same IPS version.

In the case of a migration, in addition to updating the IPS database, it is needed to install a fix on the target R80.10 Server prior to the import operation.  

The fix is included in:

* [Jumbo Hotfix Accumulator for R80.10 (R80_10_jumbo_hf)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk116380) from Take 131

Check Point recommends to always upgrade to the most recent version ([upgrade Security Gateway](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=435) / [upgrade Cluster](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=428) / [upgrade Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=184) / [upgrade Multi-Domain Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=166)).

---

# 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
