I excluded 2 folders from scan of owc, but the result scan give me always warning:
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
I wrote into config.php:
‘excluded_directories’ => [
that files are into owncloud folder.
the intere file config is:
$CONFIG = array (
'instanceid' => 'xx',
'passwordsalt' => 'xx',
'secret' => '+MawUtM9f2aruJV/OQ+xx+/36gRN/',
0 => 'xxx',
'datadirectory' => 'xxx',
'overwrite.cli.url' => 'xxx',
'dbtype' => 'mysql',
'version' => '10.2.1.4',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_administrato2',
'dbpassword' => 'xxx',
'logtimezone' => 'UTC',
'installed' => true,
'loglevel' => 2,
'maintenance' => false,
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'host' => 'localhost',
'port' => 6379,
'timeout' => 0.0,
'password' => '',
'log_rotate_size' => 209715200,
0 => 'my-theme',
0 => '.DS_Store',
1 => 'Thumbs.db',
2 => '.directory',
3 => 'core/img/background.jpg',
'excluded_directories' => [
i think this is not a topic matching the purpose of the “Development” category but more like something which should be discussed in the “Server” category:
Any discussion around anything related to the development around any of the ownCloud components.
This could be discussions about features, technical requirements like supported PHP versions, new design ideas and so on.
Please do not use this category for support or help requests
About the Development category
Maybe you can edit your post and set a better fitting category?
Concerning your question: I don’t think that you can use
excluded_directories to exclude directories from the integrity check. At least the documentation below doesn’t include any references on the integrity check:
integrity.excluded.files configuration options is what you are looking for?
So don’t exist in owc the possibility of exclude whole folder… it seems strange.
I have a my folder into owncloud folder and it never pass the integrity check, do I have to take that message forever?
it seems strange…
have you tried to add both folders to the correct
integrity.excluded.files configuration option and re-scanned the integrity afterwards? Maybe this configuration option also accepts folders / directories?
0 => ‘.DS_Store’,
1 => ‘Thumbs.db’,
2 => ‘.directory’,
3 => ‘core/img/background.jpg’,
4 => ‘services’,
5 => ‘cronjobs’,
where the lasts rows are name folders (from owc root), but it doesn’t work… How do I resolve?
if you have already re-scanned the integrity after adding the directories then i think it could be possible that this config option only accept files and not directories?