Gentoo Archives: gentoo-user

From: Dan Johansson <dan@×××.nu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Changed behavior of webapp-config
Date: Mon, 26 Oct 2015 20:38:39
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:


Before I could simply do the following to upgrade an app
# webapp-config -h -U app-1 1.2.3

And this would update the app-1 in /var/www/ to version
(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
* 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

One for the old version:
123456789 0 0 /var/www/

And one for the new
0987654321 0 0 /var/www/

Any suggestions on how to make the "new" webapp-config behave like the
"old" one (short of downgrading of cause)?

Dan Johansson
This message is printed on 100% recycled electrons!


Subject Author
Re: [gentoo-user] Changed behavior of webapp-config Mick <michaelkintzios@×××××.com>