Nextcloud shows: "Temporary directory /tmp/nextcloudtemp is not present or writable" although it's there

The Basics

  • Nextcloud Server version:
    Nextcloud Hub 26 Winter
  • Operating system and version
    Ubuntu 22.04.5 LTS
  • Web server and version:
    Apache2, 2.4.52-1ubuntu4.19
  • Reverse proxy and version:
    none
  • PHP version
    php8.4
  • Is this the first time you’ve seen this error?
    yes
  • When did this problem seem to first start?
    After upgrading to Nextcloud Hub 26 Winter
  • Installation method
    Web-Interface (Original installation, no idea, to long ago).
  • Are you using Cloudflare, mod_security, or similar?
    No

Summary of the issue you are facing
Nextcloud signals: “Temporary directory /tmp/nextcloudtemp is not present or writable” although it is there.
since upgrading to “Nextcloud Hub 26 Winter”, Nextcloud signals: “Temporary directory /tmp/nextcloudtemp is not present or writable”.
I encountered this behaviour first when the app: “Music” ceased to work (just a black pane). For about 18 hours I was able to get it working again, by creating the directory, but not any more. Nextcloud still logs “Temporary directory /tmp/nextcloudtemp is …”, although it is there and I made it writeable for “world”.

root:\~#ll -da /tmp/nextcloudtemp
drwxrwxrwx 2 www-data www-data 4096 Apr 10 16:42 /tmp/nextcloudtemp

I contacted the developer of Music: “@paulijar” and he also had the error with Nextcloud Hub 26 Winter, however with him it disappeared after he created the directory once and then deleted it.

Steps to replicate it (hint: details matter!):

  1. Log in to a “Nextcloud Hub 26 Winter” with the “Music”-App installed.
  2. Call the Music-App using the appropriate icon.
  3. Only a black pane appears, no controls.

Log entries
Nextcloud

{“reqId”:“PrLl9HrnhGOGbTRrySCI”,“level”:2,“time”:“April 12, 2026 13:28:08”,“remoteAddr”:“77.11.153.26”,“user”:“mark”,“app”:“no app in context”,“method”:“GET”,“url”:“/nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications”,“scriptName”:“/nextcloud/ocs/v2.php”,“message”:“Temporary directory /tmp/nextcloudtemp is not present or writable”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:149.0) Gecko/20100101 Firefox/149.0”,“version”:“33.0.2.2”,“data”:}

Web Browser
Nothing

CONFIGURATION

