Hi Tharindu,

Looks like the installation did not complete successfully.  If it did, you 
should have had the virtual environment generated (*./runserver-vagrant.sh: 
line 10: archesproject/virtualenv/ENV/bin/activate: No such file or 
directory*), which appears to not have happened.  This should have happened 
following the 'vagrant up' command.  It's hard to say why this happened 
without seeing the output of that command.  I'd recommend looking at the 
gist I posted (
https://gist.githubusercontent.com/robgaston/10031103/raw/arches_vagrant_setup.log)
 that 
contains the full output from a successful install and comparing with the 
output you are seeing.

I think the permissions issue is a red herring -- those paths are relative 
to the script (note the lack of a leading slash), which is why they are 
different from the complete path to those files on your virtual machine.  I 
strongly doubt the issue is related to pathing; my guess is that something 
went wrong and as a result this script was never executed.  Best way to 
tell would be to look at the output from the 'vagrant up' command.  The 
virtualenv installation output can be seen in the gist referred to 
previously from ln 13541-13635: 
https://gist.github.com/robgaston/10031103#file-arches_vagrant_setup-log-L13541-L13635

- Rob


On Friday, May 2, 2014 10:37:21 PM UTC-7, Tharindu Rusira wrote:
>
> ​He​llo everyone,
>
> I am trying to setup Arches development environment on a vagrant machine. 
> I followed this[1] tutorial but when I run runserver-vagrant.sh script, I 
> get the following error. 
>  
>
>
>
>
>
>
>
>
>
>
>
> *vagrant@precise32:/vagrant$ ./runserver-vagrant.sh 
> ./runserver-vagrant.sh: line 10: archesproject/virtualenv/ENV/bin/activate: 
> No such file or directoryValidating models...0 errors foundMay 02, 2014 - 
> 20:49:52 Django version 1.6.4, using settings 
> 'archesproject.settings'Starting development server at http://0.0.0.0:8000/ 
> <http://0.0.0.0:8000/>Quit the server with CONTROL-C.[2014-05-03 
> 01:49:52,235][WARN ][bootstrap                ] jvm uses the client vm, 
> make sure to run `java` with the server vm for best performance by adding 
> `-server` to the command line {0.90.3}: Initialization Failed ...*
> *- ElasticSearchIllegalStateException[Failed to obtain node lock, is the 
> following location writable?: 
> [/vagrant/archesproject/arches/Search/engines/elasticsearch-0.90.3/data/elasticsearch]]*
>
> But as I can see, the script itself is modifying permissions in a slightly 
> different path but at the runtime elasticsearch is trying to access a 
> different location.
>
>
>
>
>
>
>
>
>
>
>
> *#!/bin/bash# Start ElasticSearchchmod u+x 
> "archesproject/arches/Search/engines/elasticsearch-0.90.3/bin/elasticsearch.in.sh
>  
> <http://elasticsearch.in.sh>"source 
> "archesproject/arches/Search/engines/elasticsearch-0.90.3/bin/elasticsearch.in.sh
>  
> <http://elasticsearch.in.sh>" chmod u+x 
> "archesproject/arches/Search/engines/elasticsearch-0.90.3/bin/elasticsearch"./archesproject/arches/Search/engines/elasticsearch-0.90.3/bin/elasticsearch#
>  
> Start djangosource "archesproject/virtualenv/ENV/bin/activate" python 
> manage.py runserver 0.0.0.0:800 <http://0.0.0.0:800>0*
>
> ​Any help to rectify these errors is much appreciated. 
> Thanks,​
>
>
> ​[1] 
> http://www.fargeo.com/blog/setting-up-an-arches-development-environment-using-vagrant/
> ​
>
> -- 
> M.P. Tharindu Rusira Kumara
> ​
>
> Department of Computer Science and Engineering,
> University of Moratuwa,
> Sri Lanka.
> +94757033733
> www.tharindu-rusira.blogspot.com
>
> 

-- 
-- 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.

Reply via email to