Nextcloud version (eg, 20.0.5): 28.0.1
Operating system and version (eg, Ubuntu 20.04): Synology DSM 7.2-64570 Update 3
Apache or nginx version (eg, Apache 2.4.25): Apache HTTP Server 2.4
PHP version (eg, 7.4): 8.2
Dear all,
I tried several times to install Nextcloud with several setup changes, but I can’t go out of this error : each time I try to download and activate “Recognize”, to enable face recognition for photos and so, I’ve got an error:
“Exception
Could not extract app recognize: Out-of-path file extraction {/volume1/@tmp/oc_tmp_sY0xP8-folder/recognize/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/rimraf → …/rimraf/bin.js}”
The output of your Nextcloud log in Admin > Logging:
Here is the log:
Exception
Could not extract app recognize: Out-of-path file extraction {/volume1/@tmp/oc_tmp_sY0xP8-folder/recognize/node_modules/@mapbox/node-pre-gyp/node_modules/.bin/rimraf --> ../rimraf/bin.js}
/volume1/web/nextcloud/apps/settings/lib/Controller/AppSettingsController.php
Ligne 451
OC\Installer->downloadApp(
"recognize"
)
/volume1/web/nextcloud/lib/private/AppFramework/Http/Dispatcher.php
Ligne 230
OCA\Settings\Controller\AppSettingsController->enableApps(
[
"recognize"
],
[]
)
/volume1/web/nextcloud/lib/private/AppFramework/Http/Dispatcher.php
Ligne 137
OC\AppFramework\Http\Dispatcher->executeController(
[
"OCA\\Settings\\Controller\\AppSettingsController"
],
"enableApps"
)
/volume1/web/nextcloud/lib/private/AppFramework/App.php
Ligne 184
OC\AppFramework\Http\Dispatcher->dispatch(
[
"OCA\\Settings\\Controller\\AppSettingsController"
],
"enableApps"
)
/volume1/web/nextcloud/lib/private/Route/Router.php
Ligne 315
OC\AppFramework\App::main(
"OCA\\Settings\\Controller\\AppSettingsController",
"enableApps",
[
"OC\\AppFramework\\DependencyInjection\\DIContainer"
],
[
"settings.AppSettings.enableApps"
]
)
/volume1/web/nextcloud/lib/base.php
Ligne 1069
OC\Route\Router->match(
"/settings/apps/enable"
)
/volume1/web/nextcloud/index.php
Ligne 39
OC::handleRequest()
config.php :
<?php
$CONFIG = array (
'instanceid' => 'xxx',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'aaa.xxx.yy',
),
'datadirectory' => '/volume1/web/nextcloud/data',
'dbtype' => 'mysql',
'version' => '28.0.1.1',
'overwrite.cli.url' => 'https://aaa.xxx.yy',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:zzzz',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'oc_username',
'dbpassword' => 'xxx',
'installed' => true,
);
~
I tried to follow this tuto : Nextcloud installation on a Synology DiskStation with DSM 7.2 | Viking Studios Blog and changed permissions on folders but no way… it’s the 12 times I install, changing some things (with or without data folders outside from web, using Redis or not…), but no success.
Please also note that I was able to downoad and activate other apps, for example Map.
Thank you for any help…