Hi Steve,

Just to check, has your new/dev database been created with UTF8 character
encoding? (pass -E UNICODE or -E UTF8 to createdb)

Cheers,

Kim

On 25 October 2010 14:57, Steve Swinsburg <[email protected]> wrote:

> Hi all,
>
> We are having a problem upgrading an instance of dspace from 1.5.x-1.6.2.
> We built the new 1.6.2 code and took a snapshot of our old production
> database and migrated in back to our dev environment (along with the
> assets). We then ran the db upgrade script.
>
> Now, when running the index-init script we get this:
>
> ./dspace index-init -v
> Exception: org.postgresql.util.PSQLException: ERROR: invalid multibyte
> character for locale
> org.dspace.browse.BrowseException: org.postgresql.util.PSQLException:
> ERROR: invalid multibyte character for locale
>        at
> org.dspace.browse.BrowseCreateDAOPostgres.insertDistinctRecord(BrowseCreateDAOPostgres.java:691)
>        at
> org.dspace.browse.BrowseCreateDAOPostgres.getDistinctID(BrowseCreateDAOPostgres.java:566)
>        at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:485)
>        at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1148)
>        at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1098)
>        at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:749)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212)
>
> We are on Postgres:
> PostgreSQL 8.1.21 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC)
> 4.1.2 20080704 (Red Hat 4.1.2-48)
>
> Any tips?
>
> thanks,
> Steve
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to