Skip to content

External storage failed to be browsed in Nextcloud after $ occ config:app:set files_excludedirs exclude --value '[".*"]'  #3

Description

@janusn

Synopsis:

Folders from external storage cannot be open with exclude set to [".*"] or ["/.*"] or ["*/.*"].

Procedures performed:

files_excludedirs was chown'ed and chmod'ed
app installed and enabled
Settings

$ php7 /config/www/nextcloud/occ config:app:set files_excludedirs exclude --value '[".*"]'
Config value exclude for app files_excludedirs set to [".*"]

Expected result:

No folder with the name started with "." shows up.

Actual result:

All external storages cannot be open in Nextcloud

Environment:

Hardware: Synology DS918+ and DX517, 16 GB RAM
Host: Synology DSM 7.1-42661 Update 4
Nextcloud: linuxserver/nextcloud:latest v 25.0.1
excludedirs: v1.0.1-beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions