Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJtve-0003xa-0B for pgsql-general@arkaria.postgresql.org; Tue, 06 Nov 2018 05:29:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJtvb-0001yR-Cu for pgsql-general@arkaria.postgresql.org; Tue, 06 Nov 2018 05:29:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJtva-0001yJ-W9 for pgsql-general@lists.postgresql.org; Tue, 06 Nov 2018 05:29:27 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gJtvU-0007or-4E for pgsql-general@lists.postgresql.org; Tue, 06 Nov 2018 05:29:25 +0000 Received: by mail-pg1-x543.google.com with SMTP id r9-v6so5290876pgv.6 for ; Mon, 05 Nov 2018 21:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:mime-version:user-agent :content-transfer-encoding; bh=qXB/SMITc3NrM8lL4sevFg3R4uAszwgzH3PfbH3APY8=; b=dm1BvZct5N1EBYHfNEHjNPic3NwklqiRQ6rinnLxNYRdDR+WaJVglgkzU970hlBPUr dwrTEiz7xpBdUXtSS3caf+j4C4PWFW1TedCZFdgJOoevYXYt+BO2SlakfuJYaWUTIg9F ZtCH8woFSbKjDHaK4xfY0sO3nPYW9P7EnlKF+WvV8qlzwVPOUuci9Fcu3vyy88csM0nq ScREJCxijz7/DYCX5riggoOwV10AEOZVV+MreS4a/67OGw1nczMj9/mY5INVN5o8+QUS xUDujeiEytpNHAFS7OwbDwzqyv0rzfm6XU44fAY9Y0AScYC7zowCRrxI6FUVT8KWNvJa LTKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:mime-version :user-agent:content-transfer-encoding; bh=qXB/SMITc3NrM8lL4sevFg3R4uAszwgzH3PfbH3APY8=; b=KvDuKi3D0sLQ3TyvjlzGSpOP0de56hi9lS//4sQHSKHkhUwYrs/Kov1OqHOW0y2oSr L+SDSLYZwyj/+LLyGLH9CB1HuBMnQd/JKhHh/6OkEx3K3msjQIcN6X0LVC6L1XNcrXiB HAjGho/2J9NBraoC6c+DBjpgFdF6aVg4YXmmN+ZXE3OJaVr7fuB8ZYil4mnwSEPX4Ojl KNjglctVTLWa+idEohz5eRBsU2Lp5QtgUc6hG/7UCghzoqaARwKsOW52zbwucLeLK3C0 RP2h60tg6gyVt3vNHdnr50Ebp8X6DeLGuoAwjk5nrjuB8D1yj4+ig00KgPp8l8AGr5bO 0y2A== X-Gm-Message-State: AGRZ1gLBgJpMmHmkWyGdZNbt1CsMFMP4C6+HLsxcSIS1yGdesqXdq/Zf ZKXb1onhxRj2HxTiO6m0rSxQ79u5 X-Google-Smtp-Source: AJdET5dXIdVn8BaAktzZyRdWbNW7D9Ujjbz8dN7pbrmmgzYVcuKPbP6vG59yO7KOFde98Jq47BLIWg== X-Received: by 2002:a63:65c7:: with SMTP id z190mr22628697pgb.249.1541482157583; Mon, 05 Nov 2018 21:29:17 -0800 (PST) Received: from roblaptop (220-245-55-12.tpgi.com.au. [220.245.55.12]) by smtp.gmail.com with ESMTPSA id v1-v6sm29976405pfn.94.2018.11.05.21.29.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Nov 2018 21:29:16 -0800 (PST) Message-ID: Subject: Running pg_upgrade Version 11 From: rob stone To: pgsql-general@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Date: Tue, 06 Nov 2018 16:27:35 +1100 Mime-Version: 1.0 User-Agent: Evolution 3.30.1-1 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, Trying to run pg_upgrade from version 10 to version 11 on the test server and pulling the following error:- could not open version file: /home/postgres/testing/data_v10/PG_VERSION Failure, exiting O/S is:- Debian 4.18.10-2 (2018-11-02) x86_64 GNU/Linux Running pg_upgrade as user postgres. These are the permissions on the version 10 file:- -rw------- 1 postgres postgres 3 Mar 23 2018 PG_VERSION These are the permissions on the version 11 file:- -rw------- 1 postgres postgres 3 Nov 6 14:50 PG_VERSION This is the command being run:- /usr/lib/postgresql/11/bin/pg_upgrade -b /usr/lib/postgresql/10/bin -B /usr/lib/postgresql/11/bin -d /home/postgres/testing/data_v10 -D /home/postgres/testing/data_v11 Logged in as user postgres and postgres owns the files created by initdb, so is this a permissions problem or am I having a brain fade? TIA, Rob