Comments (7)
setting data_dir permissions to 777 and running pelias as non root user seems to solve the issue
from docker.
Interesting.. the relevant error message here is Elasticsearch did not come up, check configuration
.
I hope the step pelias elastic wait
returned a non-zero status code.
@orangejulius, this user is running pelias commands as root using sudo
, I vaguely recall that has caused issues in the past?
Can you please try running the command again as a non-root user.
You should not proceed with the other commands until the elastic wait
command is successful.
from docker.
Can you please post a copy of your .env
file and the elasticsearch
section of your docker-compose.yml
file?
from docker.
Two other things to try:
- Manually check that elasticsearch is running by opening
localhost:9200
in your browser - If it's failing for a configuration reason then you can check the logs, I put a section in the readme about that.
from docker.
I suspect the issue is to do with the file ownership permissions on your elasticsearch data directory not being writable by the user you're running the script as.
from docker.
I'm closing this issue as it resolved then reported issue.
We discussed today a solution to mitigate these permission errors in the future so hopefully it's no longer an issue for anyone after we land that PR (eta next week).
from docker.
Hey @qmapDL,
The improvement in #55 should mean chmod 777
is no longer required. If you get a chance to test out that PR, let me know how it looks.
steps to test:
pelias elastic stop
to kill the elasticsearch container- rm -rf $DATA_DIR/elasticsearch to clear out the old ES data dir and ensure a clean setup for testing
pelias elastic start
. Elasticsearch should now come up, and $DATA_DIR/elasticsearch should have permissions that allow it to be read by UID 1000 (even if you ran thepelias
helper script as root)
from docker.
Related Issues (20)
- Self hosted planet build result deviation HOT 5
- Elasticsearch Container keeps restarting HOT 7
- Can't import pelias docker for Quebec HOT 7
- Planet pelias json config openaddresses HOT 9
- Crash / Abort in Node create_thread on Ubuntu 20.04 HOT 1
- Pelias openaddress import seem not working
- North America openaddresses missing data and incomplete
- Missing Address Layer HOT 3
- network pelias_default was found but has incorrect label com.docker.compose.network set to "" HOT 2
- Duplicate key `csv-importer`
- A network with name pelias_default exists but was not created by compose HOT 4
- Cant start docker folowing documentation commands HOT 6
- update TIGER download to use the 2023 data HOT 2
- Interpolation error HOT 3
- Full Planet Import only takes 300GB in Elastic Search
- How to run Pelias geocoder in docker with my own .pbf file data without external data HOT 5
- Error at import process HOT 2
- Add India Region to Pelias Docker Demo Projects
- Error During Import Process with Pelias for OSM and Other Data Sources HOT 1
- WOF not working while its container up and running HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.