Open aWZHY0yQH81uOYvH opened 1 year ago
Unfortunately I cannot understand your problem. I just installed and launched Grafana with Homebrew on macOS Ventura 13.2.1. There is no error message. The service starts and can be reached on port :3000. If I start Grafana directly, the help display comes up.
If there are no system extensions and no non-Apple firewall, then I suggest the following troubleshooting:
@aWZHY0yQH81uOYvH I was able to install and start Grafana as well with homebrew. There were a couple of pop-ups asking if I wanted to allow remote connections - I was able to reach the service in Chrome
grafana started meloriarellano ~/Library/LaunchAgents/homebrew.mxcl.grafana.plist
I'll close this issue. If you believe this is a bug, you can create a new issue and reference this one with the additional reproduction steps.
For help and support with Grafana OSS - we suggest asking the community at community.grafana.com
I can also reproduce this on darwin arm64.
uname -a
Darwin <NAME> 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 arm64 arm Darwin
I believe this is the the same bug as experienced in https://github.com/mattn/go-ieproxy/issues/35, https://github.com/Azure/azure-pipeline-go/issues/36, and https://github.com/Azure/azure-storage-azcopy/issues/1790
The issue in go-ieproxy mentions that disabling wifi and running the code seems to work. For me, disabling wifi, starting grafana, then reenabling wifi avoids the panic.
The easiest way is to run some of the tests in this repo
git checkout d072b62960daada85fde247314e575532fc8bfac
go test -count=1 github.com/grafana/grafana/pkg/api/...
gives me these same panics as in the description
next you can add this line to /go.mod
, which includes
replace github.com/mattn/go-ieproxy => github.com/mattn/go-ieproxy v0.0.5
then
go mod tidy
go mod vendor
go test -count=1 github.com/grafana/grafana/pkg/api/...
and the tests pass
I'm not really sure what's the best way to approach this.
I see that the faulty version is imported by github.com/Azure/azure-storage-blob-go/azblob, which hasn't had a release since the github.com/mattn/go-ieproxy@v0.0.5 fix. Maybe in the meantime we can pin github.com/mattn/go-ieproxy@v0.0.5 in the go.mod file?
go mod why github.com/mattn/go-ieproxy
# github.com/mattn/go-ieproxy
github.com/grafana/grafana/pkg/components/imguploader
github.com/Azure/azure-storage-blob-go/azblob
github.com/Azure/azure-pipeline-go/pipeline
github.com/mattn/go-ieproxy
This issue has the label type/works-as-intended however, it still crashes on startup when installed on apple silicon. In the meantime, Grafana 10 has been released.
Is there an update available for this issue.
This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!
This is still a problem as of Grafana 11.0.0 on amd64 Sonoma 14.5
What happened: Grafana crashes immediately when it's run after being installed using Homebrew on macOS.
What you expected to happen: Grafana to print usage, start a server, or anything other than an immediate crash.
How to reproduce it (as minimally and precisely as possible):
Environment: