-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OverSight hangs on install #32364
Comments
I can reproduce this. I didn't even notice when I was testing this in a VM. 😧 @vitorgalvao I've tried installing BlockBlock and RansomWhere, they both work fine. Running the OverSight install in a shell script without HBC also works fine. I'm not sure what is causing this. Do you want a PR to revert back to |
@commitay This looks like a bug in the core, so we should instead try to figure out the cause and fix it. |
I don't know if you already noticed this, but, when I install it using HBC, Oversight starts up straight away (just as it does with a manual CLI install), as the icon appears in the top bar, but of course it hangs. If I then click on it and press Quit, HBC immediately says |
I just re-read this, @vitorgalvao, so basically my fix wasn't a fix, since this is was simply caused by a GUI app blocking the terminal. But why does it not block when running stand-alone? |
@reitermarkus Not necessarily the GUI app doing the blocking. Oversight starts automatically on install, wether from HBC or not. It might be something like: install → start GUI → do tasks (cleanup?) → finish install. Then step four (finish install) waits for step three (do tasks (cleanup?)) before firing, but since step three never ends (HBC’s fault?), step four never happens. Then maybe when the GUI app exits it always makes the same checks as step three (hence why they might be cleanup related) and in this case step four is interpreting them as coming from the install script, when in fact they happened for another reason. |
I don't know if it helps you guys fix this but I found out that while the install via brew cask for this hangs, open the gui of oversight and deactivate "headless mode" and the installation will continue successfully. I don`t know if it can be triggered in headless mode from the beginning or if there is another workaround for this. Hope that helps. |
Any news? |
Travis log for
|
I'm not sure if anybody is working on the underlying issue, but 🙏 . I'd contribute if I knew what I was doing in here |
@rpearce Nobody is working on this, hence the |
@vitorgalvao @rpearce I think that this might be an issue when running from a non-bash process. For the meantime we can add a caveat warning about this. |
Thanks for the warning PR! Will be helpful to folks in the future 💯 |
Homebrew 3.1.7 has been released with a fix for this. Let me know if it works for anyone else - we can probably remove the caveat if it works for everyone. |
After OverSight is updated to 2.0.0 (#105639), we can probably close this issue if no one is seeing the problem anymore when update is sent to users. |
General troubleshooting steps
brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
OverSight has just been updated to use the new CLI install method.
However,
brew cask install oversight
hangs. The installation is performed correctly, but it just hangs on the last message.brew cask uninstall oversight
works fine, though, as does running the install command without HBC.Output of
brew cask install oversight --verbose --debug
Then it stays there, hanged.
Output of
brew cask doctor
The text was updated successfully, but these errors were encountered: