public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Changed behavior of webapp-config
Date: Mon, 26 Oct 2015 20:56:08 +0000	[thread overview]
Message-ID: <201510262056.19635.michaelkintzios@gmail.com> (raw)
In-Reply-To: <562E8F3A.7060707@dmj.nu>

[-- Attachment #1: Type: Text/Plain, Size: 1164 bytes --]

On Monday 26 Oct 2015 20:38:18 Dan Johansson wrote:
> 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

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' cause 
webapp to assume the directory is '/var/www/app-1.int.dmj.nu/htdocs/app-1'

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2015-10-26 20:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 20:38 [gentoo-user] Changed behavior of webapp-config Dan Johansson
2015-10-26 20:56 ` Mick [this message]
2015-10-27 14:17   ` J. Roeleveld
2015-10-27 20:10   ` Dan Johansson
2015-10-27 20:56     ` Neil Bothwick
2015-10-28 16:45     ` covici
2015-10-28 19:48       ` J. Roeleveld
2015-10-28 20:10         ` Dan Johansson
2015-10-28 23:01         ` Neil Bothwick
2015-10-29  7:21           ` J. Roeleveld
2015-10-29  8:45             ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201510262056.19635.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox