Open jeremy-rutman opened 5 years ago
a second round of
pelias download all
pelias prepare all
pelias import all
seems to have taken care of it. I may have run out of disk space, the readme could estimate required space at 20gb (mainly wof, it seems - i guess that can't be downloaded piecemeal )
I again ran into the same type error,
info: [whosonfirst] Loading whosonfirst-data-postalcode-by-latest.csv records from /data/whosonfirst/meta
info: [whosonfirst] Loading whosonfirst-data-postalcode-ca-latest.csv records from /data/whosonfirst/meta
events.js:167
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, open '/data/whosonfirst/meta/whosonfirst-data-postalcode-ca-latest.csv'
Emitted 'error' event at:
at lazyFs.open (internal/fs/streams.js:115:12)
at FSReqWrap.oncomplete (fs.js:141:20)
deploy@server01:/mnt/docker/projects/planet$
This error is more serious when doing planet as then youŕe looking potentially at a week down the drain. I would try to tackle it myself if I can get some pointers
after a day of wrangling i thought i was finally home free - all steps in the docker example up till and including
download all
,prepare all
had run successfully, but now:should a missing data file really trigger a crash? anyway perhaps the problem is what appears to be an incorrect absolute path? data is a subdir of my working dir, so /data doesn't exist except maybe in the docker filesystem.
My DATA_DIR is /home/jeremy/pelias_dock/docker/projects/portland-metro/data , the dir exists and is writable. Maybe the use of /data got hardcoded somewhere? I see its used in the shell script example...