vsergeyev / loudml-grafana-app

Visualization panel and datasource for Grafana to connect with Loud ML AI solution for ICT and IoT automation
https://vsergeyev.github.io/loudml-grafana-app/
MIT License
48 stars 20 forks source link

Docker installation issue #39

Closed cosmos1978 closed 3 years ago

cosmos1978 commented 3 years ago

I tried to install as described but the url mentioned in the documentation is not correct so I tried the latest zip file available 7.2

Used following docker config

  - GF_INSTALL_PLUGINS="https://github.com/vsergeyev/loudml-grafana-app/blob/master/loudml-grafana-app-1.7.2.zip;loudml-grafana-app"

But then I get this error in grafana.

panic: runtime error: invalid memory address or nil pointer dereference

[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xee8ce6]

goroutine 1 [running]:

archive/zip.(*ReadCloser).Close(...)

/usr/local/go/src/archive/zip/reader.go:153

github.com/grafana/grafana/pkg/plugins/manager/installer.(*Installer).extractFiles.func1(0x0, 0xc000695dd0)

/drone/src/pkg/plugins/manager/installer/installer.go:519 +0x26

github.com/grafana/grafana/pkg/plugins/manager/installer.(*Installer).extractFiles(0xc000695dd0, 0xc0000423d8, 0x12, 0x7fff2ff9daca, 0x15, 0x7fff2ff9daa1, 0x18, 0x0, 0x1667bc0, 0xc0000bbfb0)

/drone/src/pkg/plugins/manager/installer/installer.go:524 +0xe28

github.com/grafana/grafana/pkg/plugins/manager/installer.(*Installer).Install(0xc000695dd0, 0x1682a30, 0xc000132010, 0x7fff2ff9daca, 0x15, 0x0, 0x0, 0x7fff2ff9daa1, 0x18, 0x7fff2ff9da3b, ...)

/drone/src/pkg/plugins/manager/installer/installer.go:157 +0x9e7

github.com/grafana/grafana/pkg/cmd/grafana-cli/commands.Command.installCommand(0x167eed8, 0x219b8a8, 0x1693360, 0xc000134f88, 0xc00058f201, 0xc000134f88)

/drone/src/pkg/cmd/grafana-cli/commands/install_command.go:64 +0x2f0

github.com/grafana/grafana/pkg/cmd/grafana-cli/commands.runPluginCommand.func1(0xc0005686c0, 0x1, 0x1)

/drone/src/pkg/cmd/grafana-cli/commands/commands.go:58 +0x6e

github.com/urfave/cli/v2.(*Command).Run(0x1f6b820, 0xc000568600, 0x0, 0x0)

/root/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:163 +0x4dd

github.com/urfave/cli/v2.(*App).RunAsSubcommand(0xc00056c340, 0xc000568440, 0x0, 0x0)

/root/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:434 +0xa49

github.com/urfave/cli/v2.(*Command).startApp(0x1f6b280, 0xc000568440, 0x7fff2ff9daba, 0x7)

/root/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:278 +0x69b

github.com/urfave/cli/v2.(*Command).Run(0x1f6b280, 0xc000568440, 0x0, 0x0)

/root/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:94 +0x98d

github.com/urfave/cli/v2.(*App).RunContext(0xc00056c000, 0x1682a30, 0xc000132010, 0xc000138000, 0x8, 0x8, 0x0, 0x0)

/root/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:313 +0x810

github.com/urfave/cli/v2.(*App).Run(...)

/root/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224

main.main()

/drone/src/pkg/cmd/grafana-cli/main.go:79 +0x675