Cant create new folders after upgrading

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, 12.0.2):
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04.2 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.29 (Ubuntu)
PHP version (eg, 7.1): 7.2

The issue you are facing: Cant create folders.

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

Steps to replicate it: No idea

The output of your Nextcloud log in Admin > Logging:

Redis::connect(): connect() failed: Network is unreachable at /var/www/html/nextcloud/lib/private/RedisFactory.php#84
You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /var/www/html/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

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' => '/opt/nextcloud',
  'overwrite.cli.url' => '',
  'dbtype' => 'mysql',
  'version' => '',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncdata',
  'dbpassword' => '',
  'installed' => true,
  '' => 'production',
  '' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => 6379,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'mail_smtpmode' => 'php',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',

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

Feb 27 06:26:37 mycloud systemd[1]: Starting Advanced key-value store...
Feb 27 06:26:37 mycloud systemd[1]: redis-server.service: Can't open PID file /var/run/redis/ (yet?) after start: No such file or directory
Feb 27 06:28:08 mycloud systemd[1]: redis-server.service: Start operation timed out. Terminating.
Feb 27 06:28:08 mycloud systemd[1]: redis-server.service: Failed with result 'timeout'

I’m able to create folders if I start the redis-server. But if I reboot I will need to reenable the redis-server.

Make sure that the pid file exists before you start the Redis server. This can be done by executing touch /var/run/redis/

This was working before I did the nextcloud upgrade. Did something break?


I did what you asked and I get this.

Unfortunately I don’t know your server and what is happening there. You should check your log files to find out why Redis is not starting.