ecohealthalliance / grits-deploy-ansible

Ansible deployment scripts for GRITS
Apache License 2.0
0 stars 0 forks source link

Geonames import error #15

Open aslagle opened 9 years ago

aslagle commented 9 years ago

I'm getting error messages like this:

TASK: [grits-api | Import geonames database] ****** failed: [54.145.250.163] => {"failed": true, "parsed": false} invalid output was: SUDO-SUCCESS-vtbfawiczfrikzinqgzecdzadghrwvgp

The geonames database does contain the data, so I'm just manually creating .geonames.imported to skip ignoring errors on this step for now.

nathanathan commented 9 years ago

I logged into 54.145.250.163, and it looks like the geonames database contains some of the data. Running db.allCountries.find().count() returned 5501806. The same command on grits-dev returned 9772580, so there is definately some missing data. It seems likely that the command is failing part of the way through execution, perhaps due to memory limits. I could not replicate the error on grits-dev by deleting .geonames.imported and running the deploy script.

aslagle commented 9 years ago

I ran the playbook again and it seems like it succeeded - the db contains 9775474 items now.