[DOCS-4162] Should be clear that db.upgradeCheckAllDBs() needs to run on admin db Created: 10/Oct/14  Updated: 13/Oct/14  Resolved: 13/Oct/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.12

Type: Improvement Priority: Minor - P4
Reporter: Ronan Bohan Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 9 years, 18 weeks, 2 days ago

 Description   

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



 Comments   
Comment by Githook User [ 13/Oct/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4162 adding additional operation
Branch: master
https://github.com/mongodb/docs/commit/11eafaccfc047e6cdb8eebb51996e9b6571106dd

Generated at Thu Feb 08 07:47:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.