From user-return-22530-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Mon Oct 15 11:34:15 2012 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3505BD92E for ; Mon, 15 Oct 2012 11:34:15 +0000 (UTC) Received: (qmail 34439 invoked by uid 500); 15 Oct 2012 11:34:13 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 34384 invoked by uid 500); 15 Oct 2012 11:34:12 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 34369 invoked by uid 99); 15 Oct 2012 11:34:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2012 11:34:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [91.195.24.3] (HELO mail.open.bg) (91.195.24.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2012 11:34:05 +0000 Received: from [78.83.28.88] (port=46251 helo=eee-az) by mail.open.bg with esmtpsa (Cipher SSL3.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.77) id 1TNivX-00031u-Tz by authid with login for ; Mon, 15 Oct 2012 14:33:43 +0300 Date: Mon, 15 Oct 2012 14:35:24 +0300 From: svilen To: user@couchdb.apache.org Subject: Re: how to recreate _users database? Message-ID: <20121015143524.1f5924cd@eee-az> In-Reply-To: <302D5147-41CF-4AC1-9EB5-B1D62B60D8C1@apache.org> References: <20121015134912.40d5ce07@eee-az> <52176076-C487-4CC6-A6D4-112D6853DCF0@apache.org> <20121015141435.22875170@eee-az> <302D5147-41CF-4AC1-9EB5-B1D62B60D8C1@apache.org> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org =20 > > i was playing with replacing users-db > > via /_config/couch_httpd_auth/authentication_db and an error in the > > request has left some messy name in the /etc/couchdb/local.ini - > > and that survives even reinstall >=20 > Yeah, that is intentional, we don't want to override any > customisations when you upgrade. The installer just doesn=E2=80=99t copy = over > a new local.ini when it sees an existing one. If you end up with a > bad config value, that persists. Uninstalling / deleting local.ini > prior to the reinstall would get you restarted cleanly. that's fine. Though i didnt find anywhere that touching /_config would actualy rewrite local.ini. and it would be helpful if the wrong-name causing the trouble was printed in the error-log..=20 anyway, have fun svilen > > On Mon, 15 Oct 2012 13:00:36 +0200 > > Jan Lehnardt wrote: > >=20 > >> That sounds odd, which CouchDB version are you running? > >>=20 > >> On Oct 15, 2012, at 12:49 , svilen wrote: > >>=20 > >>> hi > >>> the _users db is deleted on me filesystem.=20 > >>> And now restarting couchdb fails > >>> with ..illegal_database_name, ensure_users_db_exists > >>>=20 > >>> reinstalling didnt help.. > >>> any idea? > >>>=20 > >>> svilen > >>=20 >=20