Skip to content

Trailing Whitespace Directory breaks Nextcloud Sync and Windows Explorer #5843

@ccoenen

Description

@ccoenen

I have a directory a user of mine shared with me. She has five subdirectories, one of which does not show up in the sync client. I would love for someone to help me debug this.

This is what it looks like side-by-side (same directory) on the web and in nextcloud sync:

2017-07-23 20_26_38-nextcloud

The missing directory shows up in webdav, but reads as "empty". It is not empty on the web:

2017-07-23 20_35_40-mit

Steps to reproduce

I am not yet sure, I would require some guidance on how to tackle this.

Steps have been added to this post: #5843 (comment)

Expected behaviour

The shown directory contains files. They are visible on the web. The same directory shows up empty in WebDAV. The Directory is not visible in the nextcloud sync client.

Operating system:
Ubuntu 16.04 / xenial

Web server:
Apache2 (from packages)

Database:
Mariadb (from packages)

PHP version:
php7.0.18 (from packages)

Nextcloud version: (see Nextcloud admin page)
11.0.3

Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install of 11.0.x and upgraded to 11.0.3 at some point

Where did you install Nextcloud from:
zipfile from nc website

Integrity

Integrity ``` No errors have been found. ```

List of activated apps:

App list
root@$someHost:/var/www/nextcloud# sudo -u www-data php occ app:list
Enabled:
  - activity: 2.4.1
  - calendar: 1.5.3
  - comments: 1.1.0
  - dav: 1.1.1
  - deck: 0.2.1
  - direct_menu: 0.10.2
  - federatedfilesharing: 1.1.1
  - federation: 1.1.1
  - files: 1.6.1
  - files_pdfviewer: 1.0.1
  - files_sharing: 1.1.1
  - files_texteditor: 2.2
  - files_trashbin: 1.1.0
  - files_versions: 1.4.0
  - files_videoplayer: 1.0.0
  - firstrunwizard: 2.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0
  - nextcloud_announcements: 1.0
  - notifications: 1.0.1
  - password_policy: 1.1.0
  - provisioning_api: 1.1.0
  - serverinfo: 1.1.1
  - sharebymail: 1.0.1
  - survey_client: 0.1.5
  - systemtags: 1.1.3
  - theming: 1.1.1
  - twofactor_backupcodes: 1.0.0
  - updatenotification: 1.1.1
  - workflowengine: 1.1.1
Disabled:
  - admin_audit
  - encryption
  - external
  - files_accesscontrol
  - files_automatedtagging
  - files_external
  - files_retention
  - gallery
  - templateeditor
  - user_external
  - user_ldap
  - user_saml

Nextcloud configuration:

Config report
root@owncloud:/var/www/nextcloud# sudo -u www-data php occ config:list system
{
    "system": {
        "instanceid": "ocro5q18q0to",
        "trusted_domains": [
            "REDACTED"
        ],
        "datadirectory": "\/var\/www\/nextcloud-data",
        "overwrite.cli.url": "https:\/\/REDACTED",
        "dbtype": "mysql",
        "dbname": "nextcloud_media",
        "dbhost": "localhost",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "localhost",
            "port": 6379
        },
        "allow_user_to_change_display_name": true,
        "remember_login_cookie_lifetime": 2592000,
        "session_lifetime": 604800,
        "skeletondirectory": "",
        "loglevel": 1,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "version": "11.0.3.2",
        "installed": true,
        "mail_from_address": "REDACTED",
        "mail_smtpmode": "smtp",
        "mail_domain": "REDACTED",
        "mail_smtpsecure": "tls",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "REDACTED",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false
    }
}

Are you using external storage, if yes which one: local/smb/sftp/...
nope.

Are you using encryption: yes/no
nope.

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
nope.

Client configuration

Browser:
not applicable

Operating system:
not applicable

Logs

Web server error log

Web server error log (empty)
nothing.

Nextcloud log (data/nextcloud.log)

Nextcloud log (nothing related)
nothing related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions