Giter VIP home page Giter VIP logo

elkpi's People

Contributors

presmerats avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

elkpi's Issues

Kibana error

I'm getting error at:

/opt/kibana/bin# npm install chdir=/opt/kibana
npm ERR! code ENOLOCAL
npm ERR! Could not install from "chdir=/opt/kibana" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-11-14T20_03_10_853Z-debug.log

ssh error

I was trying your script, but I got some errors...

  1. ansible must be installed, so 1st step is a sudo apt-get install ansible

  2. Clone your git: git clone https://github.com/surfuga/elkpi/

  3. Change hosts. to match your Raspberry pi's IP address

  4. I had a ssh login error:

fatal: [192.168.1.11]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Permission denied (publickey,password).\r\n", "unreachable": true}

so I had to enable ssh log-in without password and make public and private keys:
$ cd /home/pi/.ssh
$ touch authorized_keys
$ chmod 0644 ./authorized_keys
$ ssh-keygen
$ ssh-copy-id -i ./id_rsa.pub RASPBERRY's_IP_ADDRESS
type password

Now you can edit /home/pi/elkpi/vars/vars-rpi.yml to get your desired versions (6.5.1 at the writing time of this issue)

Anf finally you can run: ansible-playbook -i hosts elk-rpi.yml

npm WARN [email protected] No license field

"npm WARN [email protected] No license field.", "", "npm ERR! Maximum call stack size exceeded

from : sudo cat /root/.npm/_logs/2019-12-27T17_39_39_602Z-debug.log

....
....
5852 silly gentlyRm target.inParent =  false
5853 timing action:unbuild Completed in 2653ms
5854 verbose unlock done using /root/.npm/_locks/staging-f595f0f1e0969dea.lock f                                                                                                             or /opt/kibana-5.4.3-linux-x86_64/node_modules/.staging
5855 timing stage:rollbackFailedOptional Completed in 7ms
5856 timing stage:runTopLevelLifecycles Completed in 51051ms
5857 silly saveTree [email protected]
5858 warn [email protected] No license field.
5859 verbose stack RangeError: Maximum call stack size exceeded
5859 verbose stack     at RegExp.test (<anonymous>)
5859 verbose stack     at isDepOptional (/usr/local/lib/node_modules/npm/lib/ins                                                                                                             tall/deps.js:428:45)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:437:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5859 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/                                                                                                             install/deps.js:453:9)
5860 verbose cwd /opt/kibana-5.4.3-linux-x86_64
5861 verbose Linux 4.19.75-v7+
5862 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
5863 verbose node v12.14.0
5864 verbose npm  v6.13.4
5865 error Maximum call stack size exceeded
5866 verbose exit [ 1, true ]

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.