1 |
On 26.10.2015 21:56, 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 |
None of the above works. :-( |
36 |
|
37 |
# webapp-config -U -h app-1.int.dmj.nu 1.2.3 |
38 |
usage: webapp-config [-ICU] [-dghus] <APPLICATION VERSION> |
39 |
webapp-config: error: argument -U/--upgrade: expected 2 argument(s) |
40 |
|
41 |
# webapp-config -h app-1.int.dmj.nu -U 1.2.3 |
42 |
usage: webapp-config [-ICU] [-dghus] <APPLICATION VERSION> |
43 |
webapp-config: error: argument -U/--upgrade: expected 2 argument(s) |
44 |
|
45 |
# webapp-config -h app-1.int.dmj.nu -U . 1.2.3 |
46 |
* Install dir flag not supplied, defaulting to ".". |
47 |
* Fatal error: Please emerge app-1/.-1.2.3 first. |
48 |
* Fatal error(s) - aborting |
49 |
|
50 |
-- |
51 |
Dan Johansson |
52 |
*************************************************** |
53 |
This message is printed on 100% recycled electrons! |
54 |
*************************************************** |