<?php
$CONFIG = array (
  'instanceid' => 'oc***REDACTED***',
  'passwordsalt' => '***REDACTED***',
  'trusted_domains' => 
  array (
    0 => '***REDACTED***',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'version' => '33.0.2.2',
  'dbtype' => 'pgsql',
  'dbhost' => 'localhost',
  'dbname' => 'nexxtcloud',
  'dbuser' => 'xxxxxxxxxxx',
  'dbpassword' => 'XXXXXXXXXXX',
  'dbtableprefix' => 'oc_',
  'installed' => true,
  'default_language' => 'en',
  'force_language' => false,
  'default_locale' => 'de_DE',
  'default_phone_region' => 'DE',
  'force_locale' => false,
  'defaultapp' => 'dashboard,files',
  'knowledgebaseenabled' => true,
  'allow_user_to_change_display_name' => true,
  'remember_login_cookie_lifetime' => 1296000,
  'session_lifetime' => 86400,
  'session_keepalive' => true,
  'auto_logout' => false,
  'token_auth_enforced' => false,
  'token_auth_activity_update' => 60,
  'auth.bruteforce.protection.enabled' => true,
  'auth.webauthn.enabled' => true,
  'hide_login_form' => false,
  'skeletondirectory' => '/var/www/nextcloud/core/skeleton',
  'templatedirectory' => '/var/www/nextcloud/core/templates',
  'lost_password_link' => 'https://example.org/link/to/password/reset',
  'mail_domain' => '***REDACTED***',
  'mail_from_address' => 'nextcloud',
  'mail_smtpdebug' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => '***REDACTED***',
  'mail_smtpport' => 25,
  0 => 25,
  'mail_smtpsecure' => 'tls',
  'mail_smtpauth' => true,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpname' => 'nextcloud',
  'mail_smtppassword' => '***REDACTED***',
  'mail_template_class' => '\\OC\\Mail\\EMailTemplate',
  'mail_send_plaintext_only' => false,
  'mail_smtpstreamoptions' => 
  array (
  ),
  'mail_sendmailmode' => 'smtp',
  'overwritehost' => '',
  'overwriteprotocol' => '',
  'overwritewebroot' => '',
  'overwritecondaddr' => '',
  'overwrite.cli.url' => 'https://***REDACTED***.de/nextcloud',
  'htaccess.RewriteBase' => '/nextcloud',
  'htaccess.IgnoreFrontController' => false,
  'proxy' => '',
  'proxyuserpwd' => '',
  'proxyexclude' => 
  array (
  ),
  'allow_local_remote_servers' => true,
  'trashbin_retention_obligation' => 'auto, 5',
  'versions_retention_obligation' => 'auto',
  'appcodechecker' => true,
  'updatechecker' => true,
  'updater.server.url' => 'https://updates.nextcloud.com/updater_server/',
  'updater.release.channel' => 'stable',
  'has_internet_connection' => true,
  'connectivity_check_domains' => 
  array (
    0 => 'www.nextcloud.com',
    1 => 'www.startpage.com',
    2 => 'www.eff.org',
    3 => 'www.edri.org',
  ),
  'check_for_working_wellknown_setup' => true,
  'check_for_working_htaccess' => true,
  'check_data_directory_permissions' => true,
  'config_is_read_only' => false,
  'log_type' => 'file',
  'logfile' => '/var/log/nextcloud.log',
  'logfilemode' => 416,
  'loglevel' => 0,
  'syslog_tag' => 'Nextcloud',
  'log.condition' => 
  array (
    'shared_secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
    'users' => 
    array (
      0 => 'sample-user',
    ),
    'apps' => 
    array (
      0 => 'files',
    ),
  ),
  'logdateformat' => 'F d, Y H:i:s',
  'logtimezone' => 'Europe/Berlin',
  'log_query' => false,
  'log_rotate_size' => 104857600,
  'customclient_desktop' => 'https://nextcloud.com/install/#install-clients',
  'customclient_android' => 'https://play.google.com/store/apps/details?id=com.nextcloud.client',
  'customclient_ios' => 'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8',
  'customclient_ios_appid' => '1125420102',
  'appstoreenabled' => true,
  'appstoreurl' => 'https://apps.nextcloud.com/api/v1',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/nextcloud/apps',
      'url' => '/apps',
      'writable' => true,
    ),
  ),
  'enable_previews' => true,
  'preview_max_x' => 4096,
  'preview_max_y' => 4096,
  'preview_max_filesize_image' => 50,
  'preview_libreoffice_path' => '/usr/bin/libreoffice',
  'preview_office_cl_parameters' => ' --headless --nologo --nofirststartwizard --invisible --norestore --convert-to png --outdir ',
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\HEIC',
    4 => 'OC\\Preview\\BMP',
    5 => 'OC\\Preview\\XBitmap',
    6 => 'OC\\Preview\\MP3',
    7 => 'OC\\Preview\\TXT',
    8 => 'OC\\Preview\\MarkDown',
    9 => 'OC\\Preview\\OpenDocument',
    10 => 'OC\\Preview\\Krita',
  ),
  'ldapUserCleanupInterval' => 51,
  'sort_groups_by_name' => false,
  'comments.managerFactory' => '\\OC\\Comments\\ManagerFactory',
  'systemtags.managerFactory' => '\\OC\\SystemTag\\ManagerFactory',
  'maintenance' => false,
  'openssl' => 
  array (
  ),
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 0.0,
    'password' => '',
    'dbindex' => 0,
  ),
  'cache_path' => '',
  'cache_chunk_gc_ttl' => 86400,
  'sharing.managerFactory' => '\\OC\\Share20\\ProviderFactory',
  'sharing.maxAutocompleteResults' => 25,
  'sharing.minSearchStringLength' => 0,
  'sharing.enable_share_accept' => false,
  'sharing.force_share_accept' => false,
  'sharing.enable_share_mail' => false,
  'sqlite.journal_mode' => 'DELETE',
  'mysql.utf8mb4' => true,
  'supportedDatabases' => 
  array (
    0 => 'sqlite',
    1 => 'mysql',
    2 => 'pgsql',
    3 => 'oci',
  ),
  'tempdirectory' => '/tmp/nextcloudtemp',
  'hashing_default_password' => false,
  'hashingThreads' => 1,
  'hashingMemoryCost' => 65536,
  'hashingTimeCost' => 4,
  'hashingCost' => 10,
  'blacklisted_files' => 
  array (
    0 => '.htaccess',
  ),
  'share_folder' => '/share',
  'theme' => '',
  'cipher' => 'AES-256-CTR',
  'minimum.supported.desktop.version' => '2.0.0',
  'localstorage.allowsymlinks' => false,
  'quota_include_external_storage' => false,
  'external_storage.auth_availability_delay' => 1800,
  'filesystem_check_changes' => 1,
  'part_file_in_storage' => true,
  'mount_file' => '/var/www/nextcloud/data/mount.json',
  'filesystem_cache_readonly' => false,
  'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'trusted_proxies' => 
  array (
  ),
  'forwarded_for_headers' => 
  array (
    0 => 'HTTP_X_FORWARDED',
    1 => 'HTTP_FORWARDED_FOR',
  ),
  'max_filesize_animated_gifs_public_sharing' => 10,
  'filelocking.enabled' => true,
  'filelocking.ttl' => 3600,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.debug' => false,
  'upgrade.disable-web' => false,
  'debug' => false,
  'data-fingerprint' => '',
  'copied_sample_config' => false,
  'lookup_server' => 'https://lookup.nextcloud.com',
  'gs.enabled' => false,
  'gs.federation' => 'internal',
  'csrf.optout' => 
  array (
    0 => '/^WebDAVFS/',
    1 => '/^Microsoft-WebDAV-MiniRedir/',
  ),
  'simpleSignUpLink.shown' => true,
  'login_form_autocomplete' => true,
  'dbport' => '',
  'app_install_overwrite' => 
  array (
    0 => 'documents',
    1 => 'files_reader',
    2 => 'epubreader',
  ),
  'updater.secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
);

