public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Changed behavior of webapp-config
@ 2015-10-26 20:38 Dan Johansson
  2015-10-26 20:56 ` Mick
  0 siblings, 1 reply; 11+ messages in thread
From: Dan Johansson @ 2015-10-26 20:38 UTC (permalink / raw
  To: gentoo-user

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/<version>/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!
***************************************************


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-10-29  8:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26 20:38 [gentoo-user] Changed behavior of webapp-config Dan Johansson
2015-10-26 20:56 ` Mick
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox