Comments (8)
I often forget to disable the active services myself, which is why I added Restore Homebrew Permissions in the first place. 😄
Since there's probably something wrong with the AppleScript that handles this fix (on your system specifically), I'll make a special build tonight that dumps the contents of the script so you can run it yourself, and we can get more information about what precisely goes wrong on your system.
(Right now, if AppleScript fails to execute in a native app, all you get is a single nil
, which is not exactly helpful.)
I'll ping you when that's available and include further instructions on how we can get to the bottom of this. (I'm assuming you haven't manually removed those folders yet? If you haven't removed them yet, please leave them be for now, thanks!)
from phpmon.
Yes, so this is definitely a bug I introduced in v5.7.0. I have the same issue on my work computer. I had to install a dependency earlier today and I tried to run the fix command as well.
Please give this updated build a try: phpmon.zip
This fix resolved the issue on my system, let me know if this fixes it on your system as well.
from phpmon.
Thanks for reporting @micpringle!
Do you usually stop the services prior to running brew upgrade
or running brew cleanup
? You can (usually) avoid this problem with the directories being owned by root
by turning all services off beforehand either via PHP Monitor, or via valet stop
.
I will take a look tonight and see what could be causing this, since the First Aid fix should definitely work.
from phpmon.
I haven't been, no. I'll certainly try that next time there's an available upgrade 👍
from phpmon.
I'm assuming you haven't manually removed those folders yet? If you haven't removed them yet, please leave them be for now, thanks!
It's dnsmasq
that's been upgraded this time (2.88 ~> 2.89), but no, I haven't manually deleted the files so still get the error:
❯ brew cleanup --prune=all
Removing: /opt/homebrew/Cellar/dnsmasq/2.88... (6 files, 529.1KB)
Warning: Directory not empty @ dir_s_rmdir - /opt/homebrew/Cellar/dnsmasq/2.88
==> This operation has freed approximately 529.1KB of disk space.
Error: Could not cleanup old kegs! Fix your permissions on:
/opt/homebrew/Cellar/dnsmasq/2.88
I'll keep an eye out for the script to try when you post it later. Thanks!
from phpmon.
@nicoverbruggen Yep! That build fixes the issue(s) on my system as well 🍻
from phpmon.
Great, I'll push new builds with this fix to the release and dev channel later tonight then.
Thanks again for reporting the issue! I'll close the issue when the build is live :)
from phpmon.
No worries. Thanks so much for the prompt response and fix.
from phpmon.
Related Issues (20)
- Add hover text for danger signs when values can't be read
- Sort by domains instead of absolute path HOT 2
- [Feature] Choose terminal app for "Open in Terminal" HOT 2
- Duplicated value in Domains list window HOT 4
- Statamic is not being detected correctly HOT 6
- Current helper binaries are incompatible with fish HOT 6
- [Bug] Toggling extensions in `conf.d` does not work as expected HOT 5
- [Feature] Install, remove and manage PHP extensions (per PHP version) HOT 1
- [Feature] Manual language selection HOT 5
- [Bug] Cannot install PHP 8.3 at the moment HOT 2
- [Feature] Bulk manage PHP versions HOT 4
- [Bug 6.x] PHP 8.2 is identified as version 8.3.0 (via Homebrew) HOT 7
- [Bug 7.x] Error Warning: Cannot load module "redis" when install via Extension manage HOT 5
- [Polish] Improve reliability of PHP Version Manager
- [Bug 7.x] Various UI issues w/ Extension Manager HOT 1
- [Polish] Quality of life changes for extension management HOT 1
- [Bug] PHP Extension Manager not showing any extensions on Intel Mac HOT 15
- PHPMON doesn't open after cleaning a Mac HOT 2
- [Troubleshooting] Fails to find Valet after debug install HOT 6
- [Troubleshooting] PHP 8.1 site with Xdebug causes Bad Gateway error HOT 24
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpmon.