- I deployed my app to vps.
- Started Elasticsearch, and checked it with
ps aux | grep elasticsearch
cd app/currect
&&RAILS_ENV=production bin/rails c
-
User.import
Output:
Scoped order and limit are ignored, it's forced to be batch order and batch size User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 10 Faraday::ConnectionFailed: connection refused: localhost:9200
-
Elasticsearch stopped and import doesn't work, why ?
I am using Ubuntu 14, Puma server, SQLite database. Does it matter?
Additional notes:
http://ift.tt/1P3OOuv
- gemfile.lock from project
http://ift.tt/1IVORti
- elasticsearch config
http://ift.tt/1P3OOux
- elasticsearch log
Before User.import
ps aux | grep elasticsearch
shows elasticsearch process
After User.import ps aux | grep elasticsearch
doesn't show process
How to check if elasticsearch uses 9200 port ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire