-
Notifications
You must be signed in to change notification settings - Fork 49
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
not working withing docker images #10
Comments
same problem here :-/ |
that worked for me (Credits: https://stackoverflow.com/a/53405005/) |
Thanks for your hint here. but after "yarn build" i got: Test Suites: 1 passed, 1 total ✔ Compiling... |
Ok, seems to be some kind of error in between, so I recommend to redownload/pull the plugin again. |
btw I made this Dockerfile that automatically makes an image with this datasource. Also comes with a docker-compose for running grafana and mosquitto. |
That sounds great, i will try this tomorrow! |
@HimbeersaftLP As i was trying to get running with newest version 8.0.6, the streaming was not usable, because of new "Live" Settings. |
Thanks, I had the same problem but it worked for me with the files from @HimbeersaftLP @JFP-SG Can you please explain more detailed which settings you changed in the configuration? |
I have just figured it out myself. It had nothing to do with this plugin, also the Grafana example Live stream was not refreshing. |
Hello,
i'm trying to get this plugin work with Grafana 8 in docker.
I'm using the official Grafana Image Version 8.0.4 (Alpine and Ubuntu).
After installing yarn i can install and build the plugin as described.
It fails with error
"
/bin/sh: mage: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
"
But after a restart of Grafana, the plugin is there (and has to be allowed by env var, because it's not signed).
I can configure this, but while saving there is the error: plugin unavailable.
In Log i get:
t=2021-07-07T10:25:54+0000 lvl=eror msg="Plugin unavailable" logger=context userId=1 orgId=1 uname=admin error="plugin unavailable" remote_addr=XXX
So after testing Alpine Version, i downloaded the ubuntu one, but same error.
mage is not installed, but there is no package to install.
So i tried to install golang and downloaded mage, but installation throws errors:
"
root@grafana:~/mage# go run bootstrap.go
Running target: Install
exec: go env GOBIN
exec: go env GOPATH
Error: failed to create "/root/go/bin": mkdir /root/go/bin: no such file or directory
exit status 1
"
So is there a way to get this run in docker environment with the official images?
Or can you bring this as a grafana plugin?
The text was updated successfully, but these errors were encountered: