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 DF52813888F for ; Tue, 27 Oct 2015 14:18:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 457E521C011; Tue, 27 Oct 2015 14:18:25 +0000 (UTC) Received: from gw2.antarean.org (gw2.antarean.org [141.105.125.208]) by pigeon.gentoo.org (Postfix) with ESMTP id 34ACC21C003 for ; Tue, 27 Oct 2015 14:18:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id 22B2F125E7A for ; Tue, 27 Oct 2015 14:17:04 +0000 () X-Virus-Scanned: amavisd-new at antarean.org Received: from gw2.antarean.org ([127.0.0.1]) by localhost (gw2.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x664_6AB1dSa for ; Tue, 27 Oct 2015 14:16:58 +0000 (%Z) Received: from data.antarean.org (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id B5ACA121F35 for ; Tue, 27 Oct 2015 14:16:58 +0000 () Received: from andromeda.localnet (unknown [10.20.13.200]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id D87114C for ; Tue, 27 Oct 2015 15:16:07 +0100 (CET) From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Changed behavior of webapp-config Date: Tue, 27 Oct 2015 15:17:57 +0100 Message-ID: <22954470.Sqt7Nlg6oE@andromeda> User-Agent: KMail/4.14.8 (Linux/4.0.5-gentoo; KDE/4.14.8; x86_64; ; ) In-Reply-To: <201510262056.19635.michaelkintzios@gmail.com> References: <562E8F3A.7060707@dmj.nu> <201510262056.19635.michaelkintzios@gmail.com> 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: multipart/signed; boundary="nextPart7268904.PmmbFoHPGq"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Archives-Salt: 2528e327-3d64-450b-888d-3c5d8b90a4df X-Archives-Hash: 729c107066f19450de2b47124d3bf477 --nextPart7268904.PmmbFoHPGq Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Monday, October 26, 2015 08:56:08 PM Mick wrote: > On Monday 26 Oct 2015 20:38:18 Dan Johansson wrote: > > The other day I noticed that the behavior of webapp-config has chan= ged. > > I have USE=3Dvhost enabled and I have a directory structure where e= ach > > "app" is installed in htdocs in its own v-host like this: > >=20 > > /var/www/app-1.int.dmj.nu/htdocs/ > > /var/www/app-2.int.dmj.nu/htdocs/ > >=20 > > 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 > >=20 > > And this would update the app-1 in /var/www/app-1.int.dmj.nu to ver= sion > > 1.2.3 > > (note, there is NO -d for directory in there) > >=20 > > 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 >=20 > Did you try to run it like so: >=20 > webapp-config -h app-1.int.dmj.nu -U . 1.2.3 >=20 > or even better: >=20 > webapp-config -U -h app-1.int.dmj.nu 1.2.3 >=20 > The above error you're getting above points to your call for 'app-1' = cause > webapp to assume the directory is '/var/www/app-1.int.dmj.nu/htdocs/a= pp-1' Had the same issue myself. In the past, I had to specify the application name (app-1) when doing a= n=20 upgrade. I take it that isn't necessary anymore? Will test that. =2D- Joost --nextPart7268904.PmmbFoHPGq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJWL4epAAoJEKMtBlgju+cUxm8H/ReG+ELrAc0xeJdVwvb8uIFr 5PNMMLzyjVG6/YehPNmkcADII8+SSbuSvar2Snhyhoi+SAApT59Lpp1c7cmFrSl9 sobhCcjC9MpXxdsGxaPsRuj2DaxkNVlrwGuVTL+r0VMdq3bXQNwb5KAwKJZp/pri qApLcIf98tbCTW6Zlnk128BjeheTC2AMbHJ39FrG7knZaWLrlwlTMpxRC8nqKtCI vFKaTX2GaaYX9o0NcZB/JiQ1+EBSyw62VKQ2JHig9I6fEYAG/TlwWPOtyn7eDx+B YSzKSOKjpuykCuExg6T5ljwX/8iZbppzVMVd5O11bKgsGudsXcFywhLY7m8+bXs= =CpVl -----END PGP SIGNATURE----- --nextPart7268904.PmmbFoHPGq--