Grafana building from source error (undefined: server.Initialize)

Good Morning,

I’ve been trying to modify Grafana for 3 days and doing a build again.

I have modified the LoginPage to put my company name just below the Grafana logo. But there is no way to recompile the code.

I have a windows and I have followed this tutorial: Installation - Building from source - 《Grafana v6.2 Documentation》 - 书栈网 · BookStack. But when I do: go run build.go setup it gives me this error:

$ go run build.go setup
Version: 8.3.0, Linux Version: 8.3.0, Package Iteration: 1634138282pre
go install -v -buildmode=exe ./pkg/cmd/grafana-server
pkg\cmd\grafana-server\commands\cli.go:168:12: undefined: server.Initialize
exit status 2
exit status 1
1 Like

are you still hitting this error, @andreuserrasastre

I am having a similar issue with:

go run build.go build

created an issue here: Build: go backend build fails on windows · Issue #40839 · grafana/grafana · GitHub