[SERVER-84327] mongodb/brew/mongodb-community formula throws undefined method `plist_startup' after upgrading to Brew 4.2 Created: 20/Dec/23  Updated: 31/Dec/23  Resolved: 20/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: pan93412 N/A Assignee: Daniel Moody
Resolution: Fixed Votes: 0
Labels: Bug
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-12-20-11-02-53-527.png    
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

Run brew services start mongodb/brew/mongodb-community on Homebrew 4.2.

Participants:

 Description   

Homebrew 4.2.0 seems deprecated the old way to load plist, and therefore introduces the failure of brew services start mongodb/brew/mongodb-community.

The full error message is here:



 Comments   
Comment by Daniel Moody [ 20/Dec/23 ]

Merged: https://github.com/mongodb/homebrew-brew/commit/2d0bfe19214d1f5071decd238b29306a6e82fff2

Comment by Daniel Moody [ 20/Dec/23 ]

PR to fix this has been created: https://github.com/mongodb/homebrew-brew/pull/203

Comment by pan93412 N/A [ 20/Dec/23 ]

This issue has also reported by numerous users:

https://www.mongodb.com/community/forums/t/undefined-method-plist-startup-for-formula-mongodb-community/258221

https://stackoverflow.com/questions/77659527/mongodb-via-brew-services-undefined-method-plist-startup

https://github.com/Homebrew/homebrew-services/issues/607

 

Generated at Thu Feb 08 06:54:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.