Can't open directories and files containing spaces

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 18.0.2): 19.0
Operating system and version (eg, Ubuntu 20.04): hosting
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1): 7.3.19

The issue you are facing:

Hello all, I can’t open directories and files containing spaces. The windows client can’t even update in these directories. The android app doesn’t work with this folders. The mail app doesn’t work as i suspect it is working with directories with spaces?

Files and directories without spaces are working normal.

I suspect the issue began in June 9 when i updated from 18.0.4 to 18.0.6. A couple days ago I updated to 19.0 hoping to solve it, but it is the same. All upgrade logs shows no errors, and i didn’t notice errors.

Maybe a config in the server (I haven’t changed anything myself)?

Any help is greatly appreciated.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. I don’t know

The output of your Nextcloud log in Admin > Logging:

Sabre\DAV\Exception\ServiceUnavailable: Exception: The requested uri(/remote.php/webdav/folder/Edr%C3%B3nica%20T%C3%A9cnico/projects/EcoHydros%20varios/El_Val/Propuesta%20de%20sensores%20estaciones_CYBERHAB-VAL.xlsx) cannot be processed by the script '/remote.php/webdav/folder/Edrónica Técnico/projects/EcoHydros varios/El_Val/Propuesta de sensores estaciones_CYBERHAB-VAL.xlsx')
/home/zymwotfi/cloud.sadiq.es/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:

{closure}("*** sensiti ... *")

/home/zymwotfi/myServer.com/3rdparty/sabre/dav/lib/DAV/Server.php - line 458:

Sabre\DAV\Server->emit("beforeMethod:PROPFIND", [ "*** sensi ... "])

/home/zymwotfi/myServer.com/3rdparty/sabre/dav/lib/DAV/Server.php - line 251:

Sabre\DAV\Server->invokeMethod("*** sensiti ... *", "*** sensiti ... *")

/home/zymwotfi/myServer.com/3rdparty/sabre/dav/lib/DAV/Server.php - line 319:

Sabre\DAV\Server->start()

/home/zymwotfi/myServer.com/remote.php - line 76:

Sabre\DAV\Server->exec()

/home/zymwotfi/myServer.com/remote.php - line 169:

handleException(Exception {})



Exception: The requested uri(/remote.php/dav/files/luis/folder/Convocatorias%20y%20ayudas/H2020_IC47-UDrone_Proposal) cannot be processed by the script '/remote.php/dav/files/luis/folder/Convocatorias y ayudas/H2020_IC47-UDrone_Proposal')
/home/zymwotfi/myServer.com/lib/private/AppFramework/Http/Request.php - line 802:

OC\AppFramework\Http\Request->getRawPathInfo()

/home/zymwotfi/myServer.com/remote.php - line 129:

OC\AppFramework\Http\Request->getPathInfo()



Sabre\DAV\Exception\ServiceUnavailable: Exception: The requested uri(/remote.php/webdav/folder/Edr%C3%B3nica%20T%C3%A9cnico/projects/EcoHydros%20varios/) cannot be processed by the script '/remote.php/webdav/myServer.com/Edrónica Técnico/projects/EcoHydros varios/')
/home/zymwotfi/myServer.com/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:

{closure}("*** sensiti ... *")

/home/zymwotfi/myServer.com/3rdparty/sabre/dav/lib/DAV/Server.php - line 458:

Sabre\DAV\Server->emit("beforeMethod:PROPFIND", [ "*** sensi ... "])

/home/zymwotfi/myServer.com/3rdparty/sabre/dav/lib/DAV/Server.php - line 251:

Sabre\DAV\Server->invokeMethod("*** sensiti ... *", "*** sensiti ... *")

/home/zymwotfi/myServer.com/3rdparty/sabre/dav/lib/DAV/Server.php - line 319:

Sabre\DAV\Server->start()

/home/zymwotfi/myServer.com/remote.php - line 76:

Sabre\DAV\Server->exec()

/home/zymwotfi/myServer.com/remote.php - line 169:

handleException(Exception {})

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "myServer.com",
        "myServer2.com"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/myServer.com",
    "dbtype": "mysql",
    "version": "19.0.0.12",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "sendmail",
    "mail_smtpauthtype": "LOGIN",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "updater.release.channel": "stable",
    "maintenance": false,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "theme": "",
    "loglevel": 0,
    "app_install_overwrite": [
        "external",
        "calendar",
        "apporder"
    ],
    "has_rebuilt_cache": true,
    "mail_sendmailmode": "smtp"
}

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE