From: [email protected]
[mailto:[email protected]] On Behalf Of Valbuena, Angelo
Sent: Thursday, July 18, 2013 2:09 PM
To: Baruwa users list
Subject: Re: [Baruwa] Error using Jeremy centos script in baruwa admin
function

 

I checked the production.ini file for the sqlalchemy.url= settings. I
see the postgresql://baruwa:[email protected]:5432/baruwa line. Did a su
postgres. Then psql -h 127.0.0.1 -U baruwa -d baruwa. Got prompted for
the password. Entered the password that is in the production.ini file on
the sqlalchemy.url line and got to the psql prompt. Was able to enter \l
and \dt commands and \q normally. Sorry if I am on the wrong path here
but I might be in over my head at this point.

 

 

Angelo 

 

Try running the section manually like below, does it run? 

*Note: Make sure to update $baruwaadmin, $adminpass and $adminemail with
proper values before running.

 

        mv
/home/baruwa/px/lib/python2.6/site-packages/baruwa/websetup.py
/home/baruwa/px/lib/python2.6/site-packages/baruwa/websetup.py.orig
        cd /home/baruwa/px/lib/python2.6/site-packages/baruwa/
        curl -O
https://raw.github.com/fluxlabs/baruwa/master/2.0/extras/websetup.py

        cd /home/baruwa/

        virtualenv --distribute px

        source px/bin/activate

        export SWIG_FEATURES="-cpperraswarn -includeall -D__`uname -m`__
-I/usr/include/openssl"

        /home/baruwa/px/bin/paster setup-app /etc/baruwa/production.ini

        /home/baruwa/px/bin/paster create-admin-user -u "$baruwaadmin"
-p "$adminpass" -e "$adminemail" -t UTC /etc/baruwa/production.ini

        rm -f
/home/baruwa/px/lib/python2.6/site-packages/baruwa/websetup.py

        mv
/home/baruwa/px/lib/python2.6/site-packages/baruwa/websetup.py.orig
/home/baruwa/px/lib/python2.6/site-packages/baruwa/websetup.py

 

_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to