Git Product home page Git Product logo

Comments (6)

pricesgoingup avatar pricesgoingup commented on August 11, 2024

Yeah, same issue here... can't figure out a way around it.

EDIT: this works.

A better solution is to create a GeoLite account, find your LICENCE KEY under "My Licence Key" menu voice on the left and then use that key for the permalink you can obtain in the download page.
Use the permalink in the Docker/graylog/getGet.sh file (remember to put quotes around the url) and it should work.

from pfsense-analytics.

wintrmte avatar wintrmte commented on August 11, 2024

This doesn't seem to have anything to do with the original post, the error is happening as a result of the /bin/sh -c mkdir -pv command..

I'm pretty sure this is because the RPI is an arm based device and not an x86 device.. Will have to dig more, but it seems like it is an architecture issue.

Yeah, same issue here... can't figure out a way around it.

EDIT: this works.

A better solution is to create a GeoLite account, find your LICENCE KEY under "My Licence Key" menu voice on the left and then use that key for the permalink you can obtain in the download page.
Use the permalink in the Docker/graylog/getGet.sh file (remember to put quotes around the url) and it should work.

from pfsense-analytics.

pricesgoingup avatar pricesgoingup commented on August 11, 2024

This doesn't seem to have anything to do with the original post, the error is happening as a result of the /bin/sh -c mkdir -pv command..

I'm pretty sure this is because the RPI is an arm based device and not an x86 device.. Will have to dig more, but it seems like it is an architecture issue.

Yeah, same issue here... can't figure out a way around it.
EDIT: this works.
A better solution is to create a GeoLite account, find your LICENCE KEY under "My Licence Key" menu voice on the left and then use that key for the permalink you can obtain in the download page.
Use the permalink in the Docker/graylog/getGet.sh file (remember to put quotes around the url) and it should work.

Actually someone else commented what I quoted in the thread and it worked, till I ran into other issues and had to make edits in the getGet.sh file to make it actually work... I wasn't running it on arm at all, I was running it on ubuntu 20.04 server amd64 ESXi 7.0

from pfsense-analytics.

super-pilot-alt avatar super-pilot-alt commented on August 11, 2024

For anyone else that may stumble upon this and want to get this working on a Raspberry Pi. I made all my changes to get this working on a RPI 4 4GB working here.

from pfsense-analytics.

christiansenandi avatar christiansenandi commented on August 11, 2024

UPDATE:

I fixed it by editing Docker/graylog/getGet.sh:
curl --output /etc/graylog/server/mm.tar.gz 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=<license_key>&suffix=tar.gz'


I have this issue on a VM inside ESXi on a 3650M4 system running Ubuntu 20.04.1 LTS:

Static hostname: grafana
Icon name: computer-vm
Chassis: vm
Virtualization: vmware
Operating System: Ubuntu 20.04.1 LTS
Kernel: Linux 5.4.0-54-generic
Architecture: x86-64

Step 5/6 : RUN chmod +x /etc/graylog/server/getGeo.sh && /etc/graylog/server/getGeo.sh
---> Running in d79fccad7831
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: geolite.maxmind.com
tar (child): /etc/graylog/server/mm.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
ERROR: Service 'graylog' failed to build: The command '/bin/sh -c chmod +x /etc/graylog/server/getGeo.sh && /etc/graylog/server/getGeo.sh' returned a non-zero code: 2

any help would be appreciated 👍

Thanks!
Andi

from pfsense-analytics.

lephisto avatar lephisto commented on August 11, 2024

The Issue with the changed Url / License stuff is resolved in the GL4 release.

from pfsense-analytics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.