1 |
On Monday, October 26, 2015 08:56:08 PM Mick wrote: |
2 |
> On Monday 26 Oct 2015 20:38:18 Dan Johansson wrote: |
3 |
> > The other day I noticed that the behavior of webapp-config has changed. |
4 |
> > I have USE=vhost enabled and I have a directory structure where each |
5 |
> > "app" is installed in htdocs in its own v-host like this: |
6 |
> > |
7 |
> > /var/www/app-1.int.dmj.nu/htdocs/ |
8 |
> > /var/www/app-2.int.dmj.nu/htdocs/ |
9 |
> > |
10 |
> > Before I could simply do the following to upgrade an app |
11 |
> > # webapp-config -h app-1.int.dmj.nu -U app-1 1.2.3 |
12 |
> > |
13 |
> > And this would update the app-1 in /var/www/app-1.int.dmj.nu to version |
14 |
> > 1.2.3 |
15 |
> > (note, there is NO -d for directory in there) |
16 |
> > |
17 |
> > Doing this now results in this: |
18 |
> > * Install dir flag not supplied, defaulting to "app-1". |
19 |
> > * Fatal error: Cannot clean! |
20 |
> > * Fatal error: No package installed in |
21 |
> > /var/www/app-1.int.dmj.nu/htdocs/app-1 |
22 |
> > * Fatal error(s) - aborting |
23 |
> |
24 |
> Did you try to run it like so: |
25 |
> |
26 |
> webapp-config -h app-1.int.dmj.nu -U . 1.2.3 |
27 |
> |
28 |
> or even better: |
29 |
> |
30 |
> webapp-config -U -h app-1.int.dmj.nu 1.2.3 |
31 |
> |
32 |
> The above error you're getting above points to your call for 'app-1' cause |
33 |
> webapp to assume the directory is '/var/www/app-1.int.dmj.nu/htdocs/app-1' |
34 |
|
35 |
Had the same issue myself. |
36 |
|
37 |
In the past, I had to specify the application name (app-1) when doing an |
38 |
upgrade. |
39 |
I take it that isn't necessary anymore? |
40 |
|
41 |
Will test that. |
42 |
|
43 |
-- |
44 |
Joost |