Nextcloud version: 22.2.0
Operating system and version: Arch Linux ARM Raspberry PI 4
Apache or nginx version: Apache 2.4.51
PHP version: 8.0.12
The issue you are facing: When running the command occ files:scan --all
the error message: stat: cannot statx 'file-name-with-special-characters': No such file or directory
appear to every file with special characters, like á or à.
Is this the first time you’ve seen this error?: Y
Steps to replicate it:
- Run the command
occ files:scan --all
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'datadirectory' => '/shared/nextcloud/data',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/share/webapps/nextcloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/lib/nextcloud/apps',
'url' => '/wapps',
'writable' => true,
),
),
'instanceid' => '***',
'passwordsalt' => '***',
'secret' => '***',
'trusted_domains' =>
array (
0 => '***',
),
'dbtype' => 'mysql',
'version' => '22.2.0.2',
'overwrite.cli.url' => '***',
'htaccess.RewriteBase' => '/',
'overwriteprotocol' => 'https',
'dbname' => '***',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '***',
'dbpassword' => '***',
'installed' => true,
'default_phone_region' => 'BR',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/run/redis/redis.sock',
'port' => 0,
),
'maintenance' => false,
'mail_smtpmode' => '***',
'mail_smtpsecure' => '***',
'mail_sendmailmode' => '***',
'mail_from_address' => '***',
'mail_domain' => '***',
'mail_smtpauthtype' => '***',
'mail_smtpauth' => ***,
'mail_smtphost' => '***',
'mail_smtpport' => '***',
'mail_smtpname' => '***',
'mail_smtppassword' => '***',
);
The output of your Apache/nginx/system log in /var/log/____
:
...
stat: cannot statx '/shared/nextcloud/data/***': No such file or directory
stat: cannot statx '/shared/nextcloud/data/***': No such file or directory
stat: cannot statx '/shared/nextcloud/data/***': No such file or directory
stat: cannot statx '/shared/nextcloud/data/***': No such file or directory
stat: cannot statx '/shared/nextcloud/data/***': No such file or directory
stat: cannot statx '/shared/nextcloud/data/***': No such file or directory
...