WEB SERVER LOG

[Tue Apr 14 12:01:07.377393 2026] [php:error] [pid 512455] [client 91.32.213.123:63451] PHP Fatal error:  Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /var/www/nextcloud/remote.php:40\nStack trace:\n#0 /var/www/nextcloud/remote.php(153): handleException(Object(OCP\\HintException))\n#1 {main}\n  thrown in /var/www/nextcloud/remote.php on line 40
[Tue Apr 14 12:01:57.544602 2026] [php:error] [pid 511915] [client 2a02:3100:2222:d700:9dfa:be8f:bd4c:a938:50506] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:02:26.913781 2026] [php:error] [pid 511917] [client 2a02:3100:2222:d700:9dfa:be8f:bd4c:a938:50544] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:05:56.172832 2026] [php:error] [pid 512455] [client 2a02:3100:2222:d700:9dfa:be8f:bd4c:a938:50870] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:06:57.546804 2026] [php:error] [pid 511915] [client 2a02:3100:2222:d700:9dfa:be8f:bd4c:a938:50961] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:07:27.010157 2026] [php:error] [pid 511917] [client 2a02:3100:2222:d700:9dfa:be8f:bd4c:a938:50995] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:08:36.761998 2026] [php:error] [pid 511918] [client 91.32.213.123:59910] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:08:41.413234 2026] [php:error] [pid 511916] [client 91.32.213.123:62972] PHP Fatal error:  Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /var/www/nextcloud/remote.php:40\nStack trace:\n#0 /var/www/nextcloud/remote.php(153): handleException(Object(OCP\\HintException))\n#1 {main}\n  thrown in /var/www/nextcloud/remote.php on line 40
[Tue Apr 14 12:11:44.526051 2026] [php:error] [pid 511914] [client 77.191.111.58:62344] PHP Fatal error:  Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /var/www/nextcloud/remote.php:40\nStack trace:\n#0 /var/www/nextcloud/remote.php(153): handleException(Object(OCP\\HintException))\n#1 {main}\n  thrown in /var/www/nextcloud/remote.php on line 40
[Tue Apr 14 12:11:57.751483 2026] [php:error] [pid 511915] [client 77.191.111.58:60270] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:12:27.165256 2026] [php:error] [pid 511917] [client 77.191.111.58:61987] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:16:57.923990 2026] [php:error] [pid 516463] [client 77.191.111.58:61096] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:17:27.402137 2026] [php:error] [pid 512455] [client 77.191.111.58:60540] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:17:56.107874 2026] [php:error] [pid 511914] [client 77.191.111.58:60952] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:21:57.950400 2026] [php:error] [pid 511917] [client 77.191.111.58:64690] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:22:27.397300 2026] [php:error] [pid 511918] [client 77.191.111.58:61220] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:26:05.907253 2026] [php:error] [pid 511916] [client 91.32.213.123:62901] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:26:06.134625 2026] [php:error] [pid 516463] [client 91.32.213.123:62214] PHP Fatal error:  Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /var/www/nextcloud/remote.php:40\nStack trace:\n#0 /var/www/nextcloud/remote.php(153): handleException(Object(OCP\\HintException))\n#1 {main}\n  thrown in /var/www/nextcloud/remote.php on line 40
[Tue Apr 14 12:26:58.084844 2026] [php:error] [pid 512455] [client 77.191.111.58:64452] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:27:27.506233 2026] [php:error] [pid 511914] [client 77.191.111.58:62514] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:27:56.308495 2026] [php:error] [pid 511915] [client 74.125.217.136:51939] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:29:56.205527 2026] [php:error] [pid 511918] [client 77.191.111.58:60793] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:31:58.197120 2026] [php:error] [pid 511916] [client 77.191.111.58:60367] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:32:27.497092 2026] [php:error] [pid 516463] [client 77.191.111.58:61285] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:36:58.441907 2026] [php:error] [pid 511914] [client 77.191.111.58:62260] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:37:27.738596 2026] [php:error] [pid 511915] [client 77.191.111.58:62433] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:41:49.635956 2026] [php:error] [pid 516463] [client 77.191.111.58:61832] PHP Fatal error:  Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /var/www/nextcloud/remote.php:40\nStack trace:\n#0 /var/www/nextcloud/remote.php(153): handleException(Object(OCP\\HintException))\n#1 {main}\n  thrown in /var/www/nextcloud/remote.php on line 40
[Tue Apr 14 12:42:06.537403 2026] [php:error] [pid 512455] [client 77.191.111.58:64327] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:42:06.565632 2026] [php:error] [pid 511914] [client 77.191.111.58:61844] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:42:27.897260 2026] [php:error] [pid 511915] [client 77.191.111.58:63265] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:46:04.260823 2026] [php:error] [pid 511918] [client 91.32.213.123:63404] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:46:06.792772 2026] [php:error] [pid 511916] [client 91.32.213.123:60868] PHP Fatal error:  Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /var/www/nextcloud/remote.php:40\nStack trace:\n#0 /var/www/nextcloud/remote.php(153): handleException(Object(OCP\\HintException))\n#1 {main}\n  thrown in /var/www/nextcloud/remote.php on line 40
[Tue Apr 14 12:46:58.609106 2026] [php:error] [pid 516463] [client 77.191.111.58:63995] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:47:27.900775 2026] [php:error] [pid 512455] [client 77.191.111.58:61688] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:51:58.702945 2026] [php:error] [pid 511914] [client 77.191.111.58:63741] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:52:28.101538 2026] [php:error] [pid 511915] [client 77.191.111.58:60770] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:53:56.529534 2026] [php:error] [pid 511917] [client 77.191.111.58:64672] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:55:07.336475 2026] [php:error] [pid 511918] [client 77.191.111.58:61225] PHP Fatal error:  Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /var/www/nextcloud/remote.php:40\nStack trace:\n#0 /var/www/nextcloud/remote.php(153): handleException(Object(OCP\\HintException))\n#1 {main}\n  thrown in /var/www/nextcloud/remote.php on line 40
[Tue Apr 14 12:55:07.357221 2026] [php:error] [pid 511916] [client 77.191.111.58:62409] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:56:58.822143 2026] [php:error] [pid 516463] [client 77.191.111.58:65039] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 12:57:28.212983 2026] [php:error] [pid 512455] [client 77.191.111.58:60723] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 13:01:58.928064 2026] [php:error] [pid 511914] [client 77.191.111.58:63200] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 13:02:19.962222 2026] [php:error] [pid 511915] [client 91.32.213.123:64388] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 13:02:20.093954 2026] [php:error] [pid 511917] [client 91.32.213.123:61683] PHP Fatal error:  Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /var/www/nextcloud/remote.php:40\nStack trace:\n#0 /var/www/nextcloud/remote.php(153): handleException(Object(OCP\\HintException))\n#1 {main}\n  thrown in /var/www/nextcloud/remote.php on line 40
[Tue Apr 14 13:02:28.240779 2026] [php:error] [pid 511918] [client 77.191.111.58:64201] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 13:05:56.794613 2026] [php:error] [pid 511916] [client 77.191.111.58:60040] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 13:06:58.960598 2026] [php:error] [pid 516463] [client 77.191.111.58:59401] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 13:07:28.292797 2026] [php:error] [pid 512455] [client 77.191.111.58:64293] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 13:07:41.073596 2026] [php:error] [pid 511914] [client 77.191.111.58:63624] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75
[Tue Apr 14 13:07:53.157062 2026] [php:error] [pid 511915] [client 91.32.213.123:60166] PHP Fatal error:  Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /var/www/nextcloud/remote.php:40\nStack trace:\n#0 /var/www/nextcloud/remote.php(153): handleException(Object(OCP\\HintException))\n#1 {main}\n  thrown in /var/www/nextcloud/remote.php on line 40
[Tue Apr 14 13:11:53.072610 2026] [php:error] [pid 511918] [client 77.191.111.58:61723] PHP Fatal error:  Uncaught Error: Class "OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin" not found in /var/www/nextcloud/remote.php:40\nStack trace:\n#0 /var/www/nextcloud/remote.php(153): handleException(Object(OCP\\HintException))\n#1 {main}\n  thrown in /var/www/nextcloud/remote.php on line 40
[Tue Apr 14 13:11:59.003270 2026] [php:error] [pid 511916] [client 77.191.111.58:60517] PHP Fatal error:  Uncaught OCP\\HintException: [0]: Memcache OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n  thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 75

