DomT4 / homebrew-autoupdate

:tropical_drink: An easy, convenient way to automatically update Homebrew.
BSD 2-Clause "Simplified" License
987 stars 54 forks source link

Notifications not working macOS Monterey #79

Closed jarrettgilliam closed 2 years ago

jarrettgilliam commented 2 years ago

I'm trying to enable homebrew update notifications on my new mac but I get "Unknown error: 153" in the log and no notification.

Here's the start command I'm using

brew autoupdate start --enable-notification --immediate

Here are the contents of log file ~/Library/Logs/com.github.domt4.homebrew-autoupdate/com.github.domt4.homebrew-autoupdate.out

Thu Dec  2 09:28:53 CST 2021
Already up-to-date.
The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x6000030a2070 {Error Domain=NSPOSIXErrorDomain Code=153 "Unknown error: 153" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}

Any ideas why this error is happening?

Thanks!

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

jarrettgilliam commented 2 years ago

This is still an issue for me

jarrettgilliam commented 2 years ago

Temporary fix:

  1. Delete brew-autoupdate.app from /opt/homebrew/Library/Taps/homebrew/homebrew-autoupdate/notifier
  2. Clone this repo
  3. Copy the repo version of brew-autoupdate.app into /opt/homebrew/Library/Taps/homebrew/homebrew-autoupdate/notifier
github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.