Navigation

mongocli ops-manager versionManifest update

The versionManifest update command downloads and updates the version manifest for the specified version from MongoDB. You can also update the version manifest through the Ops Manager UI or API.

mongocli ops-manager|om versionManifest|versionmanifest|version-manifest update <version>
[ --output|-o <output-format> ]
[ --profile|-P <profile-name> ]
Note

Use -h or --help to view the command-line help for this command.

Argument
Type
Description
Required?
<version>
string

MongoDB version manifest to update. Valid values are:

  • 4.0
  • 4.2
  • 4.4
yes
Option
Type
Description
Required?
--output, -o
string

Command output format. Valid values are:

  • json for output in JSON format
  • go-template for custom output using the Go template
  • go-template-file for custom output specified using the Go template file

If omitted, the command returns output in the default format.

no
--profile, -P
string
Name of the profile where the public and private keys for accessing Ops Manager are saved. If omitted, uses the default profile. To learn more about creating a profile, see Configure the MongoDB CLI.
no

If the command succeeds, it returns the following message in the default format. If the command returns errors, see Troubleshooting for recommended solutions.

Version manifest updated.

If you request output in JSON format, the command returns the fields described in the API reference.

The following mongocli om versionManifest command upgrades the MongoDB instances to v4.4. The command uses the default profile to access the Ops Manager deployment.

mongocli om versionManifest update 4.4

The previous command returns the following:

Version manifest updated.
Give Feedback