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 CBB0713888F for ; Wed, 28 Oct 2015 16:45:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2419121C050; Wed, 28 Oct 2015 16:45:09 +0000 (UTC) Received: from mail0131.smtp25.com (mail0131.smtp25.com [75.126.84.131]) (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 D5C9E21C010 for ; Wed, 28 Oct 2015 16:45:07 +0000 (UTC) Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.9/8.14.8) with ESMTP id t9SGj4OM001650 for ; Wed, 28 Oct 2015 12:45:04 -0400 From: covici@ccs.covici.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Changed behavior of webapp-config In-reply-to: <562FDA2C.8070302@dmj.nu> References: <562E8F3A.7060707@dmj.nu> <201510262056.19635.michaelkintzios@gmail.com> <562FDA2C.8070302@dmj.nu> Comments: In-reply-to Dan Johansson message dated "Tue, 27 Oct 2015 21:10:20 +0100." X-Mailer: MH-E 8.5; nmh 1.6; GNU Emacs 23.4.1 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="us-ascii" Content-ID: <1647.1446050704.1@ccs.covici.com> Content-Transfer-Encoding: quoted-printable Date: Wed, 28 Oct 2015 12:45:04 -0400 Message-ID: <1649.1446050704@ccs.covici.com> X-SpamH-OriginatingIP: 70.109.53.110 X-SpamH-Filter: d-out-001.smtp25.com-t9SGj49N015578 X-Archives-Salt: e9036106-e398-42e5-af8f-4408ec3521fb X-Archives-Hash: 6f91fe0af2630f621bc265f896ee9d8f Dan Johansson wrote: > On 26.10.2015 21:56, 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 change= d. > >> I have USE=3Dvhost enabled and I have a directory structure where eac= h > >> "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 versi= on > >> 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 > > = > > Did you try to run it like so: > > = > > webapp-config -h app-1.int.dmj.nu -U . 1.2.3 > > = > > or even better: > > = > > webapp-config -U -h app-1.int.dmj.nu 1.2.3 > > = > > The above error you're getting above points to your call for 'app-1' c= ause = > > webapp to assume the directory is '/var/www/app-1.int.dmj.nu/htdocs/ap= p-1' > = > None of the above works. :-( > = > # webapp-config -U -h app-1.int.dmj.nu 1.2.3 > usage: webapp-config [-ICU] [-dghus] > webapp-config: error: argument -U/--upgrade: expected 2 argument(s) > = > # webapp-config -h app-1.int.dmj.nu -U 1.2.3 > usage: webapp-config [-ICU] [-dghus] > webapp-config: error: argument -U/--upgrade: expected 2 argument(s) > = > # webapp-config -h app-1.int.dmj.nu -U . 1.2.3 > * Install dir flag not supplied, defaulting to ".". > * Fatal error: Please emerge app-1/.-1.2.3 first. > * Fatal error(s) - aborting > = The following command worked for me and I don't think webapp-config has been updated since webapp-config --secure -d owncloud -h covici.com -U owncloud 8.1.1 Where you can have -I instead of -U and --secure is optional of course. -- = Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com