Coder Social home page Coder Social logo

Comments (8)

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024 1

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.

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024 1

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.

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024

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.

micpringle avatar micpringle commented on June 15, 2024

I haven't been, no. I'll certainly try that next time there's an available upgrade 👍

from phpmon.

micpringle avatar micpringle commented on June 15, 2024

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.

micpringle avatar micpringle commented on June 15, 2024

@nicoverbruggen Yep! That build fixes the issue(s) on my system as well 🍻

from phpmon.

nicoverbruggen avatar nicoverbruggen commented on June 15, 2024

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.

micpringle avatar micpringle commented on June 15, 2024

No worries. Thanks so much for the prompt response and fix.

from phpmon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.