Comment 2 for bug 1714026

Revision history for this message
Bob Wicksall (bwicksall) wrote :

I ran into this upgrading from 2.10.4 to 3.0 beta1. In the middle of 2.12.5-3.0-beta1-upgrade-db.sql I was getting the following error:

psql:version-upgrade/2.12.5-3.0-beta1-upgrade-db.sql:2537: ERROR: Cannot decode string with wide characters at /usr/lib/x86_64-linux-gnu/perl/5.20/Encode.pm line 217.
CONTEXT: PL/Perl function "maintain_control_numbers"
psql:version-upgrade/2.12.5-3.0-beta1-upgrade-db.sql:2539: ERROR: current transaction is aborted, commands ignored until end of transaction block

I applied Chris Sharp's patch. I still have bad data but I'm getting more meaningful errors and warnings.

I also confirmed that the duplicate maintain_control_numbers function exists in our 2.10 instance.