-
Notifications
You must be signed in to change notification settings - Fork 1
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
setup_edifice.py on ubuntu 12.10 asks for a password #20
Comments
Your postgres superuser has a password enabled, so createdb (run as superuser) is asking for a password. Unless we write our own little password wrapper, the setup_edifice script (especially in --create_template mode) will prompt you for postgres superuser passwords a few times. On the other hand the --create mode should only need permissions for the 'edifice' non-superuser. |
after setting a password for "postgres" it accepted one for --create_template but still gave errors: Initializing postgres with a basic PostGIS template using the postgres superuser. and without setting an "edifice" password, --create still asked for a password: Setting up edifice database from scratch. 100%[====================================================================================================>] 69,817,910 1.24M/s in 54s 2013-02-12 23:17:08 (1.23 MB/s) - `downloads/pins.dump' saved [69817910/69817910] Loading property pins... |
According to this: http://blog.gmane.org/gmane.comp.gis.postgis/month=20121001 Ubuntu does not have a simple install for PostGIS. This seems like the current canonical page for getting it working: http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204src Try to follow these instructions, and you can stop before the header 'Spatially enabling a database' because that is what setup_edifice.py --create_template should do for you. |
on ubuntu 12.10 with all prerequisites ran:
python setup_edifice.py --create_template
output:
Initializing postgres with a basic PostGIS template using the postgres superuser.
db_names is ['postgres', 'template0']
EDIFICE_DB is edifice
createdb -U postgres -h localhost -T template0 -E UTF8 base_postgis
Password:
thanks.
The text was updated successfully, but these errors were encountered: