File/Folder with symbol "%"

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via 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:


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


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:
Operating system and version: Ubuntu Server 16.04
Nginx: 1.10.3
PHP version: 7.0.32

The issue you are facing: If you create file or directory with the ‘%’ symbol in the name, next time you refresh the page, Nextcloud will infinitely load contents of the directory. This can be fixed by deleting the file in console. If you now delete the folder, then everything is working fine in the recycle bin.

Is this the first time you’ve seen this error?: Yes

Steps to replicate it:

  1. Create folder
  2. Create file or folder with ‘%’ in this folder
  3. Profit

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud:

$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => 'ip',
    1 => 'domain',
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'pgsql',
  'version' => '',
  'overwrite.cli.url' => 'https://someip',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => 'dbpass',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'mail',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_from_address' => 'nextcloud',
  'mail_domain' => 'domain',
  'mail_smtpname' => 'nextcloud',
  'mail_smtppassword' => '',
  'trashbin_retention_obligation' => '5, auto',
  'versions_retention_obligation' => '5, auto',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Memcached',
  'memcached_servers' =>
  array (
    0 =>
    array (
      0 => 'localhost',
      1 => 11211,
  '' => 'stable',

The output of your nginx log in /var/log/:


This seems to be a known bug, there is already a fix which will be included in the next point release NC 14.0.4: