Hi Thomas,

on a second look I notice that your LC_* variables are missing the
encoding part. E.g. I have
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
etc.

That assumes that locale is present on your system. E.g. on my Debian,
I would run
sudo dpkg-reconfigure locales

An alternative to setting the env. variables is running createdb
--locale=en_US.utf8, but the locale still needs to be present on your
system.

Let me know if that doesn't solve the problem.

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Thu, Jul 25, 2013 at 8:49 PM, Thomas Ronayne
<[email protected]> wrote:
> Hi, helix84,
>
> OK, so got the notice about DSpace update, going through the steps to
> install and... well, something seems to care.
>
> Executing
>
> createdb -U dspace -E UNICODE dspace
> createdb: database creation failed: ERROR:  encoding "UTF8" does not match
> locale "en_US"
> DETAIL:  The chosen LC_CTYPE setting requires encoding "LATIN1".
>
> The system locale is
>
> locale
>
> LANG=en_US
> LC_CTYPE="en_US"
> LC_NUMERIC="en_US"
> LC_TIME="en_US"
> LC_COLLATE=C
> LC_MONETARY="en_US"
> LC_MESSAGES="en_US"
> LC_PAPER="en_US"
> LC_NAME="en_US"
> LC_ADDRESS="en_US"
> LC_TELEPHONE="en_US"
> LC_MEASUREMENT="en_US"
> LC_IDENTIFICATION="en_US"
> LC_ALL=
>
> Does that need to change or make a change to the dspace user account? Kinda
> lost here (not doing so hot with DSpace, but trying to get there one way or
> the other).
>
> Appreciate any help or advice,
>
> Thomas
>
> A riddle, wrapped in a mystery, inside an enigma but that's my story and I'm
> stickin' to it.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to