Skip to content

Commit 2ffb47a

Browse files
Revert "(DOCS-15274): MongoDB installs are now notarized on macOS (#1064)" (#1184)
This reverts commit d6e89bd.
1 parent d6e89bd commit 2ffb47a

File tree

4 files changed

+47
-0
lines changed

4 files changed

+47
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ref: macos-prevent-launch-mongod
2+
source:
3+
ref: _macos-prevent-launch
4+
file: extracts-macos-prevent-launch-base.yaml
5+
replacement:
6+
binary_name: ":binary:`~bin.mongod`"
7+
---
8+
ref: macos-prevent-launch-mongo
9+
source:
10+
ref: _macos-prevent-launch
11+
file: extracts-macos-prevent-launch-base.yaml
12+
replacement:
13+
binary_name: "the :binary:`~bin.mongo` shell"
14+
...
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ref: _macos-prevent-launch
2+
content: |
3+
macOS may prevent {{binary_name}} from running after installation. If
4+
you receive a security error when starting {{binary_name}}
5+
indicating that the developer could not be identified or verified,
6+
do the following to grant {{binary_name}} access to run:
7+
8+
- Open *System Preferences*
9+
- Select the *Security and Privacy* pane.
10+
- Under the *General* tab, click the button to the right of the
11+
message about {{binary_name}}, labelled either :guilabel:`Open
12+
Anyway` or :guilabel:`Allow Anyway` depending on your version of
13+
macOS.
14+
...

source/includes/steps-run-mongodb-on-osx.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ action:
7676
language: sh
7777
code: |
7878
mongod --config /usr/local/etc/mongod.conf
79+
post: |
80+
.. admonition:: macOS Prevents ``mongod`` From Opening
81+
:class: note
82+
83+
.. include:: /includes/extracts/macos-prevent-launch-mongod.rst
7984
8085
# End-for-getting-started-guide
8186
---
@@ -106,6 +111,10 @@ action:
106111
code: |
107112
mongo
108113
post: |
114+
.. admonition:: macOS Prevents ``mongo`` From Opening
115+
:class: note
116+
117+
.. include:: /includes/extracts/macos-prevent-launch-mongo.rst
109118
110119
For more information on connecting using the :binary:`~bin.mongo`
111120
shell, such as to connect to a :binary:`~bin.mongod` instance running

source/tutorial/install-mongodb-on-os-x.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@ during the install. You can add your own MongoDB
219219
:doc:`configuration options </reference/configuration-options>` to
220220
this file as well.
221221

222+
.. admonition:: macOS Prevents ``mongod`` From Opening
223+
:class: note
224+
225+
.. include:: /includes/extracts/macos-prevent-launch-mongod.rst
226+
222227
To verify that MongoDB is running, perform one of the following:
223228

224229
- If you started MongoDB **as a macOS service**:
@@ -251,6 +256,11 @@ running instance. From a new terminal, issue the following:
251256

252257
mongo
253258

259+
.. admonition:: macOS Prevents ``mongo`` From Opening
260+
:class: note
261+
262+
.. include:: /includes/extracts/macos-prevent-launch-mongo.rst
263+
254264
For information on CRUD (Create,Read,Update,Delete) operations, see:
255265

256266
- :doc:`/tutorial/insert-documents`

0 commit comments

Comments
 (0)