-
Notifications
You must be signed in to change notification settings - Fork 18
Test Pelias vagrant setup on Windows #11
Comments
I'm doing this atm. |
I'm currently attempting this
It seems to get through the vast bulk of the process although I do run into an error around the elasticsearch plugin install analysis-icu
I was able to manually install the missing dependency on the box and then rerun the provisioning and all worked fine. Im also not sure if this is just a general issue with the repo or something windows specific. On another note thanks for open-sourcing Pelias, it's a fantastic piece of work! |
I am trying this and get the same error. I know nothing abut Linux, sudo etc. How do I "manually install the missing dependency on the box and then rerun the provisioning "? i.e. sudo /usr/local/elasticsearch/bin/plugin install analysis-icu I can see the Virtual Box VM running but if I open it and tap in it I get a login prompt and have to provide a username and password, which I do not know. And If I did get there and entered the above command, how would I next rerun the provisioning? The only command I issued to start the whole process created the VM so I expect rerunning it will replace the VM in which I just issued the sudo command. |
So the username & password should be 'vagrant' and 'vagrant'. Once I was in I ran After that back on your regular machine with a cmd prompt open in your pelias directory (eg where you'd run
Hope that helps :) |
Hi @rowanwins ==> default: [2016-09-08T01:48:08+00:00] INFO: runit_service[pelias-api] restart |
hmm it looks like some of the other elasticsearch components might be having issues but im not sure why that might be sorry. |
Personally, I'd recommend installing pelias module by module. You could Install instructions here: It looks like there is some sort of error with create_index.js . That's the On Thu, Sep 8, 2016 at 5:46 PM, Rowan Winsemius notifications@github.com
Eric Sherman |
I was unable to install successfully using those or any other instructions that I could find. My own skillset is not Unix-based so I am unable to fill in the gaps in the instructions. Has anyone considered putting out a pre-built VirtualBox VM that just works? |
The trouble with anything prebuilt is that it becomes out of date as soon as it is built. The Pelias guys are very active in updating their projects so it's little wonder that something like a Vagrant VM gets let behind. Having said that it would be nice if there was something that helped people get up and running a bit quicker. I'm currently working on a fairly simple Pelias setup, this evening I've had a quick crack at trying to turning it into a more generic pelias-starter repo which may help get you going. Note that this is literally an hours work in an attempt to get something up there so there is probably a bug or two in there and Im sure there are more optimal ways to set things up. Cheers |
Thanks but that is still not clear to me. I am away from the system until tomorrow but I am not clear if I perform your commands in the host system (Windows 10 Professional) or the VM (Ubuntu). |
I understand the frustration, I went through the same process. To look at The api team is on their gitter chat fairly often. I usually keep an eye on Elasticsearch 2.4 is required, the engine recently was upgraded to use 2.4. On Tuesday, September 13, 2016, DavidShillito-Tactician <
Eric Sherman |
I think the PR #56 is meant to fix that. |
Hey @DavidShillito-Tactician and @rowanwins, The state of the Vagrant image has been frustrating to us too for a while, and we've talked a lot about what to do about it internally. The problem is this: internally at Mapzen we have our own set of chef scripts that are used to deploy Pelias in our production environment for Mapzen Search. These scripts roughly consists of two parts: the part that pertains directly to Pelias and essentially represents the full set of knowledge of how to set up and deploy Pelias, and the standard, boring, stuff that any company has when they have something in production. The first part can and should be open source, but unfortunately it lives in the same (private) repository as the standard, boring parts that are unfortunately tied a little too closely to credentials and whatnot. We haven't been very good about duplicating the work we do privately in this repo, and as all of us on the Pelias team set up Pelias manually on our own machines, we don't really notice when we break the Vagrant image. At some point, we need to go through and untangle those two parts, put the pelias specific chef scripts in their own (open) repository, and reconfigure the Vagrant image to use them. Then, when we make changes in Pelias, updating them for our production environment will also update them for the Vagrant image. Due to the nature of the work, we can't even open source a bunch of code and ask the community for help untangling and rearranging it, since the untangling part has to be done by us. For the last few months, we've discussed when we should do this many times, and each time we've chosen to prioritize adding new features or fixing bugs in Pelias over improving the Vagrant image. But in the last few weeks we've shipped a string of changes that each do their part in making the Vagrant image even more broken, and now we've decided to dive into this untangling after the work to import Who's on First venues and postal codes. That should be done in a week or two! The other thing is that we don't really like chef that much. We have a lot more to learn about it, but it can be clunky, and slow. In the long term we are interested in finding something else that allows our production and development environments to share set up code, while being easy for people new to the project to get started with. Docker of course is mentioned a lot, but we haven't decided at all. We'll tackle that someday... TLDR: we hope to give the Vagrant image some serious revamping in the next few weeks. Until then, use the official install docs, which are more up to date and also teach you much more about how Pelias works, so when issues do arise there's a better chance of fixing them. In the very long term we are looking to move off chef if we can find something nicer. Of course always feel free to keep opening issues, asking questions in our Gitter chat, etc. |
Thank you all for taking the time to explain things. I think I need to wait for the revamped Vagrant image that you suggest may become available in a few weeks. |
Hey, all! The Vagrant setup has been deprecated, so this issue will be closed. |
No description provided.
The text was updated successfully, but these errors were encountered: