Skip to content
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

Issues with exporter using docker on Raspberry Pi #72

Open
creimer808 opened this issue Feb 1, 2021 · 5 comments
Open

Issues with exporter using docker on Raspberry Pi #72

creimer808 opened this issue Feb 1, 2021 · 5 comments

Comments

@creimer808
Copy link

Hello!

I tried to use docker exporter version 0.0.10 and I get this issue:

2021/02/01 00:13:55 Unable to unmarshal PI-Hole statistics to statistics struct model invalid character '<' looking for beginning of value
2021/02/01 00:13:55 New tick of statistics: 0 ads blocked / 0 total DNS queries

when I try to use the exporter arm64 version I get this issue:

standard_init_linux.go:219: exec user process caused: exec format error,

I've only had issues with this on my raspberry pi but everything seems to work my old server at home using the amd64 version. Any fix on this? I really love this application and setting up multiple exporters to have cool grafana dashboards but this has been my only hiccup! Thanks for the help!

@limpep
Copy link

limpep commented Feb 12, 2021

I am having the same issue with latest.

@wbollock
Copy link

wbollock commented Feb 21, 2021

Same here!

standard_init_linux.go:219: exec user process caused: exec format error

after docker run.

Tried these tags just for troubleshooting:

  • latest
  • arm64
  • arm
  • amd64
  • arm32
[wbollock@asimov]~❯ arch
armv7l

[wbollock@asimov]~❯ uname -a
Linux asimov 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

The provided ARM binary does work, however.

@limpep
Copy link

limpep commented Feb 22, 2021

I builded the image myself on a raspberry 4. Just changed the ARG ARCH= in the Dockerfile to armv7l and ran

docker build -t pihole-export .

then in the compose file I set the image to that image image: pihole-export and it worked.

@derfel1989
Copy link

derfel1989 commented Aug 15, 2021

I builded the image myself on a raspberry 4. Just changed the ARG ARCH= in the Dockerfile to armv7l and ranimage>
docker build -t pihole-export .

then in the compose file I set the image to that image image: pihole-export and it worked.

I did the same, but without success.

image

image

Is there any idea to help?
Tks.

@FirzenYogesh
Copy link

Hi @derfel1989 I am not sure if you have found solution to the issue. Probably this will help the one's who are looking for a solution.
It seem to be due to older libseccomp2 version, upgrading the version helps with the build.
I upgraded to version 2.5.1-1~bpo10+1, which allowed me to build.

Please check out this comment, for reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants