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

Error Not Found while running Elasticsearch from Kibana 6 repo #23692

Closed
sergibondarenko opened this issue Oct 2, 2018 · 4 comments
Closed
Labels
PR sent Team:Operations Team label for Operations Team

Comments

@sergibondarenko
Copy link

sergibondarenko commented Oct 2, 2018

Kibana version:
6.3.2

Elasticsearch version:
6.3.2

Server OS version:
Ubuntu 18.04.1
Linux version 4.15.0-34-generic (buildd@lgw01-amd64-047) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018

Original install method (e.g. download page, yum, from source, etc.):

git clone https://github.com/elastic/kibana.git

Describe the bug:
I executed
yarn es snapshot --license oss

And got the following error:

yarn run v1.10.1
$ node scripts/es snapshot --license oss
 info  Installing from snapshot
   │ info  version: 6.3.2
   │ info  install path: /media/trex/safe1/Development/kibana_6_3/.es/6.3.2
   │ info  license: oss
   │ info  downloading from https://snapshots.elastic.co/downloads/elasticsearch/elasticsearch-oss-6.3.2-SNAPSHOT.tar.gz
   │ERROR  Unhandled error
   │ERROR  Error: Not Found
   │           at Promise (/media/trex/safe1/Development/kibana_6_3/packages/kbn-es/src/install/snapshot.js:75:25)
   │           at new Promise ()
   │           at fetch.then.res (/media/trex/safe1/Development/kibana_6_3/packages/kbn-es/src/install/snapshot.js:65:7)
   │           at 
   │           at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

How to run Elasticsearch from the repository?

Steps to reproduce:

  1. git clone https://github.com/elastic/kibana.git
  2. cd kibana
  3. git checkout v6.3.2
  4. yarn kbn bootstrap
  5. yarn es snapshot --license oss

Expected behavior:
Elasticsearch v6.3.2 is downloaded and run.

Any additional context:
NodeJS 8.11.3
Yarn 1.10.1

@stacey-gammon stacey-gammon added Team:Operations Team label for Operations Team triage_needed labels Oct 2, 2018
@jared83
Copy link

jared83 commented Jan 10, 2019

Same here, but on macOS High Sierra.
I am following the
https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#setting-up-your-development-environment

My terminal error:

> yarn es snapshot
yarn run v1.13.0
$ node scripts/es snapshot
 info  Installing from snapshot
   │ info  version: 6.3.2
   │ info  install path: /Users/jared/Sites/UserReplay/kibana-dev/kibana/.es/6.3.2
   │ info  license: basic
   │ info  downloading from https://snapshots.elastic.co/downloads/elasticsearch/elasticsearch-6.3.2-SNAPSHOT.tar.gz
   │ERROR  Unhandled error
   │ERROR  Error: Not Found
   │           at Promise (/Users/jared/Sites/UserReplay/kibana-dev/kibana/packages/kbn-es/src/install/snapshot.js:75:25)
   │           at new Promise (<anonymous>)
   │           at fetch.then.res (/Users/jared/Sites/UserReplay/kibana-dev/kibana/packages/kbn-es/src/install/snapshot.js:65:7)
   │           at <anonymous>
   │           at process._tickCallback (internal/process/next_tick.js:188:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@jared83
Copy link

jared83 commented Jan 10, 2019

My workaround:
Downloaded
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.3.2.tar.gz

Run
yarn es archive ./elasticsearch-6.3.2.tar.gz

@jbudz
Copy link
Member

jbudz commented Feb 6, 2019

Thanks for the workaround^, that's the best approach for now. Snapshots will expire over time as they are replaced with official releases. We have docs update coming soon at #30286.

@tylersmalley
Copy link
Contributor

Closing in favor of #28657

tylersmalley added a commit that referenced this issue Feb 11, 2019
Closes #28657 #23692

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR sent Team:Operations Team label for Operations Team
Projects
None yet
Development

No branches or pull requests

5 participants