-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
permissions issues running pelias compose up
#30
Comments
You probably missed the creation of the two directories, including |
No, I created both /code and /data directories as in the workflow.
I tried changing ownership of both I can give you remote access if you can help me with this |
Many users are running the docker setup without issue, so I suspect there might be something unusual about your setup. What operating system are you using? are you using any non-standard OS configuration we should be aware of? What changes have you made to Please post the contents of your |
This issue #31 sounds related, your issues may be because you are running as cc/ @orangejulius |
thank you for your response. I solved the permission issue by running docker images as root and elastic search service started successfully. but now when i type command
it shows like
Why this happening? |
@ajithcofficial Apparently we're supposed to run Pelias as a non-root user, according to instructions I received in the issue I reported. I don't think you should continue your troubleshooting effort while running it as root. |
Hey folks, I just opened up #32 which adds a line to the "quickstart" script in the readme to set proper permissions. It should work out of the box for most people, whether the quickstart script is run as root or not (I suggest not). Please let me know if it helps. |
@orangejulius Will test this soon. ty |
pelias compose up
I was able to reproduce the error above from running So @ajithcofficial please try the script again running as a non-root user, and let us know how it goes. |
OS : CentOS Linux release 7.5.1804 (Core) Thank you for your responses, but still I am not able to fix this issue.
Then I reconfigured my docker for running docker command as a non-root user as specified in https://docs.docker.com/install/linux/linux-postinstall/ . After that I run the "quickstart" script and after executing few instructions it gone to a waiting state for starting elastic search. So I stopped the script, run
command and found that elastic search service is in restarting state. Again I checked the log and it shows
I was already familiar with this issue, To solve this issue i changed elastic search's host config file Then I restarted docker service and successfully started elastic search service. After that I sequentially executed the following commands and each of them taken a few second to complete and print nothing on screen.
Then I again checked status of all services and it shows,
Only elastic search and libpostal services were in up state. So I checked the log and it shows the following error messages repeatedly for all services.
I have no idea what i had done wrong? |
Hi @ajithcofficial, As I recall, CentOS is one of those few distros where the default user id is not
to confirm? If my hunch is correct, try again with the correct user id and taking the documentation section on |
userid is same as specified in .env file
|
I was trying to setup a pelias geocoding server using docker and docker-compose, I followed the guidelines in https://github.com/pelias/docker/blob/master/README.md . after downloading all the docker images i used the command
pelias compose up
to start the services and it shows likeThen I checked status of services using command
pelias compose ps
and it shows likeThen I checked the log by command
pelias compose logs
and it gives a list of errors as in the attachment.logs_output.txt
I can't trace the problem. Somebody please help
The text was updated successfully, but these errors were encountered: