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 1tBdEf-0056A8-7T for pgsql-general@arkaria.postgresql.org; Thu, 14 Nov 2024 17:02:24 +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 1tBdEc-005vf6-Li for pgsql-general@arkaria.postgresql.org; Thu, 14 Nov 2024 17:02:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tBdEc-005vex-An for pgsql-general@lists.postgresql.org; Thu, 14 Nov 2024 17:02:22 +0000 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tBdEY-001vta-Dd for pgsql-general@lists.postgresql.org; Thu, 14 Nov 2024 17:02:22 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id 0BDFD11401B5; Thu, 14 Nov 2024 12:02:18 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Thu, 14 Nov 2024 12:02:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc: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=1731603738; x=1731690138; bh=YvqFlRluxwSn3PSzY9KxrAEYB/ysw0UZrRgemEwRocg=; b= JLcc60UHNcVm4fFXgIpfP63g81V/9yc82/Z+j4eRKNtAt83YkpeITb2Q56AnLtaq reBYXQHbrWL6H1/F7fwWNT4XzhCfLl0GfjGZhWMYj/OyoyGdy8PkvW1QVHb+P55M +Uyb6tY1j3pRAMbWn0x/+4CdwpOMaqK1gDAbiKF8cgyDEcLK6pJ6RQSMY3y71Voi qUruOV6i7ugMmPUMX+UqeplTx6pmDLLQuLOw+rNPsoMRcMn0eAK/ojyics2jum7Z Us5V+vqjbN6/eqhmWj2wHrfRC+h+wGI3p959d6gFAd8r5nH9xBMEkNxhpJwLEF7F aTvZ1dEfA8qoN02H9d8sFg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=1731603738; x= 1731690138; bh=YvqFlRluxwSn3PSzY9KxrAEYB/ysw0UZrRgemEwRocg=; b=R iRup1V/ue7mE2jv/e2cM1Lqw43dRAW2Eo9mVt9ihnkxWojwZ5UJVFe8/7Y2ooBq3 OWAvuYgvdv0OvKHiHzwN3AjL0yoWNfod46Lzi99KWfUnXC7WqDm1fZmFJOBwt7KE 7m0i6s0geJUNhj1imgA87A7qRQ0AlLcmKs2jJTxKqAtBNLXkMWeCwni4G9hgo0G+ dYCcS0ZUMEa7nHScvlo5Mlv2l7trHmArg1xJUfBOxz7jWhFlw/skb+tAKrpdcCUC t3fuYPJcE2R+XWGH7dbG6yE1TH2uQs+0d8uN23jH3x/owwigP8nax7KUdMU24PlU ec5Z7aQGpn25noUYdIczQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrvddvgdelhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeen ucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrse grkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeeuleegtdehffdukeejudel ueeutdevueevveekudeuueegveekkeegledutdelgfenucffohhmrghinhepsggrshhilh hlvgdrohhrghdpphhoshhtghhrvghsqhhlrdhorhhgpdgvnhhtvghrphhrihhsvggusgdr tghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtthho peefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrhhotghksehufigrlhhumh hnihdrtghomhdprhgtphhtthhopehrohhnlhhjohhhnhhsohhnjhhrsehgmhgrihhlrdgt ohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlheslhhishhtshdrphhoshhtgh hrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 14 Nov 2024 12:02:17 -0500 (EST) Message-ID: <11b5cfbd-cb44-4bc5-b74e-c6c682d9cfb9@aklaver.com> Date: Thu, 14 Nov 2024 09:02:16 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Help with restoring database from old version of PostgreSQL To: Catherine Frock , ronljohnsonjr@gmail.com Cc: pgsql-general@lists.postgresql.org References: <1fe9de96-6ebe-4e3a-9b15-ae8a11986664@aklaver.com> 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 11/14/24 07:00, Catherine Frock wrote: > Yes, I still have the backup file. I tried to open pgAdmin4 today to see > what version I'm running, and now this happened (see attachments). My > operating system is Windows 10 Home, version 10.0.19045 Build 19045. I > installed Postgres using these instructions: > https://basille.org/postgis2017/installation_instructions/install_postgresql.html  I'm guessing at this point I probably need to start all over with the installation since pgAdmin4 is not working? But if 9.6 is no longer supported, can I still use it to access my database? I assumed I would need to migrate to the most recent version of PostgreSQL, but maybe that was a wrong assumption? 1) You can copy/paste the error message and provide as text. 2) Assuming you are installing Postgres 16 from the EDB package, the from here: https://www.postgresql.org/download/windows/ PostgreSQL Version 64 Bit Windows Platforms 16 2022, 2019 [...] 11 2019, 2016, 2012 R2 10 2016, 2012 R2 & R1, 7, 8, 10 3) From here: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads 9.6 can still be downloaded. It is not a supported version, but you can at least use it to access your database. 4) You need to provide a more detailed explanation of what you are trying to achieve. 5) 9.6 -> 16 is six major version jump. That means some research needs to be done, starting with determining what version of PostGIS you need to be using. > > Thank you for your help, > -- > Arden > > > On Wed, Nov 13, 2024 at 3:42 PM Adrian Klaver > wrote: > > On 11/13/24 10:50, Catherine Frock wrote: > > I'm seeking help in restoring a database that was created with > > PostgreSQL 9.6. I backed it up successfully and have restored it > before, > > but that was when PostgreSQL 9.6 was still supported. After going > > Do you still have the Postgres 9.6 instance running? > > > through the installation of PostgreSQL 16.3, I opened up pgAdmin > 4 to > > What version of pgAdmin4? > > > try to verify the PostgreSQL/PostGIS installation, but when I try to > > connect to the PostgreSQL 16.3 server, I get an internal server > error > > message: 'ServerManager' object has no attribute 'user_info'. > > > > In pgAdmin4, I am able to connect to the PostgreSQL 9.6 server, > but when > > So the 9.6 instance is running. > > > I try to verify the install by querying: CREATE EXTENSION postgis; > > SELECT postgis_version(); > > I get the following error message:  ERROR: could not open extension > > control file "C:/Program > > Files/PostgreSQL/9.6/share/extension/postgis.control": No such > file or > > directory SQL state: 58P01 > > What OS and version are you running? > > How did you install Postgres? > > > > > > How can I restore my database to have access to it again? > > > > Thanks. > > -- > Adrian Klaver > adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com