APPS

  • Activity
  • AppAPI
  • Brute-force settings
  • Calendar
  • Collaborative tags
  • Comments
  • Contacts
  • Dashboard
  • Deleted files
  • Edit files with LibreOffice
  • External storage support
  • Federation
  • File reminders
  • File sharing
  • Files download limit
  • First run wizard
  • Log Reader
  • Mail
  • Monitoring
  • Music
  • Nextcloud Webhook Support
  • Nextcloud announcements
  • Notifications
  • PDF viewer
  • Password policy
  • Photos
  • Privacy
  • Recommendations
  • Related Resources
  • Share by mail
  • Support
  • Talk
  • Teams
  • Text
  • Two-Factor TOTP Provider
  • Update notification
  • User status
  • Versions

Hi @Agitatra,

two things stand out when looking at your post:


1) The Redis errors in your Apache log

Your web server log is full of Memcache OC\Memcache\Redis not available for local cache errors. Normally, when Redis is configured in config.php but the PHP module is missing or not loaded, Nextcloud responds with an Internal Server Error — you wouldn’t be able to use the web interface at all. Since you’re apparently able to log in and open the Music app (even if it shows a black pane), these Redis errors may already be resolved. Did you perhaps install php8.4-redis in the meantime?

Could you post fresh log entries (both Nextcloud log and Apache error log) from when the temp directory issue actually occurs, so we can focus on what’s currently broken?


