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

mongodump will not work according to docs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Blocked
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 4.4.0
    • Fix Version/s: None
    • Component/s: manual, Server
    • Labels:
    • Environment:
      macos 10.15.6
    • # Replies:
      16
    • Last comment by Customer:
      true
    • Story Points:
      2
    • Sprint:
      ServerDocs2020: Sep21 - Sep28, ServerDocs2020: Sep28 - Oct5, ServerDocs2020: Oct5 - Oct12, ServerDocs2020: Oct13 - Oct19, ServerDocs2020: Oct20 - Oct27

      Description

      Description

      I tried to follow mongodb docs and tried to make a dump of the local mongodb database with no authentication enabled. Compass connects just fine with no parameters

      But when I try running

      mongodump

      it results in the following error message:

      Failed: error creating intents to dump: error getting database names: (Unauthorized) there are no users authenticated
      

      The problem is: I don't have authentication mode enabled.

      This is either an error on mongodump side (authentication is disabled, and mongodump checks against authenticated users anyways) or a documentation mistake (auth is required for mongodump, which means "mongodump" command example is invalid).

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

        1. log.txt
          4 kB
        2. mongodump_auth_troubleshooting
          5 kB
        3. mongodump_auth_troubleshooting_4.4.1
          4 kB

          Issue Links

            Activity

              People

              Assignee:
              andrew.feierabend Andrew Feierabend
              Reporter:
              yurii.p@masterborn.com Yurii Predborskyii
              Participants:
              Last commenter:
              Andrew Feierabend
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Days since reply:
                2 days ago
                Date of 1st Reply: