[MacPorts] #63285: mongodb does not start as installed

MacPorts noreply at macports.org
Fri Jul 23 20:59:26 UTC 2021


#63285: mongodb does not start as installed
----------------------+------------------------
  Reporter:  jwoehr   |      Owner:  ryandesign
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.1
Resolution:           |   Keywords:
      Port:  mongodb  |
----------------------+------------------------

Comment (by jwoehr):

 **INVALID**
 ... Apologies ... Reading /opt/local/var/log/mongodb/mongodb.log I
 determined mongod was choking on a backlevel database.
 - I deleted the /opt/local/var/db/mongodb
 - Recreated the directory and chown'ed it to _mongo:_mongo
 - sudo port load mongodb now works

 Not sure if the manual step of creating the configuration was valid and
 that the created config is actually the one being used.
 - Suggest some build-time message for the user informing the user where
 the config file should reside.
 - Suggest some build-time message alerting user that db might have to be
 recreated.

 Thank you for your help.

-- 
Ticket URL: <https://trac.macports.org/ticket/63285#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list