From owner-freebsd-ports@FreeBSD.ORG Fri Apr 7 12:15:30 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4235E16A400 for ; Fri, 7 Apr 2006 12:15:30 +0000 (UTC) (envelope-from spadge@fromley.net) Received: from queue02-winn.ispmail.ntl.com (queue02-winn.ispmail.ntl.com [81.103.221.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0376143D6E for ; Fri, 7 Apr 2006 12:15:28 +0000 (GMT) (envelope-from spadge@fromley.net) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20060407094006.DNDH29343.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Fri, 7 Apr 2006 10:40:06 +0100 Received: from tobermory.home ([86.0.162.158]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20060407094006.FPTZ16286.aamtaout03-winn.ispmail.ntl.com@tobermory.home> for ; Fri, 7 Apr 2006 10:40:06 +0100 Received: from [192.168.124.185] (unknown [192.168.124.185]) by tobermory.home (Postfix) with ESMTP id 8FDF8A6CA5 for ; Fri, 7 Apr 2006 10:40:02 +0100 (BST) Message-ID: <44363371.9050200@fromley.net> Date: Fri, 07 Apr 2006 10:40:01 +0100 From: Spadge User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <20060407032220.W947@ganymede.hub.org> <1144391457.23833.6.camel@shumai.marcuscom.com> In-Reply-To: <1144391457.23833.6.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: BEWARE upgrading Horde System X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 12:15:30 -0000 Joe Marcus Clarke wrote: > On Fri, 2006-04-07 at 03:24 -0300, Marc G. Fournier wrote: >> Figuring that, like alot of ports, it would check for a previous existence >> of configuration files, I just upgraded my horde system ... and now I have >> to go through and reconfigure all the servers :( It didn't even back up >> the original files that were there, it just overwrote them *scratch head* >> >> So, if you are going to upgrade ... make sure you back up everything >> before hand :( > > The Horde config is backed up to conf.php.previous on every upgrade. > Simply copying this file back to conf.php, checking permissions, then > regenerating the config through the web is enough to get you right back > where you left off (provided you have done any other required upgrade > steps). > > Joe > Which begs the question why overwrite the working .conf with a .dist copy in the first place? I never understood this about horde/imp, and it's through getting tired of fixing it every time I upgraded that I finally gave up and used something less good instead. Why not overwrite the .dist and leave the .conf as it was? OK, so it may not work after an update, but then again, it may. The way it is currently set up, it's 100% guaranteed to *not* work after an upgrade. If something is going to break after an upgrade, I'd prefer it to be handled in the same way that phpBB2 does it; the board won't run at all until you run the upgrade/update scripts and delete the install dir, but it doesn't mess with your confs. And if the concern is that running the new version with the old confs may cause serious problems, this would be a kinder way to handle it. For starters, "you can not run this until you have deleted install/" or something is at least informative. I loved using horde/imp, but I hated administering it. -- Spadge "Intoccabile" www.fromley.com