phpmon: Cannot determine services status
Hi!
I just installed PHPMon and this error message appears. I checked the installation of Brew, Valet, PHP etc and also tested the JSON (see screenshot) as well as Brew’s working_dir.
PHP Monitor usually queries
brewusing the following command to test if the services can be retrieved:sudo brew services info nginx --json.PHP Monitor could not interpret this response.
To Reproduce Juste start the app from Alfred
Screenshots


Required information
- Did you consult the FAQ in the README? yes
- Did you try “Fix My Valet”? no
- OS: macOS Monterey 12.2.1
- PHP Monitor version: 5.1
Thanks in advance!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 32 (15 by maintainers)
Commits related to this issue
- 🐛 Adjust the order of startup checks (#146) — committed to nicoverbruggen/phpmon by nicoverbruggen 2 years ago
- 📝 Annotate environment checks (#146) — committed to nicoverbruggen/phpmon by nicoverbruggen 2 years ago
@niladam
As you noted, PHP Monitor cannot invoke
brewandvaletcommands if the password prompts are present. It is for this reason that I require you to runvalet trust.Make sure that you can run
sudo brewandsudo valetcommands in your terminal without password entry, and this should work. I recommend running:and trying again. If you’re still seeing password prompts, something’s wrong (and maybe with Valet?). In that case, please let me know the following information:
cat /private/etc/sudoers.d/valetcat /private/etc/sudoers.d/brewMaybe with that info I can help you further! Thanks! (Please tag me in future responses as well, thanks!)