Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XwpmA-0002pr-Cg for pgsql-admin@arkaria.postgresql.org; Fri, 05 Dec 2014 10:06:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xwpm9-0001RB-QH for pgsql-admin@arkaria.postgresql.org; Fri, 05 Dec 2014 10:06:13 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xwpm8-0001R5-Uo for pgsql-admin@postgresql.org; Fri, 05 Dec 2014 10:06:13 +0000 Received: from mx2.exxoss.com ([109.69.220.67]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xwpm5-0000TA-UP for pgsql-admin@postgresql.org; Fri, 05 Dec 2014 10:06:11 +0000 Received: from 217.64.252.174.mactelecom.net ([217.64.252.174] helo=[10.21.0.3]) by mx2.exxoss.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Xwpm2-0005u3-9S for pgsql-admin@postgresql.org; Fri, 05 Dec 2014 11:06:07 +0100 Message-ID: <5481838E.6020409@exxoss.com> Date: Fri, 05 Dec 2014 11:06:06 +0100 From: Matthieu Lejeune User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 217.64.252.174 X-SA-Exim-Rcpt-To: pgsql-admin@postgresql.org X-SA-Exim-Mail-From: matthieu.lejeune@exxoss.com X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on taupeman X-Spam-Level: X-Spam-Status: No, score=-102.9 required=3.0 tests=ALL_TRUSTED,BAYES_00, TVD_RCVD_IP,USER_IN_WHITELIST autolearn=ham version=3.3.1 Subject: Problem pg_upgradecluster from 9.1 to 9.3 X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:26:47 +0000) X-SA-Exim-Scanned: Yes (on mx2.exxoss.com) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Hi all, I have a problem when I try to upgrade my pgsql 9.1 cluster to 9.3 This is my output : root@p2tstl2mondbm:/var/lib/postgresql# pg_upgradecluster 9.1 main Disabling connections to the old cluster during upgrade... Restarting old cluster with restricted connections... Removed stale pid file. Creating new cluster 9.3/main ... config /etc/postgresql/9.3/main data /var/lib/postgresql/9.3/main locale C port 5433 Disabling connections to the new cluster during upgrade... Error: automatic upgrade of tablespaces is not supported Re-enabling connections to the old cluster... Re-enabling connections to the new cluster... Error during cluster dumping, removing new cluster On my db I have 2 tablespaces : postgres=# \db+ List of tablespaces Name | Owner | Location | Access privileges | Description --------------+----------+-----------------------------------------+-------------------+------------- envers | postgres | /var/lib/postgresql/tablespaces/envers | | indexes_fast | postgres | /var/lib/postgresql/tablespaces/indexes | | pg_default | postgres | | | pg_global | postgres | | | (4 rows) postgres=# This is my path config : postgres@p2tstl2mondbm:~$ cd /var/lib/postgresql/ postgres@p2tstl2mondbm:/var/lib/postgresql$ ls -all total 36 drwxr-xr-x 6 postgres postgres 4096 Dec 4 12:22 . drwxr-xr-x 27 root root 4096 Dec 4 08:17 .. drwxr-xr-x 4 postgres postgres 4096 Oct 7 07:42 9.1 drwxr-xr-x 2 postgres postgres 4096 Dec 5 10:58 9.3 drwx------ 2 postgres postgres 16384 Mar 4 2013 lost+found drwx------ 4 postgres postgres 4096 Mar 8 2013 tablespaces postgres@p2tstl2mondbm:/var/lib/postgresql$ My pgsql versions : i postgresql 9.1+134wheezy4 all object-relational SQL database (supported version) ii postgresql-9.1 9.1.14-0+deb7u1 amd64 object-relational SQL database, version 9.1 server ii postgresql-9.3 9.3.5-1.pgdg70+1 amd64 object-relational SQL database, version 9.3 server I don't find any tips on the web to help me Thank you for your advice. Matthieu Lejeune -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin