From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B87A713888F for ; Mon, 26 Oct 2015 20:38:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1974121C018; Mon, 26 Oct 2015 20:38:23 +0000 (UTC) Received: from smtp4.mail.fcom.ch (smtp4.mail.fcom.ch [212.60.46.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C171CE078C for ; Mon, 26 Oct 2015 20:38:21 +0000 (UTC) Received: from dmj.nu (174-20-144-5.dyn.cable.fcom.ch [5.144.20.174]) by smtp4.mail.fcom.ch (Postfix) with ESMTPS id 964AF2440B for ; Mon, 26 Oct 2015 21:38:19 +0100 (CET) Received: from [192.168.1.11] (queen.dmj.nu [192.168.1.11]) by dmj.nu with ESMTP; Mon, 26 Oct 2015 21:38:18 +0100 id 000000000071F40B.00000000562E8F3A.0000662F To: gentoo-user@lists.gentoo.org From: Dan Johansson Subject: [gentoo-user] Changed behavior of webapp-config Message-ID: <562E8F3A.7060707@dmj.nu> Date: Mon, 26 Oct 2015 21:38:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: b4c00c88-95fa-42fc-bbb6-ecab3bb1cf7a X-Archives-Hash: 5679cd21a81603e8b5a5e8e74c866dce The other day I noticed that the behavior of webapp-config has changed. I have USE=vhost enabled and I have a directory structure where each "app" is installed in htdocs in its own v-host like this: /var/www/app-1.int.dmj.nu/htdocs/ /var/www/app-2.int.dmj.nu/htdocs/ Before I could simply do the following to upgrade an app # webapp-config -h app-1.int.dmj.nu -U app-1 1.2.3 And this would update the app-1 in /var/www/app-1.int.dmj.nu to version 1.2.3 (note, there is NO -d for directory in there) Doing this now results in this: * Install dir flag not supplied, defaulting to "app-1". * Fatal error: Cannot clean! * Fatal error: No package installed in /var/www/app-1.int.dmj.nu/htdocs/app-1 * Fatal error(s) - aborting I have played around a bit and found that if I add "-d ." it does update the application correct but with some messages (sorry I do not have them at hand now) about webapp-config not able to "clean" the old version. And worse still, I then get two "active" entries in the webapp-config DB (/var/db/webapps/app-1//installs): One for the old version: 123456789 0 0 /var/www/app-1.int.dmj.nu/htdocs And one for the new 0987654321 0 0 /var/www/app-1.int.dmj.nu/htdocs/. Any suggestions on how to make the "new" webapp-config behave like the "old" one (short of downgrading of cause)? KR -- Dan Johansson *************************************************** This message is printed on 100% recycled electrons! ***************************************************