Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1umYxF-00073O-L9 for pgsql-general@arkaria.postgresql.org; Thu, 14 Aug 2025 14:29:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1umYxE-006p4p-4K for pgsql-general@arkaria.postgresql.org; Thu, 14 Aug 2025 14:29:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1umYxD-006p0H-B6 for pgsql-general@lists.postgresql.org; Thu, 14 Aug 2025 14:29:19 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1umYxB-000YYJ-0L for pgsql-general@lists.postgresql.org; Thu, 14 Aug 2025 14:29:18 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id B65377A01DD; Thu, 14 Aug 2025 10:29:16 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Thu, 14 Aug 2025 10:29:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1755181756; x=1755268156; bh=GBQkqHAmVVd2nsKfq6LsDMjZRLDMfJyn8GGKF+Xkz/w=; b= bJ38pkusx/O6hvzYXfnRKFtyy5yIVdpIRt58HWijXCPPxmZv5gloVn61dnHbpEz8 DaFi4etdvjZ8AXZIyBiffmoth6MX6Nqw4jQgaAE9u2ncasMQfnclESbmTd8PJ+X5 8hgXA/x4EItGRQ0NOnVDUO0Gjxc7K67c4RN1aVQIgjBu0lKbNUx8OWC0tbPeKLia UsxtfLVJu5bsLtjBayv2FekIebHWQ/PaBBASD0SwJqSBDknINT4FHIfP6TP8uVAC BW1A2yWlwRaQ4mygB0kf09tDti1SSGUG3clUC+8KxseqroKlqjbLaRItXHhaIy9a jH1P/VkbqKlIKfpUhRKHRg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1755181756; x=1755268156; bh=G BQkqHAmVVd2nsKfq6LsDMjZRLDMfJyn8GGKF+Xkz/w=; b=Mnn6PVz/+5yGfXq/G 2upnzEetIQ9hzXHMXN7ORMz64pQWTTsxgG+YtKxPZ1vQWqJg3yaznZ0FHKoP3h6c goB5e41ZPtvbjp88WYsDc7zltSMdco1tTiPW92/06LR6q1guC17jwECQ2CnEfq1t aSim2SFHip5r5AuYhrbUrQt0+7LK2qgC+nmGrTASngaeyshVDCI3bSSBEFpjfYvD BIprAIA9S13vLVZHV9cLFBV+j8aI3QLFS8i/vKQxxBEWCctZfrkpZMszzsK0IwIG d+wf+gl4xXx0rjyF49rdb/O2Dis3+W4U4uyx8xbAU/tT5KUjJZ++mbH7PH2z5Ebz oZ1wA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddugedufedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghn ucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqe enucggtffrrghtthgvrhhnpeffleegieefgfevudehtdfhkeeutdffjeevgeffgeejvedt hefgudeiteefheejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggp rhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegvvhgvlhhinh grrdgrnhhgvghlohhvrgeskhihnhgurhihlhdrtghomhdprhgtphhtthhopehpghhsqhhl qdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtth hopehjrghiphgrlhdrrhgrthhhohhrvgeskhihnhgurhihlhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 14 Aug 2025 10:29:15 -0400 (EDT) Message-ID: <6378538a-c339-4852-ae7a-b67e5e1a111b@aklaver.com> Date: Thu, 14 Aug 2025 07:29:15 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: help with upgrade from v15 to v16 rhel z/linux needed To: Evelina Angelova , "pgsql-general@lists.postgresql.org" , Jaipal Rathore References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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.klaver@aklaver.com