<div dir="ltr"><div>Hello,</div><div>I have problem when i try upgrade the ovirt to 4.2,  my version is 4.1.9, I have problem when engine-setup try update the postgresql.</div><div>Postgres version 9.2</div><div><br></div><div>I had this message:</div><div><br></div><div>Log install:</div><div><br></div><div>ERROR: pg_upgrade tool failed</div><div>ERROR: Upgrade failed.</div><div> * See /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log for details.</div><div><br></div><div>2018-04-21 04:53:10,766-0300 DEBUG otopi.transaction transaction._prepare:66 exception during prepare phase</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/lib/python2.7/site-packages/otopi/transaction.py&quot;, line 62, in _prepare</div><div>    element.prepare()</div><div>  File &quot;/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/postgres.py&quot;, line 777, in prepare</div><div>    raiseOnError=True,</div><div>  File &quot;/usr/lib/python2.7/site-packages/otopi/plugin.py&quot;, line 931, in execute</div><div>    command=args[0],</div><div>RuntimeError: Command &#39;/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup&#39; failed to execute</div><div>2018-04-21 04:53:10,768-0300 DEBUG otopi.context context._executeMethod:143 method exception</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/lib/python2.7/site-packages/otopi/context.py&quot;, line 133, in _executeMethod</div><div>    method[&#39;method&#39;]()</div><div>  File &quot;/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/dbmsupgrade.py&quot;, line 89, in _updateDBMS</div><div>    oengcommcons.ProvisioningEnv.OLD_POSTGRES_SERVICE</div><div>  File &quot;/usr/lib/python2.7/site-packages/otopi/transaction.py&quot;, line 106, in append</div><div>    self._prepare(element=element)</div><div>  File &quot;/usr/lib/python2.7/site-packages/otopi/transaction.py&quot;, line 62, in _prepare</div><div>    element.prepare()</div><div>  File &quot;/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/postgres.py&quot;, line 777, in prepare</div><div>    raiseOnError=True,</div><div>  File &quot;/usr/lib/python2.7/site-packages/otopi/plugin.py&quot;, line 931, in execute</div><div>    command=args[0],</div><div>RuntimeError: Command &#39;/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup&#39; failed to execute</div><div>2018-04-21 04:53:10,770-0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage &#39;Misc configuration&#39;: Command &#39;/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup&#39; failed to execute</div><div><br></div><div>Log postgres:</div><div>Performing Consistency Checks</div><div>-----------------------------</div><div>Checking cluster versions                                   ok</div><div>Checking database user is the install user                  ok</div><div>Checking database connection settings                       ok</div><div>Checking for prepared transactions                          ok</div><div>Checking for reg* system OID user data types                ok</div><div>Checking for contrib/isn with bigint-passing mismatch       ok</div><div>Checking for invalid &quot;line&quot; user columns                    ok</div><div>Creating dump of global objects                             ok</div><div>Creating dump of database schemas</div><div>  engine</div><div>  ovirt_engine_history</div><div>  postgres</div><div>  template1</div><div>                                                            ok</div><div><br></div><div>encodings for database &quot;postgres&quot; do not match:  old &quot;SQL_ASCII&quot;, new &quot;UTF8&quot;</div><div>Failure, exiting</div><div><br></div><div><br></div><div>I know that problem not is in oVirt , but anyone help me ?</div><div><br></div><div><br></div><div>Thank you!</div></div>