Project

General

Profile

Actions

Bug #37797

closed

PostgreSQL 13 upgrade aborts when user locale doesn't match cluster locale

Added by Evgeni Golov 18 days ago. Updated 10 days ago.


Description

# runuser -l postgres -c 'postgresql-setup --upgrade'
 * Upgrading database.
ERROR: pg_upgrade tool failed
ERROR: Upgrade failed.
 * See /var/lib/pgsql/upgrade_postgresql.log for details.

# cat /var/lib/pgsql/upgrade_postgresql.log | tail -100
Performing Consistency Checks
-----------------------------
Checking cluster versions                                   ok
Checking database user is the install user                  ok
Checking database connection settings                       ok
Checking for prepared transactions                          ok
Checking for system-defined composite types in user tables  ok
Checking for reg* data types in user tables                 ok
Checking for contrib/isn with bigint-passing mismatch       ok
Creating dump of global objects                             ok
Creating dump of database schemas
  candlepin
  foreman
  postgres
  pulpcore
  template1
                                                            ok

lc_collate values for database "postgres" do not match:  old "en_US.UTF-8", new "en_IN.UTF-8" 
Failure, exiting

Related issues 1 (0 open1 closed)

Related to Installer - Feature #37177: Upgrade to PostgreSQL 13 on EL8ClosedEvgeni GolovActions
Actions

Also available in: Atom PDF