Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i0zMZ-0003G6-IY for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2019 02:31:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i0zMX-0001Ix-FW for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2019 02:31:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i0zMX-0001DM-3F for pgsql-general@lists.postgresql.org; Fri, 23 Aug 2019 02:31:37 +0000 Received: from mail-oi1-x241.google.com ([2607:f8b0:4864:20::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i0zMP-0004XY-KR for pgsql-general@postgresql.org; Fri, 23 Aug 2019 02:31:36 +0000 Received: by mail-oi1-x241.google.com with SMTP id t24so5905474oij.13 for ; Thu, 22 Aug 2019 19:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lucee.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=D6fIuS0vlNE5a2FtWFe0r7kITtw0um1VMI27ZnUBAs8=; b=NTRfujjRen4xlQW6V+HIxilndu3i2xK+HUs4l4HWvW6WUW+x/m3JSKwnQMflEsXOT2 eX8IgInS5QBeOSTU28yzNN5CUwJkoye+4oK1KX9MNNBTXNq5+IQ+hIoa7DEwOkJtAdTn cr3YXd4OKW+ear86A2IT8t2o4yVZRa7Y0znf3WNV5c4qa+0gSw7LC+uFlgi5ae8fl0Ii MABnjtdQtcqX1esw3Xnh03if/Bxoz+RyBWiRqwyr/nY2Z0f8rD+/P7dXms50yyR7jBpt Kl+ppEY3+vzs8wiv/Phex+3LiCRs56sK9OACADqUobwlr+5HFYcIHNOem6FaUPCJCaKJ 0irQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=D6fIuS0vlNE5a2FtWFe0r7kITtw0um1VMI27ZnUBAs8=; b=BGslLMiflWGz1KiXUy5oJ/tjdrlFARo9j2Z0MJz9OGUTDDqoNRhz4gLMpfY/ZA5bqi sB5JYuXM07CsBhpW+K2EvOJFFtaF4qxnm0Ardt0ofPxtfEYIGeXi24/4tL3L6T+2bpNG sShRYFJIwnGx1HyvN2I1bMD5R6P3EMQP9L6wqy2VN499OSwiFyTwTHu6EorXNR/yceWh 4pizvm5pGdBBkmN4Ez2/M04wS6du/sT9SlMp5cM+vY6ajT1K6vcsQVtA1y8xiHCLoVBK UIzIsG69CEK8CDXwWC02HwlztyrLOM6S36dxzjf0sQLqyfNW8CPamUHmjo7lZ03uPbSc AMnw== X-Gm-Message-State: APjAAAX/d5g1tDqbd3+KuTg4Hv6BuXUy3kGQl3UjP+jR+e3rUbdAtaMM YUg5T7IgEpQI7yu/4UOWd0rZQRGJla0= X-Google-Smtp-Source: APXvYqwm7OffsOMUlkNBlonYVOkuHSlYTxf/pVhom+8lqGQkCOl7VqtCR6BaajbYXzChI+JRNjqXzw== X-Received: by 2002:aca:cc56:: with SMTP id c83mr1557573oig.75.1566527486275; Thu, 22 Aug 2019 19:31:26 -0700 (PDT) Received: from ?IPv6:2600:1700:4000:8120:d5f5:f0b8:e2aa:f384? ([2600:1700:4000:8120:d5f5:f0b8:e2aa:f384]) by smtp.googlemail.com with ESMTPSA id a22sm547938otr.3.2019.08.22.19.31.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Aug 2019 19:31:25 -0700 (PDT) Subject: Re: database files are incompatible with server To: Adrian Klaver , pgsql-general References: <2bee6c33-fcf8-6018-3f1f-92a085490f90@lucee.org> <1707638f-71b1-6b06-5200-cc5f2c899f94@aklaver.com> From: "Igal @ Lucee.org" Message-ID: <266cb84e-a4a6-01e6-27c0-6fca5986d0a7@lucee.org> Date: Thu, 22 Aug 2019 19:31:22 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1707638f-71b1-6b06-5200-cc5f2c899f94@aklaver.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Adrian, On 8/22/2019 5:08 PM, Adrian Klaver wrote: > On 8/22/19 4:52 PM, Igal @ Lucee.org wrote: >> I have a data directory that was created by Postgres 12 (I thought >> beta 3 but now am not sure anymore) running in Docker. >> >> I have installed Postgres 12b3 as a Systemd service and am trying to >> set the cluster to the same PGDATA.  I have set the owner of the >> directory to postgres:postrgres, and the permissions to 0700, but I'm >> getting the following error: >> >> 2019-08-22 23:40:48.759 UTC [23044] FATAL:  database files are >> incompatible with server >> 2019-08-22 23:40:48.759 UTC [23044] DETAIL:  The database cluster was >> initialized with CATALOG_VERSION_NO  201906161, but the server was >> compiled with CATALOG_VERSION_NO 201907221. > > So the cluster is from an older version then the server. > >> How can I start up the Cluster? >> >> Is version 201906161 beta 2? > > Yes: > > https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/catalog/catversion.h;h=fe44cae3ff453ccc02e6c56548c9311b5777bf1f;hb=0ab7110bcbcce5ff58afb32e7871c54e87502139 > Thanks for the link.  It's good to know where these things are stored. Thank you, Igal