2) Your config.php needs serious attention

The entry 'copied_sample_config' => false — which only exists in config.sample.php — together with the sheer number of default values strongly suggests that your config.php was built by copying the entire config.sample.php and editing values into it. The sample config explicitly warns against this at the very top:

DO NOT COMPLETELY BASE YOUR CONFIGURATION FILE ON THIS SAMPLE. THIS MAY BREAK YOUR INSTANCE. Instead, manually copy configuration switches that you consider important for your instance to your working config.php, and apply configuration options that are pertinent for your instance.

Having dozens of unnecessary entries in config.php is not just clutter — it can cause real problems. Nextcloud’s internal defaults can change between versions. If you’ve pinned an old default value in your config, it will override the new default after an upgrade, potentially causing unexpected behavior. This could very well be a contributing factor to your issues after upgrading to Hub 26 Winter.

Let me go through your config in detail:


Entries that are actively wrong or problematic:

  • 'lost_password_link' => 'https://example.org/link/to/password/reset' — This is the placeholder URL from config.sample.php. If any of your users clicks “Forgot password?”, they get redirected to example.org. Remove this line so Nextcloud uses its built-in password reset.
  • 0 => 25 — There is a stray entry with numeric key 0 and value 25 sitting between your mail settings, right after 'mail_smtpport' => 25. This is a broken duplicate — a numeric key in an associative config array. Remove it.
  • 'loglevel' => 0 — Level 0 is DEBUG, the most verbose logging level. The documentation states the default is 2 (Warning). Running debug logging in production generates massive log output. Unless you’re actively troubleshooting, remove it or set it to 2.
  • 'mail_smtpdebug' => true — The documentation describes this as a troubleshooting tool for debugging mail delivery. Unless you’re actively debugging SMTP, remove it.
  • 'log.condition' block — This contains 'users' => array('sample-user') and 'apps' => array('files'), which is the example from config.sample.php. Unless you actually have a user called sample-user, this does nothing useful. Remove the entire block.
  • 'app_install_overwrite' => array('documents', 'files_reader', 'epubreader') — This array allows installation of apps that are not compatible with the current Nextcloud version. All three apps listed here have been discontinued and none of them are installed on your instance:
    • documents was discontinued in 2017 and only supported up to Nextcloud 12.
    • files_reader was discontinued in 2022 and only supported up to Nextcloud 24.
    • epubreader was discontinued in 2021 and only supported up to Nextcloud 23.Remove this entire entry. If you’re looking for an ebook reader, there is a maintained successor: EPUB Viewer (epubviewer), which supports Nextcloud 32–33.

