[MacPorts] #67148: Database cleared with upgrade from v5 to v6

MacPorts noreply at macports.org
Sat Mar 25 20:18:08 UTC 2023


#67148: Database cleared with upgrade from v5 to v6
--------------------------------+--------------------
  Reporter:  TheDigitalOrchard  |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  mongodb            |
--------------------------------+--------------------

Comment (by TheDigitalOrchard):

 UPDATE

 Running `sudo port unload mongodb` was not stopping the `mongod` process,
 which I found unusual. This is even after a complete reboot of the system.

 Manually stopping the process and then running `sudo port load mongodb'
 restarted the process, and all existing databases were available once
 again.

 I've seen this happen before. I previously had a Homebrew installation of
 MongoDB installed (due to the MacPorts version crashing), but I believe
 that I had uninstalled this HomeBrew version. Maybe it stuck around and
 that's why the database directory is different? I'll investigate that
 further.

 For now, the databases are back again, so that's good.

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


More information about the macports-tickets mailing list