Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46398

Suggest explicit dbpath when starting mongod on macOS and the default dbpath isn't found

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4, v4.2, v4.0, v3.6
    • Sprint:
      Execution Team 2020-05-04
    • Linked BF Score:
      0

      Description

      macOS Catalina runs in a dedicated, read-only system volume. Consequently, the default dbpath of "/data/db" is not able to be created. 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 suggest an explicit dbpath be specified when starting mongod on macOS.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregory.wlodarek Gregory Wlodarek
              Reporter:
              kelsey.schubert Kelsey T Schubert
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: