Guttenberg-Search
Guttenberg-Search copied to clipboard
Please can you help me to host Guttenberg-search on heroku?
Hi, For covid-19 https://github.com/opencovid19-fr/data, we need a search engine that can help to quickly find some volunteers who have registered themself into a googleform. As soon as I have an app, I will a manually transfert volunteers from a googlesheet file to a database. I found your app, it looks perfect (ty!) and I began to work on it. But i failed to implement on heroku. I first tried to upload a modified version I built by following step by step yours instructions(https://blog.patricktriest.com/text-search-docker-elasticsearch/), without success. Then I tried to upload the original code onto my heroku (https://devcenter.heroku.com/articles/local-development-with-docker-compose#pushing-your-containers-to-heroku), but it fails too : https://dataagainstcovid-search.herokuapp.com/ I made only 1 modification : changing 8080:80 to 80:80, in docker compose, because heroku ask for service that runs on 80 (AFAIK : https://stackoverflow.com/questions/28706180/setting-the-port-for-node-js-server-on-heroku).
I really know bad ES. Would u mind to indicate what should be done IYO to build Guttenberg-search on heroku? Thank you in advance for any help or advice.
heroku logs
2020-03-25T12:32:54.740732+00:00 app[web.1]: Elasticsearch WARNING: 2020-03-25T12:32:54Z
2020-03-25T12:32:54.740750+00:00 app[web.1]: Unable to revive connection: http://localhost:9200/
2020-03-25T12:32:54.740751+00:00 app[web.1]:
2020-03-25T12:32:54.740930+00:00 app[web.1]: Elasticsearch WARNING: 2020-03-25T12:32:54Z
2020-03-25T12:32:54.740932+00:00 app[web.1]: No living connections
2020-03-25T12:32:54.740932+00:00 app[web.1]:
2020-03-25T12:32:54.741365+00:00 app[web.1]: Server Error { Error: No Living connections
2020-03-25T12:32:54.741366+00:00 app[web.1]: at sendReqWithConnection (/usr/src/app/node_modules/elasticsearch/src/lib/transport.js:225:15)
2020-03-25T12:32:54.741367+00:00 app[web.1]: at next (/usr/src/app/node_modules/elasticsearch/src/lib/connection_pool.js:213:7)
2020-03-25T12:32:54.741368+00:00 app[web.1]: at _combinedTickCallback (internal/process/next_tick.js:132:7)
2020-03-25T12:32:54.741368+00:00 app[web.1]: at process._tickCallback (internal/process/next_tick.js:181:9)
2020-03-25T12:32:54.741369+00:00 app[web.1]: message: 'No Living connections',
2020-03-25T12:32:54.741369+00:00 app[web.1]: body: undefined,
2020-03-25T12:32:54.741369+00:00 app[web.1]: status: undefined }
On the webapp :
https://dataagainstcovid-search.herokuapp.com/search?term=java
// Internal Server Error