Hello Adrian, Thank you for your email. Yesterday we managed to upgrade PostgreSQL with few work arounds.
Regards, Evelina Angelova DBA Administrator - Oracle, DB2 LUW and PostgreSQL evelina.angel...@kyndryl.com Kyndryl Client Center, s.r.o. Přízova 526/5, PSČ: 602 00, IČ: 26244535 From: Adrian Klaver <adrian.kla...@aklaver.com> Date: Thursday, 14 August 2025 at 16:29 To: Evelina Angelova <evelina.angel...@kyndryl.com>, pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>, Jaipal Rathore <jaipal.rath...@kyndryl.com> Subject: [EXTERNAL] Re: help with upgrade from v15 to v16 rhel z/linux needed On 8/13/25 05:54, Evelina Angelova wrote: > Dears, > > We need help with upgrading PostgreSql v15 to v16 on z/Linux Red Hat > Enterprise Linux 8 for IBM zSystems -AppStream. > We have tried 3 methods so far, all fail. > > Server connection to external pages is prohibited, we cannot download > the packaged directly from the web link > We were able to disable module 15 and enable module 16, it replaced only > v15 binaries, so we could not proceed with upgrade using pg_upgrade -- > link, because v15 were gone..... > Backup/ restore failed also with missing database, users, etc. > > When we tried module switch (disable v15, enable v16), yum install > postgresql-update/ postgresl-setup --upgrade, all went fine (i.e > upgrading database OK), service 16 started, > Binaries were installed under different path, but database and users > were missing. We have recreated the database, restore failed, users > denied, and so on..... This needs some clarification: 1) When you say module do you mean package? 2) If 'Server connection to external pages is prohibited ..." how did you get the RPM packages? 3) What do you mean by 'disable module 15'? 4)'restore failed' restoring what? 5) What where the error messages from the failed restore? > > yum.repos.d]# yum module list | grep postgres > > *postgresql 15 [e] client, server > [d] PostgreSQL server and client module * > > *postgresql 16 client, server > [d] PostgreSQL server and client module* > > > > rpm -qa | grep "postgresql" > > *postgresql-private-libs-16.8-1.module+el8.10.0+22867+e4e13b1c.s390x* > > *postgresql-private-devel-16.8-1.module+el8.10.0+22867+e4e13b1c.s390x* > > *postgresql-16.8-1.module+el8.10.0+22867+e4e13b1c.s390x* > > *postgresql-server-16.8-1.module+el8.10.0+22867+e4e13b1c.s390x* > > > > > Could you advise us, what might be wrong, which package is suitable and > steps to do the upgrade, please? Is it something wrong with packages we > have, or module misconfiguration, or.... > > > Regards, > > Evelina Angelova > -- Adrian Klaver adrian.kla...@aklaver.com Unless stated otherwise above: Kyndryl Česká republika, spol. s r. o. Sídlo: V Parku 2308/8, Chodov, 148 00 Praha 4, IČ: 096 28 886 Zapsaná v obchodním rejstříku, vedeném Městským soudem v Praze (oddíl C, vložka 339277) Registered address: V Parku 2308/8, Chodov, 148 00 Prague 4 Company ID: 096 28 886 Registered in the Commercial Register maintained by the Municipal Court in Prague (Part C, Entry 339277)