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

[Server] Remove default dbpath when starting mongodb on macOS

      Description

      Downstream Change Summary

      We are removing the default dbpath for macOS:

      • strongly encourage the desired behaviour (use a packaged install) via docs
      • also inform users about the option of creating and specifying a dbpath via docs (eg using a path in their home directory)

      Description of Linked Ticket

      macOS Catalina runs in a dedicated, read-only system volume. Consequently, the default dbpath of "/data/db" is not writeable. This issue is discussed in more detail in https://stackoverflow.com/questions/58283257/mongodb-cant-find-data-directory-after-upgrading-to-mac-os-10-15-catalina

      Since this default will not work on Catalina and later, we should remove the default dbPath for macOS.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

            Assignee:
            alison.huh@mongodb.com Alison Huh
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 24 weeks, 3 days ago