Entries that are irrelevant for your database setup:

You run PostgreSQL ('dbtype' => 'pgsql'). The following entries only apply to other database engines:

  • 'sqlite.journal_mode' => 'DELETE' — SQLite only. No effect on PostgreSQL. Remove.
  • 'mysql.utf8mb4' => true — MySQL/MariaDB only. No effect on PostgreSQL. Remove.
  • 'supportedDatabases' => array('sqlite', 'mysql', 'pgsql', 'oci') — This lists all database backends from the sample config. It has no practical effect and risks interfering with future updates. Remove.

Other entries that don’t apply to your setup:

  • 'ldapUserCleanupInterval' => 51 — Only relevant for LDAP authentication, which you don’t appear to use. This is the sample config default. Remove.

Internal factory class registrations that repeat the default:

The following entries pin internal Nextcloud class mappings at their current default values. If Nextcloud changes these class names or namespaces in a future upgrade, your config would override the new mapping with the old one:

  • 'comments.managerFactory' => '\\OC\\Comments\\ManagerFactory'
  • 'systemtags.managerFactory' => '\\OC\\SystemTag\\ManagerFactory'
  • 'sharing.managerFactory' => '\\OC\\Share20\\ProviderFactory'

Remove all three.


Entries that repeat built-in defaults:

Every one of the following entries simply restates what Nextcloud already does by default. They should be removed to keep the config clean and — more importantly — to avoid silently overriding changed defaults after future upgrades:

