Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4162

Should be clear that db.upgradeCheckAllDBs() needs to run on admin db

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • v1.3.12
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      The docs page for db.upgradeCheckAllDBs() doesn't state clearly that this command must be run from the admin database. It's implied and an example given, but it is not 100% clear.

      In addition the error message output when the command is run from another database isn't documented on the manual page.

      1. We should make it clear that the command must be run from the admin database (even if there is no admin database present).
      2. We should also document this error message ("Error: db.upgradeCheckAllDBs() can only be run from the admin database") on the webpage and indicate what the resolution is.

      Ronan

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            ronan.bohan@mongodb.com Ronan Bohan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 29 weeks, 2 days ago