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