'force_language', 'force_locale', 'defaultapp', 'knowledgebaseenabled', 'allow_user_to_change_display_name', 'remember_login_cookie_lifetime', 'session_lifetime', 'session_keepalive', 'auto_logout', 'token_auth_enforced', 'token_auth_activity_update', 'auth.bruteforce.protection.enabled', 'auth.webauthn.enabled', 'hide_login_form', 'skeletondirectory', 'templatedirectory', 'mail_template_class', 'mail_send_plaintext_only', 'mail_smtpstreamoptions', 'mail_sendmailmode', 'overwritehost', 'overwriteprotocol', 'overwritewebroot', 'overwritecondaddr', 'htaccess.IgnoreFrontController', 'proxy', 'proxyuserpwd', 'proxyexclude', 'allow_local_remote_servers', 'versions_retention_obligation', 'appcodechecker', 'updatechecker', 'updater.server.url', 'updater.release.channel', 'has_internet_connection', 'connectivity_check_domains', 'check_for_working_wellknown_setup', 'check_for_working_htaccess', 'check_data_directory_permissions', 'config_is_read_only', 'log_type', 'logfilemode', 'syslog_tag', 'log_query', 'log_rotate_size', 'customclient_desktop', 'customclient_android', 'customclient_ios', 'customclient_ios_appid', 'appstoreenabled', 'appstoreurl', 'enable_previews', 'preview_max_x', 'preview_max_y', 'preview_max_filesize_image', 'preview_libreoffice_path', 'preview_office_cl_parameters', 'sort_groups_by_name', 'openssl', 'cache_path', 'cache_chunk_gc_ttl', 'sharing.maxAutocompleteResults', 'sharing.minSearchStringLength', 'sharing.enable_share_accept', 'sharing.force_share_accept', 'hashing_default_password', 'hashingThreads', 'hashingMemoryCost', 'hashingTimeCost', 'hashingCost', 'blacklisted_files', 'theme', 'cipher', 'minimum.supported.desktop.version', 'localstorage.allowsymlinks', 'quota_include_external_storage', 'external_storage.auth_availability_delay', 'filesystem_check_changes', 'part_file_in_storage', 'mount_file', 'filesystem_cache_readonly', 'trusted_proxies', 'forwarded_for_headers', 'max_filesize_animated_gifs_public_sharing', 'filelocking.enabled', 'filelocking.ttl', 'filelocking.debug', 'upgrade.disable-web', 'debug', 'data-fingerprint', 'copied_sample_config', 'lookup_server', 'gs.enabled', 'gs.federation', 'csrf.optout', 'simpleSignUpLink.shown', 'login_form_autocomplete', 'maintenance', 'apps_paths'


What your clean config.php could look like:

php

<?php
$CONFIG = array (
  'instanceid' => 'oc***REDACTED***',
  'passwordsalt' => '***REDACTED***',
  'secret' => '***REDACTED***',
  'trusted_domains' => array (
    0 => '***REDACTED***',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'version' => '33.0.2.2',
  'installed' => true,

  // Database
  'dbtype' => 'pgsql',
  'dbhost' => 'localhost',
  'dbname' => 'nexxtcloud',
  'dbuser' => '***REDACTED***',
  'dbpassword' => '***REDACTED***',
  'dbtableprefix' => 'oc_',
  'dbport' => '',

  // Locale
  'default_language' => 'en',
  'default_locale' => 'de_DE',
  'default_phone_region' => 'DE',

  // URLs & paths
  'overwrite.cli.url' => 'https://***REDACTED***.de/nextcloud',
  'htaccess.RewriteBase' => '/nextcloud',

  // Caching
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 0.0,
    'password' => '',
    'dbindex' => 0,
  ),

  // Mail
  'mail_domain' => '***REDACTED***',
  'mail_from_address' => 'nextcloud',
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => '***REDACTED***',
  'mail_smtpport' => 25,
  'mail_smtpsecure' => 'tls',
  'mail_smtpauth' => true,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpname' => 'nextcloud',
  'mail_smtppassword' => '***REDACTED***',

  // Logging
  'logfile' => '/var/log/nextcloud.log',
  'logdateformat' => 'F d, Y H:i:s',
  'logtimezone' => 'Europe/Berlin',

  // Previews
  'enabledPreviewProviders' => array (
    'OC\\Preview\\PNG',
    'OC\\Preview\\JPEG',
    'OC\\Preview\\GIF',
    'OC\\Preview\\HEIC',
    'OC\\Preview\\BMP',
    'OC\\Preview\\XBitmap',
    'OC\\Preview\\MP3',
    'OC\\Preview\\TXT',
    'OC\\Preview\\MarkDown',
    'OC\\Preview\\OpenDocument',
    'OC\\Preview\\Krita',
  ),

  // Misc
  'trashbin_retention_obligation' => 'auto, 5',
  'share_folder' => '/share',
  'tempdirectory' => '/tmp/nextcloudtemp',
  'updater.secret' => '***REDACTED***',
);

That’s about 50 lines instead of 200+. Every line has a clear purpose. Nothing overrides a default silently, and future Nextcloud upgrades won’t have their new defaults blocked by stale values in your config.

I’d strongly recommend making a backup of your current config.php and then slimming it down along these lines. Once that’s done, we can look at the temp directory issue with a much cleaner baseline — side effects from stale or conflicting config entries cannot be ruled out otherwise.

h.t.h.


ernolf

4 Likes