Ludogre
1
Hi!
Iām running 12.0.4 version (but Iāve got the same problem in 12.0.3). When I install an app, Iāve got multiple troubles.
Iāve havenāt got error message in data/nextcloud.log, in my nginx log and in my php-fpm log.
Here is an example with the calendar (1.5.7) app.
Note that apps installation that are integrated in the source of nextcloud works fine. Just extra apps are concerned.
Iāve got the same rights in my apps and extra apps folders and files.
Is someone know an issue for this problem?
Ludogre
2
Iāve just tested to put my calendar directory into source folder instead of extra apps one.
And it works.
Note that Iām running a multi-instance server.
Here is a part of one of my config.php file:
[ā¦]
āapps_pathsā =>
array (
0 =>
array (
āpathā => ā/home/www/data/org/pouet/nuages/instances/pouetpouet/nextcloud/apps/ā,
āurlā => ā/appsā,
āwritableā => false,
),
1 =>
array (
āpathā => ā/home/www/data/org/pouet/nuages/instances/pouetpouet/common/ā,
āurlā => ā/apps1ā,
āwritableā => false,
),
2 =>
array (
āpathā => ā/home/www/data/org/pouet/nuages/instances/pouetpouet/appsā,
āurlā => ā/apps2ā,
āwritableā => true,
),
),
[ā¦]
Path 0 points in sources apps.
Path 1 points in common extra apps for this nextcloud version.
Path 2 points in this instance extra apps.
Paths 0 and 1 are symlinks, but not the 2 one, no.
If I put calendar folder in:
- path 0: it works;
- path 1: it doesnāt work;
- path 2: it doesnāt work.
???
Ludogre
3
OK. Lartza from irc channel helped me.
My nexcloud run on nginx web server.
I didnāt configure my extra apps folder location in my virtual host config file.
Here are the missing configuration part I added to make my extra apps work:
location ~ /apps1/(.*)$ {
alias /home/www/data/org/pouet/nuages/instances/${nextcloud_conffilter}/common/$1;
}
location ~ /app2/(.*)$ {
alias /home/www/data/org/pouet/nuages/instances/${nextcloud_conffilter}/apps/$1;
}
Thanks Lartza.