Closed fmfernandes closed 5 months ago
@nicoverbruggen same here after today's PHPMonitor update to v 7
This may potentially be an issue with Homebrew itself, given the error messages.
I'll check if I can reproduce this issue on my system! PHP Monitor expects a certain output to be returned, and if there's an error message it can't work correctly, of course.
If anyone else is encountering this issue, please drop a note in this issue.
@fmfernandes And thank you for the very comprehensive bug report!
Nginx also cannot be started from the CLI:
brew services start nginx
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/serg/Library/LaunchAgents/homebrew.mxcl.nginx.plist` exited with 5.
brew services
nginx error 256 root ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
it's happened after PHP Monitor update
When something like this happens, I always recommend running the following to ensure all of Homebrew is up-to-date:
brew update
brew tap homebrew/services
brew upgrade
If that helped or fixed the issue, let me know.
@webcreative24 I believe the Valet services are run as root, so if you want to start the service manually, you need to start nginx with sudo brew services start nginx
. If there's really a Homebrew issue, that explains why things aren't working, though.
I tried these commands earlier today but it always says "brew is updated" so I reinstalled Brew and ran these commands again and it seems to be fixed now. Thanks for the answer @nicoverbruggen
Hey @nicoverbruggen, I also run that same commands earlier today with no luck. But seeing your message I just tried it again just now:
$ brew update
==> Updating Homebrew...
Updated 1 tap (homebrew/services).
No changes to formulae or casks.
Right after that I was able to start PHP Monitor!
Good to hear! I suspect it was a temporary Homebrew bug that was quickly fixed 😄
If it's fixed, I will now close this issue.
Is there an existing issue for this?
Current Behavior
Hi! I'm not sure when it started to happen, but today I didn't notice the little elephant in my menu bar and tried to manually start PHP Monitor just to find out it's not starting up anymore. This is the first error message:
Upon clicking on OK:
I'm pretty sure it worked fine for quite some time and not sure why it stopped working, so I'm not sure if it's a Homebrew issue or PHP Monitor's.
What's interesting is that on the first screen it says I could run
sudo brew services info nginx --json
manually to see the error, and this is the result:If I try to run just
brew update
:But if I try
sudo brew update
:The command does work without
sudo
, though:Not sure if it's relevant to the issue but if I run
brew --version
with and withoutsudo
I get different results, respectively:Homebrew >=4.1.0 (shallow or no git repository
Homebrew 4.2.16
I'm also sure I only have one copy of Homebrew installed and installed it using the script provided on https://brew.sh/
Expected Behavior
PHP Monitor should start if the output of
brew services info
orsudo brew services info
is known.Steps To Reproduce
The app won't even start if I try to launch
PHP Monitor.app
.Environment
Do you have a log file (or a screenshot) or any additional information?