openupgrade-drivers team mailing list archive
-
openupgrade-drivers team
-
Mailing list archive
-
Message #00243
Re: [Question #240731]: Using migrate.py and debugging messages [6.1-7.0]
Question #240731 on OpenUpgrade Server changed:
https://answers.launchpad.net/openupgrade-server/+question/240731
Status: Needs information => Answered
Stefan Rijnhart (Therp) proposed the following answer:
Alexandro, thanks for creating a new issue!
The stdout of the database restore shows severe problems
The first error seems to be key:
pg_restore: [archiver (db)] COPY failed for table "res_currency": ERROR: value too long for type character varying(3)
CONTEXT: COPY res_currency, line 27, column symbol: "лв"
Looks like your template1 database is not UTF-8. Apparently, the script
does not enforce this either. Try adding WITH ENCODING 'UTF8' to the
query in line 192 of migrate.py.
--
You received this question notification because you are a member of
OpenUpgrade Drivers, which is an answer contact for OpenUpgrade Server.