docker: Planet build import all fails
Hi,
We are trying to setup a full planet build. All steps succeed until we get to run “pelias import all” which fails with:
ERROR: Elasticsearch index pelias does not exist
You must use the pelias-schema tool (https://github.com/pelias/schema/) to create the index first
For full instructions on setting up Pelias, see http://pelias.io/install.html
/code/pelias/whosonfirst/node_modules/pelias-dbclient/src/configValidation.js:39
throw new Error(`elasticsearch index ${config.schema.indexName} does not exist`);
^
Error: elasticsearch index pelias does not exist
at existsCallback (/code/pelias/whosonfirst/node_modules/pelias-dbclient/src/configValidation.js:39:15)
at respond (/code/pelias/whosonfirst/node_modules/elasticsearch/src/lib/transport.js:368:9)
at /code/pelias/whosonfirst/node_modules/elasticsearch/src/lib/transport.js:396:7
at Timeout.<anonymous> (/code/pelias/whosonfirst/node_modules/elasticsearch/src/lib/transport.js:429:7)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
The smaller portland-metro build works find.
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 1
- Comments: 16 (3 by maintainers)
@xiaofengilove Placing an empty file in the blacklist folder named osm.txt resolved the parser errors for me.
Exactly! I’ve been struggling with this one as well! My experience:
Docker invocation for
pelias importworks foralland all other routines, EXCEPTwof.I tried
bash -x pelias import wof. This revealed the actual docker compose command. I run that right in the terminal, which works fine:Thoughts: elasticsearch URL or network is off or pelias.json is not properly mapped into
wofdocker image. None of these theories make sense since all other importer routines work fine, and in these cases I’m using mostly defaults. Nothing to override really.A corroborating data point: After having the planet sized import fail a couple dozen times with the default 2 minute timeout, I specified a timeout of 10 minutes and was able to complete the import on the first try.
pelias config:
Hi, the same error, only when importing whosonfirst data: