Opened 12 years ago
Closed 12 years ago
#983 closed defect (fixed)
chroot build method: postgis fails to create databases
Reported by: | kalxas | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | OSGeoLive6.0RC1 |
Component: | OSGeoLive | Keywords: | 6.0 |
Cc: | live-demo@… |
Description
as per http://aiolos.survey.ntua.gr/gisvm/dev/osgeo-live-mini-build8731-log.tar.gz
Processing triggers for menu ... ALTER ROLE createdb: database creation failed: ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) HINT: Use the same encoding as in the template database, or use template0 as template. createlang: could not connect to database template_postgis: FATAL: database "template_postgis" does not exist UPDATE 0 psql: FATAL: database "template_postgis" does not exist psql: FATAL: database "template_postgis" does not exist Finished: ./install_postgis.sh
Change History (3)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
and here is the results on a fresh base after init,
reuse@osgeolive-base:~/gisvm/bin$ sudo -u postgres createuser --superuser $USER_NAME reuse@osgeolive-base:~/gisvm/bin$ psql psql: FATAL: database "reuse" does not exist reuse@osgeolive-base:~/gisvm/bin$ psql postgres psql (9.1.4) Type "help" for help. postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges -----------+----------+----------+-------------+-------------+----------------------- postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (3 rows)
I am puzzled by the locale theory to explain this new failure.. As an experiment, I installed a new XUbuntu 12.04 into a VM, then asked for locale