Hi Jeff,

On 18/11/15 11:04, Jeffrey Sheldon wrote:
On further investigation, here's an error I receive while the database 
conversion is under way: http://pastebin.com/qHFBFBji

Specifically:

2015-11-17 15:51:31,385 ERROR org.dspace.storage.rdbms.DatabaseRegistryUpdater 
@ Error attempting to update Bitstream Format and/or Metadata Registries
org.postgresql.util.PSQLException: ERROR: value too long for type character 
varying(48)

Given that, it's likely that the database conversion isn't completing.

I agree with that diagnosis, and of course then it's no surprise that you're getting exceptions running 5.3 code when half the database is still at 4.x.

It looks like you have a too long value for something, but don't actually see too many varchar(48) columns in my 5.x database, so I'm not sure where this is falling over. Hopefully someone with more experience with the db migrations will help.

You could check the following and see whether it helps to shorten anything (eg bitstream format descriptions):
What's your bitstream format with ID 50?
2015-11-17 15:51:31,372 INFO org.dspace.content.BitstreamFormat @ anonymous::update_bitstream_format:bitstream_format_id=50 And what would be the next one to be created from /klib/app/dspace/5.3-jeff/config/registries/bitstream-formats.xml ?
But who knows whether that's the real issue vs some underlying other cause.

cheers,
Andrea

--
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-837 9120

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to