Folder with a name in Russian, for example, “Общая папка”, in the log file “audit.log”

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 (eg, 20.0.5): 22.2.3
Operating system and version (eg, Ubuntu 20.04): Centos 7
Apache or nginx version (eg, Apache 2.4.25): 2.4.6
PHP version (eg, 7.4): 7.4.26

The issue you are facing:
After creating a folder with a name in Russian, for example, “Общая папка”, in the log file “audit.log” the name of the folder appears as ""File accessed: “/\u041e\u0431\u0449\u0430\u044f \u043f\u0430\u043f\u043a\u0430”

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

The output of your Nextcloud log in Admin > Logging:

{"reqId":"YbLKVVfaCSl0zk-aLVaJoAAAAAI","level":1,"time":"December 10, 2021 09:32:37","remoteAddr":"*.*.*.*","user":"user35","app":"admin_audit","method":"GET","url":"/index.php/core/preview?fileId=2929&c=5fe65e9cf9f04595b8c5797ff71311df&x=188&y=188&forceIcon=0&a=0","message":"File accessed: \"/\u041e\u0431\u0449\u0430\u044f \u043f\u0430\u043f\u043a\u0430/\"","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","version":""}
{"reqId":"YbLKVTJ2ViYT9wVmVgVs8AAAAAY","level":1,"time":"December 10, 2021 09:32:38","remoteAddr":"*.*.*.*","user":"user35","app":"admin_audit","method":"PUT","url":"/index.php/apps/text/session/create","message":"File accessed: \"/\u041e\u0431\u0449\u0430\u044f \u043f\u0430\u043f\u043a\u0430/\"","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","version":""}

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

$CONFIG = array (
  'instanceid' => '********',
  'passwordsalt' => '********',
  'secret' => '******',
  'trusted_domains' => 
  array (
    0 => '*******',
    1 => '*******',
  'datadirectory' => '/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'http://*****',
  'dbname' => '******',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '******',
  'dbpassword' => '******',
  'default_phone_region' => 'KZ',
  'force_language' => 'ru',
  'force_locale' => 'ru_RU',
  'installed' => true,
  'log_type' => 'file',
  'logtimezone' => '/Asia/Almaty',
  'logfile' => '/data/log/nextcloud.log',
  'loglevel' => '1',
  'logdateformat' => 'F d, Y H:i:s',
  'log.condition' => [
        'apps' => ['admin_audit'],
  'maintenance' => false,

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


Privet @denmonk and welcome to the userforums of NC.

How did you setup the locale of your OS on your server?

Hello, thanks. Locale for apache user is:


There is a similar problem on the forum, there a man changed the locale to ru_RU and it did not give any result. Unfortunately, there is no solution since 2018.

i am not really sure that it has to do with the locale setting of OS but somehow it just seems logically to me.

BTW apache user-setting isn’t exactly the setting of your server.

i think those codes are the “translation” of cyrillic letters to ascii on a non-cyrillic OS. So that’s why I was asking for your locale.

Sorry to keep you waiting for my reply. For all users on this system where nextcloud is running the locale has the same settings as the apache user.

that’s still not the same as setting a systenwide locale to russian… You need to do that on OS-level. Pls refer to google on how doing that.