PowerProtect Cyber Recovery: Instalace se nezdaří s chybou: "Failed to connect to Mongo Database."

Summary: Tento článek popisuje, jak vyřešit chybu, kdy se aplikace Cyber Recovery nemůže připojit k databázi MongoDB během upgradu po instalaci aktualizace operačního systému Cyber Recovery.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Kontrola upgradu nástroje Cyber Recovery se nezdaří, protože se zobrazí chyba "Failed to connect to database: Připojení k databázi Mongo se nezdařilo."
cr:/tmp/Upgrade/staging # ./crsetup.sh --upgcheck
24.04.30 07_17_26 : =================================================================================================
24.04.30 07_17_26 : Cyber Recovery Pre-upgrade check.
24.04.30 07_17_26 : =================================================================================================
24.04.30 07_17_26 : Using timezone 'Europe/Dublin' for Cyber Recovery service containers...
24.04.30 07_17_26 :
24.04.30 07_17_26 : Determining the docker bridge network IP...
24.04.30 07_17_26 :
24.04.30 07_17_26 : Using IP Address 172.17.0.1 to send mail from the notifications container...
24.04.30 07_17_26 : Docker Client & Server versions .......... PASSED (Installed Docker Server (Engine) version 24.0.7 meets the minimum Docker 23.0+ requirement)
24.04.30 07_17_26 : Docker Compose version ................... PASSED (Installed Docker Compose version 2.23.3 meets the minimum Docker 2.3+ requirement)
lockbox's passphrase:

Verify CR install version................. PASSED (Installed CR version 19.14.0.2-16 is upgradeable to 19.16.0.2-10)
Verify OS support ........................ PASSED (Installed SuSE OS version 12.5 meets the minimum 12.5 requirement)
Verify CR registry service ............... PASSED (Cyber Recovery registry service is running)
Verify CR OS size requirement ............ PASSED (Cyber Recovery upgrade disk size 26 GB meets or exceeds the minimum 2 GB requirement.)


Failed to connect to database : Failed to connect to Mongo Database.


24.04.30 07_17_59 :
24.04.30 07_17_59 : Pre-upgrade software check failed.
24.04.30 07_17_59 :
Kontejner Dockeru není funkční a příkaz docker ps --all zobrazí stav MongoDB jako "Exited".
cr:/tmp/Upgrade/staging # docker ps --all
...
6539b68a2ec7   localhost:14779/cr_mongo:6.0.6                    "/bin/bash /usr/loca…"   7 months ago   Exited (0) 23 hours ago                                                           cr_mongo-auth_1
Ostatní kontejnery jsou také ve stavu "Exited".

Cause

Během instalace aktualizace operačního systému se verze dockeru aktualizovala a kontejnery dockeru vyžadují vynucené znovuvytvoření.

Resolution

Zadejte následující příkaz:
crsetup.sh --forcerecreate
Opakujte kontrolu upgradu Cyber Recovery.

Affected Products

PowerProtect Cyber Recovery
Article Properties
Article Number: 000224618
Article Type: Solution
Last Modified: 01 May 2024
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.