[SERVER-81538] `brew services list` does not display installed `mongodb-community@...` version(s) Created: 28/Sep/23  Updated: 14/Nov/23  Resolved: 14/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.0.10
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Aaron Hipple Assignee: Zack Winter
Resolution: Done Votes: 0
Labels: homebrew
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-74157 Update brew tap to use plist files ra... Closed
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

brew upgrade # ensure latest version
brew tap mongodb/brew
brew install mongodb-community@6.0
brew services list

The output of `brew services list` should contain `mongodb-community@6.0`, but it does not.

Participants:

 Description   

As of 2023-09-28, calling `brew services list` no longer prints any installed `mongodb-community@...` services.

A behavior change landed in https://github.com/Homebrew/homebrew-services/pull/588. I've filed https://github.com/Homebrew/homebrew-services/issues/590 on that repository, but it does appear that the `mongodb-community@...` formulae are not written according to Homebrew's documentation regarding services.



 Comments   
Comment by Zack Winter [ 14/Nov/23 ]

Great! Closing this out

Comment by Aaron Hipple [ 14/Nov/23 ]

zack.winter@mongodb.com yes, that issue was resolved for us after the merging of that PR in Homebrew/homebrew-services. Thanks!

Comment by Zack Winter [ 03/Oct/23 ]

It seems like this has been fixed in homebrew 4.1.14 after https://github.com/Homebrew/homebrew-services/pull/591 was merged in:

% brew services start mongodb/brew/mongodb-community@6.0
==> Successfully started `mongodb-community@6.0` (label: homebrew.mxcl.mongodb-community@6.0)
 
% brew services list                                    
Name                  Status  User        File
mongodb-community@6.0 started zack.winter ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community@6.0.plist
 
% brew --version
Homebrew 4.1.14

It sounds like we'll likely want to switch away from plists eventually, but it looks like the current setup is working with "brew service list" again.

aaron@ironcladapp.com Does this resolve the issue for you?

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