Hi David and Alexei, I was just correcting some other issues in the wiki developer install and there was a place where I had mistakenly written *source *for running elasticsearch. Sorry about that! It's fixed now.
Adam On Mon, Apr 17, 2017 at 12:55 PM, Adam Cox <[email protected]> wrote: > Sounds good. Really, at this point the only difference in the developer > and regular installation processes is installing from a cloned repo, or > installing through pip. However, because work continues on the repo, you > are definitely better off installing through pip. > > Hope it goes well, > Adam > > On Mon, Apr 17, 2017 at 11:24 AM, David Lopes <[email protected]> wrote: > >> (...) >> Yes, I had not enough RAM since I was using AWS-EC2-t2.micro which has >> only 1Gb, on top of that I was installing according to the developer >> installation procedures when I think I should be using the regular one ( >> http://arches4.readthedocs.io/en/latest/installation/ ) which I am now >> going to. >> >> Thanks, regards >> >> >> >> quarta-feira, 12 de Abril de 2017 às 18:25:07 UTC+1, Adam Cox escreveu: >>> >>> To clarify, Arches v4 uses ElasticSearch 5.2.1, which requires 2gb >>> membory. Arches v3 used a much older version of ES (1.4.1 I believe) which >>> only used about 300mb, if I recall correctly. That's why you may not be >>> expecting to see an issue like this. >>> >>> On Wed, Apr 12, 2017 at 12:20 PM, Adam Cox <[email protected]> wrote: >>> >>>> Hi David and Alexei, the documentation is correct. As you can see here >>>> <https://github.com/archesproject/arches/wiki/Installing-Elasticsearch>, >>>> you do not use source (which will crash the terminal like you found) nor >>>> ./ (which is actually just the same as David's second example, as you >>>> can see with this explanation of that command shortcut: >>>> https://askubuntu.com/questions/250823/what-does-mean). >>>> >>>> David, it looks like you do not have enough memory available to run >>>> Elasticsearch. As noted the docs linked above, elasticsearch requires 2gb, >>>> and the elasticsearch documentation recommends that no more than half of >>>> your available memory be dedicated to that process. (I thought that this >>>> system requirements documentation >>>> <https://arches4.readthedocs.io/en/latest/installation/#system-requirements>, >>>> was on the wiki, but apparently it isn't, so I'll add it now.) >>>> >>>> Also (as noted in the documentation) you can, technically, run ES with >>>> only 1gb of memory by explicitly adding java memory options to the startup >>>> command. This works, though I have run into problems when loading large >>>> datasets, and would only recommend doing it for very basic usage and if you >>>> are ready to keep memory errors in mind when you have to troubleshoot any >>>> other issues down the road. >>>> >>>> Adam >>>> >>>> On Wed, Apr 12, 2017 at 11:26 AM, Alexei Peters <[email protected]> >>>> wrote: >>>> >>>>> Hi David, >>>>> I think the command is >>>>> *./path/to/elasticsearch-5.2.1/bin/elasticsearch * >>>>> Notice the ./ (dot slash) at the beginning of the command. >>>>> I don't believe using "source" is correct. We'll have to fix the >>>>> documentation. >>>>> -Alexei >>>>> >>>>> On Apr 12, 2017 8:55 AM, "David Lopes" <[email protected]> wrote: >>>>> >>>>>> Hi Adam, >>>>>> >>>>>> Is the command *source >>>>>> path/to/elasticsearch-5.2.1/bin/elasticsearch *( >>>>>> https://github.com/archesproject/arches/wiki/Developer-Installation) >>>>>> or just *path/to/elasticsearch-5.2.1/bin/elasticsearch *( >>>>>> https://github.com/archesproject/arches/wiki/Installing-Elasticsearch) >>>>>> ? >>>>>> >>>>>> In the first case my ssh terminal shutsdown and in the later I get >>>>>> this message: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> *ubuntu@ip-172-31-22-235:~/Projects/arches$ OpenJDK 64-Bit Server VM >>>>>> warning: INFO: os::commit_memory(0x0000000085330000, 2060255232, 0) >>>>>> failed; >>>>>> error='Cannot allocate memory' (errno=12)## There is insufficient memory >>>>>> for the Java Runtime Environment to continue.# Native memory allocation >>>>>> (mmap) failed to map 2060255232 bytes for committing reserved memory.# An >>>>>> error report file with more information is saved as:# >>>>>> /home/ubuntu/Projects/arches/hs_err_pid28654.log* >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> terça-feira, 11 de Abril de 2017 às 15:02:05 UTC+1, Adam Cox escreveu: >>>>>>> >>>>>>> Hi David, looking at your command, I think the issue is a rogue / at >>>>>>> the front of your path. >>>>>>> >>>>>>> If it turns out that you don't yet have elasticsearch installed, >>>>>>> please see this documentation: https://github. >>>>>>> com/archesproject/arches/wiki/Installing-Elasticsearch >>>>>>> >>>>>>> Adam >>>>>>> >>>>>>> On Tue, Apr 11, 2017 at 8:03 AM, David Lopes <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> <https://lh3.googleusercontent.com/-H83B9ECIcck/WOzTvXtHMjI/AAAAAAAADBg/LBTnsv3Fv5goNpZmyxhVl-iQ_ficO_fHgCLcB/s1600/2017-04-11.png> >>>>>>>> >>>>>>>> Hi Cyrus, >>>>>>>> >>>>>>>> >>>>>>>> <https://lh3.googleusercontent.com/-H83B9ECIcck/WOzTvXtHMjI/AAAAAAAADBg/LBTnsv3Fv5goNpZmyxhVl-iQ_ficO_fHgCLcB/s1600/2017-04-11.png>Yes >>>>>>>> java 8 was missing, I installed it and rebooted, but then I get a >>>>>>>> message >>>>>>>> saying there is no file *elasticsearch* >>>>>>>> <https://lh3.googleusercontent.com/-H83B9ECIcck/WOzTvXtHMjI/AAAAAAAADBg/LBTnsv3Fv5goNpZmyxhVl-iQ_ficO_fHgCLcB/s1600/2017-04-11.png> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> <https://lh3.googleusercontent.com/-H83B9ECIcck/WOzTvXtHMjI/AAAAAAAADBg/LBTnsv3Fv5goNpZmyxhVl-iQ_ficO_fHgCLcB/s1600/2017-04-11.png> >>>>>>>> >>>>>>>> >>>>>>>> <https://lh3.googleusercontent.com/-H83B9ECIcck/WOzTvXtHMjI/AAAAAAAADBg/LBTnsv3Fv5goNpZmyxhVl-iQ_ficO_fHgCLcB/s1600/2017-04-11.png> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> sexta-feira, 7 de Abril de 2017 às 17:36:51 UTC+1, Cyrus Hiatt >>>>>>>> escreveu: >>>>>>>>> >>>>>>>>> Hi David - >>>>>>>>> >>>>>>>>> Did you install your arches dependencies using >>>>>>>>> ubuntu_xenial_setup.sh? If so, there's a bug (which I am about to fix >>>>>>>>> shortly) preventing java from getting installed. >>>>>>>>> >>>>>>>>> In the meantime you might check if you have Java 8 installed: >>>>>>>>> >>>>>>>>> $ java -version >>>>>>>>> >>>>>>>>> If not, you can install it with the following: >>>>>>>>> >>>>>>>>> $ sudo apt-get install openjdk-8-jre-headless -y >>>>>>>>> >>>>>>>>> Hope that helps - >>>>>>>>> >>>>>>>>> Cyrus >>>>>>>>> >>>>>>>>> On Fri, Apr 7, 2017 at 9:08 AM, David Lopes <[email protected]> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi Alexei, >>>>>>>>>> >>>>>>>>>> I had a problem installing the depedencies. After solving it I >>>>>>>>>> ran the command *python manage.py es install *and the folder >>>>>>>>>> appears, but when then I'm not able to run *~/Projects/arches$ >>>>>>>>>> source path/to/elasticsearch-5.2.1/bin/elasticsearch . *What do >>>>>>>>>> you think the problem might be? >>>>>>>>>> >>>>>>>>>> Thanks, regards. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> quarta-feira, 5 de Abril de 2017 às 17:48:10 UTC+1, Alexei Peters >>>>>>>>>> escreveu: >>>>>>>>>>> >>>>>>>>>>> Did you run the command >>>>>>>>>>> >>>>>>>>>>> *python manage.py es install* >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Director of Web Development - Farallon Geographics, Inc. - >>>>>>>>>>> 971.227.3173 >>>>>>>>>>> >>>>>>>>>>> On Wed, Apr 5, 2017 at 5:11 PM, David Lopes <[email protected]> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> I'm using ubuntu 16.04 and followed every step to install but >>>>>>>>>>>> now that I've finiushed and want to start using arches I can't >>>>>>>>>>>> find the >>>>>>>>>>>> path to elasticsearch-5.2.1/bin/elasticsearch >>>>>>>>>>>> >>>>>>>>>>>> Commonly where should that folder be? Or was there something >>>>>>>>>>>> wrong with the instalation? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Regards >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> -- To post, send email to [email protected]. To >>>>>>>>>>>> unsubscribe, send email to [email protected]. >>>>>>>>>>>> For more information, visit https://groups.google.com/d/fo >>>>>>>>>>>> rum/archesproject?hl=en >>>>>>>>>>>> --- >>>>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>>>> Google Groups "Arches Project" group. >>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from >>>>>>>>>>>> it, send an email to [email protected]. >>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>> -- To post, send email to [email protected]. To >>>>>>>>>> unsubscribe, send email to [email protected]. For >>>>>>>>>> more information, visit https://groups.google.com/d/fo >>>>>>>>>> rum/archesproject?hl=en >>>>>>>>>> --- >>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>> Google Groups "Arches Project" group. >>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>>> send an email to [email protected]. >>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>> -- To post, send email to [email protected]. To >>>>>>>> unsubscribe, send email to [email protected]. For >>>>>>>> more information, visit https://groups.google.com/d/fo >>>>>>>> rum/archesproject?hl=en >>>>>>>> --- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Arches Project" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to [email protected]. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> >>>>>>> -- >>>>>> -- To post, send email to [email protected]. To >>>>>> unsubscribe, send email to [email protected]. For >>>>>> more information, visit https://groups.google.com/d/fo >>>>>> rum/archesproject?hl=en >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Arches Project" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>>> -- To post, send email to [email protected]. To unsubscribe, >>>>> send email to [email protected]. For more information, >>>>> visit https://groups.google.com/d/forum/archesproject?hl=en >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Arches Project" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>> -- >> -- To post, send email to [email protected]. To >> unsubscribe, send email to [email protected]. >> For more information, visit https://groups.google.com/d/fo >> rum/archesproject?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Arches Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
