From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ePgqN+TXOGelXQAAqHPOHw:P1 (envelope-from ) for ; Sat, 16 Nov 2024 17:35:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ePgqN+TXOGelXQAAqHPOHw (envelope-from ) for ; Sat, 16 Nov 2024 18:35:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="Yh9BJw/e"; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=key2 header.b="eg/K0V2a"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731778532; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HngnG8JJlkgcA1kFnZrGDVSKS2T37g9ipRI6Cep5sKM=; b=tJ+MDRneL7xtvXMCcbB9y5Z3CrJ+iOLBAOo/GxtJWBNYa9jhtlMpGsvV/3yLlyxZKQ/bDf ev9awWk81ejEdnikpXHdIz23Ip2WdIHgaIDhCwg+61sEpqHiIUQv8MOG7W7FtgKGRAx1QK Gs09BPzxjef8fzS1a29SgPF0k8igT+84bLXj/L4IZSUFTVrrtscw1ueTH3kkHb+xVO6qfe gjFdS8TT58RIfZAtfLLbfTkduLo/m5Me4KX6LOSZ4Izh/XEajY+ACiCtaSB9BatXmvpMBt 762CEfZ/pzobo2kogZoMIVQlFKqabr78Pm4O3FLvAL2PUevAaAct/SfF+0mtNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="Yh9BJw/e"; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=key2 header.b="eg/K0V2a"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731778532; a=rsa-sha256; cv=none; b=tsznjoTcdD7UDT4vZo4/2ffKBURLZxyj3+IsMo5Z0iSPGJmP6KKNBZTbtgbyN9uHA8NNFH iomLQ3JeuP5sgCgrCiuCM/+v8nS+y0ISFJl1hng3hnyA8XpBgQ68oMn7lvqzCnd7aXIMWT lNfN4xRYPGZIws2LqYUrDNGyaELbL1Lf61+Jflo5zMDeM+hyoRfP5ew21kr73KI1tFcAn4 v7oOfYj2j1D+4UrDZddaOwqPDek94a+V67/VtLM6eGqQX7WORVcwordv6Sp3ZIRrEziHxW DDRDjQg+zlzQ6ULA0FSLXX8MdafDgcwNcLt/nHbfSi7lJOkJiqe6UfbeKtRqxw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 10AE391F50 for ; Sat, 16 Nov 2024 18:35:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCMhM-0006fR-SC; Sat, 16 Nov 2024 12:35:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCMhK-0006dK-HB for guix-patches@gnu.org; Sat, 16 Nov 2024 12:35:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCMhK-0007Ck-1y for guix-patches@gnu.org; Sat, 16 Nov 2024 12:35:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=HngnG8JJlkgcA1kFnZrGDVSKS2T37g9ipRI6Cep5sKM=; b=Yh9BJw/eIFiSkg+zjHrt3TPrMc0cee/Y8hARGOTHZbP+Xc4tllfA87c1Lpb4mqO7hReASQzggpq5/MWecNB8E/E+FnAM5zWc0ZmdczdQYNw2ZYFyWjBkUrYQNJjWQZ6HJN7zyF9t6NUH+CfKpnFPi/5N60aPnHmSIgIop5/lmEMotWW63cYJ3RQuOWIDGFgIfCLgkwrYYnI8Jdqq0EbnbRJzUUvEAlaUuywxrRaEz/zufC2YAjEzTTPGrqMaPsObCUSzzFSZMa3ZY6fwbX2nuYFmUpiss5Q28ZOVE+mRaSSS73FCC2qjirQLkLq61Ry9hoZT4+aIb/aK4T6HJQXvBg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCMhJ-0006GC-SG for guix-patches@gnu.org; Sat, 16 Nov 2024 12:35:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74058] [PATCH v8 1/2] gnu: postgresql-configuration: Unset default postgresql. Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Nov 2024 17:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74058 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Graves Cc: 74058@debbugs.gnu.org Received: via spool by 74058-submit@debbugs.gnu.org id=B74058.173177847024009 (code B ref 74058); Sat, 16 Nov 2024 17:35:01 +0000 Received: (at 74058) by debbugs.gnu.org; 16 Nov 2024 17:34:30 +0000 Received: from localhost ([127.0.0.1]:54641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCMgo-0006FB-CU for submit@debbugs.gnu.org; Sat, 16 Nov 2024 12:34:30 -0500 Received: from relay.yourmailgateway.de ([188.68.61.107]:37967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCMgl-0006Ey-Qz for 74058@debbugs.gnu.org; Sat, 16 Nov 2024 12:34:29 -0500 Received: from mors-relay-8405.netcup.net (localhost [127.0.0.1]) by mors-relay-8405.netcup.net (Postfix) with ESMTPS id 4XrLc168BMz6y09; Sat, 16 Nov 2024 18:34:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1731778465; bh=W+5R37moNrgKzn77HTSLh7+naYHML+JsCWrS/2j1HWY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=eg/K0V2aFeyPVj8OULBWiN+gvHIgQc7/M7zlui8f/Nz86p33GcBHXY5QuGUfSXm3Q iWgkQNGlE0gNEj0EBs5W0OmzgDNLJTZPZaWHfybvlOw+8eBj8U4bVqiZJbW0svq+oi 8zUCDkpVhLxj9xhUWi6RazIFYEbBNDGtrcAAMK5/k9EDSZQHXBDP3r/bauiF2j5v58 H1FVSggieFk2N9PoQvjxx64HTwEUfaK5/zG0r2/ef9BdjRlOOEB1MjituUC0EUGjPT O69gzzfg+PrktCW7KF1N1g4/tb2iT/PVYgjSTUvwR5MQKgxNKG7JDA4Sa1Mp7dqKNr r4mHLj1ouFpPw== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8405.netcup.net (Postfix) with ESMTPS id 4XrLc15MZ1z6xxx; Sat, 16 Nov 2024 18:34:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4XrLc03PlFz8scF; Sat, 16 Nov 2024 18:34:24 +0100 (CET) Received: from florianhp (ipb218687b.dynamic.kabel-deutschland.de [178.24.104.123]) by mxe217.netcup.net (Postfix) with ESMTPSA id 1009F83EE6; Sat, 16 Nov 2024 18:34:19 +0100 (CET) From: "pelzflorian (Florian Pelz)" In-Reply-To: <20241116134811.4660-1-ngraves@ngraves.fr> (Nicolas Graves via Guix-patches via's message of "Sat, 16 Nov 2024 14:48:02 +0100") References: <20241028105741.12834-1-ngraves@ngraves.fr> <20241116134811.4660-1-ngraves@ngraves.fr> Date: Sat, 16 Nov 2024 18:34:43 +0100 Message-ID: <87a5dzccb0.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 1009F83EE6 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: QKssRvDTLtx4zWX8MaSBGeqTAOPTbeowDQFGmd4X3Qc4xzTSvQIs9H4h X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -4.38 X-Spam-Score: -4.38 X-Migadu-Queue-Id: 10AE391F50 X-TUID: 0LrrZ8DVFmGk Nicolas Graves via Guix-patches via writes: > -(define-deprecated (postgresql-service #:key (postgresql postgresql) > +(define-deprecated (postgresql-service #:key (postgresql postgresql-10) Hello Nicolas. Sorry, another issue. As it should be, after createdb in `guix shell postgresql@14`, reconfigure = with (service postgresql-service-type) gives the error guix system: Fehler: /etc/config.scm:72:21: no value specified for service = of type 'postgresql' ; I change it to (service postgresql-service-type (postgresql-configuration (postgresql postgresql-10))) and reconfigure works again, but after rebooting, sudo herd status shows postgres has failed to start. /var/log/postgresql/pg_ctl.log contains: 2024-11-15 20:37:27.366 GMT [32375] LOG: ending log output to stderr 2024-11-15 20:37:27.366 GMT [32375] HINT: Future log output will go to log= destination "syslog". 2024-11-16 08:06:09.690 GMT [342] LOG: ending log output to stderr 2024-11-16 08:06:09.690 GMT [342] HINT: Future log output will go to log d= estination "syslog". 2024-11-16 11:48:56.075 GMT [344] LOG: ending log output to stderr 2024-11-16 11:48:56.075 GMT [344] HINT: Future log output will go to log d= estination "syslog". 2024-11-16 16:41:19.144 GMT [347] FATAL: database files are incompatible w= ith server 2024-11-16 16:41:19.144 GMT [347] DETAIL: The data directory was initializ= ed by PostgreSQL version 14, which is not compatible with this version 10.2= 3. Should we set the default to postgresql-14 and change /etc/news.scm to recommend version 14, or instead recommend looking for an error in file /var/log/postgresql/pg_ctl.log? I used `guix shell postgresql@14` because it=E2=80=99s the version I get wi= th `guix build -e '(@ (gnu packages databases) postgresql)'`. Was that wrong? Regards, Florian