Error 'RedisException NOAUTH Authentication required' for cron

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.5
  • Operating system and version (e.g., Ubuntu 24.04):
    • DietPi v10.0.1
  • Web server and version (e.g, Apache 2.4.25):
    • Caddy 2.11
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Caddy 2.11
  • PHP version (e.g, 8.3):
    • 8.3.30
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After I added my cron container
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Podman quadlet through the Docker image (not AIO, the official Docker one)
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

After I set-up my cron container I started getting NOAUTH error/fatal from the Nextcloud logging system, Redis has worked great previously with no issues (same with Postgres and Caddy). It started with a rush of warnings (mounting to >40) which seems to repeat itself each hour before calming down to 2 errors each 5 minutes. This got me very confused as I’ve checked that my config/config.php contain the same password used in Redis, which it did. To be clear I haven’t noticed anything peculiar, I’m still able to access my Nextcloud instance.

Log entries

Nextcloud

RedisException NOAUTH Authentication required: (each 5 minutes)

{"reqId":"ZgihTQOua0jhCtPj5PRU","level":4,"time":"2026-02-19T23:30:00+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","scriptName":"/var/www/html/cron.php","message":"Could not boot workflowengine: NOAUTH Authentication required.","userAgent":"--","version":"32.0.5.0","occ_command":["/var/www/html/cron.php"],"exception":{"Exception":"RedisException","Message":"NOAUTH Authentication required.","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":60,"function":"get","class":"Redis","type":"->","args":["a0d51fffb5e1274cb2e5a568e9db56f9/flowevents"]},{"file":"/var/www/html/apps/workflowengine/lib/Manager.php","line":90,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["events"]},{"file":"/var/www/html/apps/workflowengine/lib/AppInfo/Application.php","line":51,"function":"getAllConfiguredEvents","class":"OCA\\WorkflowEngine\\Manager","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":28,"function":"registerRuleListeners","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\EventDispatcher\\EventDispatcher"},{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\AppFramework\\ScopedPsrLogger"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php","line":32,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/apps/workflowengine/lib/AppInfo/Application.php","line":43,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":170,"function":"boot","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":481,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["workflowengine"]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":273,"function":"loadApp","class":"OC\\App\\AppManager","type":"->","args":["workflowengine"]},{"file":"/var/www/html/cron.php","line":66,"function":"loadApps","class":"OC\\App\\AppManager","type":"->","args":[]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":60,"message":"Could not boot workflowengine: NOAUTH Authentication required.","exception":[],"CustomMessage":"Could not boot workflowengine: NOAUTH Authentication required."},"id":"69979d2f6b1ca"}

RedisException WRONGPASS invalid username-password pair or user is disabled: (each 5 minutes)

{"reqId":"ZgihTQOua0jhCtPj5PRU","level":4,"time":"2026-02-19T23:30:00+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","scriptName":"/var/www/html/cron.php","message":"Could not boot webhook_listeners: WRONGPASS invalid username-password pair or user is disabled.","userAgent":"--","version":"32.0.5.0","occ_command":["/var/www/html/cron.php"],"exception":{"Exception":"RedisException","Message":"WRONGPASS invalid username-password pair or user is disabled.","Code":0,"Trace":[{"file":"/var/www/html/lib/private/RedisFactory.php","line":113,"function":"auth","class":"Redis","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/RedisFactory.php","line":148,"function":"create","class":"OC\\RedisFactory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":54,"function":"getInstance","class":"OC\\RedisFactory","type":"->","args":[]},{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":60,"function":"getCache","class":"OC\\Memcache\\Redis","type":"->","args":[]},{"file":"/var/www/html/apps/webhook_listeners/lib/Db/WebhookListenerMapper.php","line":210,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["eventsUsedInWebhooks_"]},{"file":"/var/www/html/apps/webhook_listeners/lib/AppInfo/Application.php","line":47,"function":"getAllConfiguredEvents","class":"OCA\\WebhookListeners\\Db\\WebhookListenerMapper","type":"->","args":[null]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":28,"function":"registerRuleListeners","class":"OCA\\WebhookListeners\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\EventDispatcher\\EventDispatcher"},{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\AppFramework\\ScopedPsrLogger"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php","line":32,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/apps/webhook_listeners/lib/AppInfo/Application.php","line":34,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":170,"function":"boot","class":"OCA\\WebhookListeners\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":481,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["webhook_listeners"]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":273,"function":"loadApp","class":"OC\\App\\AppManager","type":"->","args":["webhook_listeners"]},{"file":"/var/www/html/cron.php","line":66,"function":"loadApps","class":"OC\\App\\AppManager","type":"->","args":[]}],"File":"/var/www/html/lib/private/RedisFactory.php","Line":113,"message":"Could not boot webhook_listeners: WRONGPASS invalid username-password pair or user is disabled.","exception":[],"CustomMessage":"Could not boot webhook_listeners: WRONGPASS invalid username-password pair or user is disabled."},"id":"69979d2f6b20c"}

RedisException NOAUTH Authentication required: (Irregular warnings)

{"reqId":"oLoWBfBZLgg1KbGFrLln","level":2,"time":"2026-02-19T22:57:45+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","scriptName":"/var/www/html/cron.php","message":"issue while running UpdateSingleMetadata","userAgent":"--","version":"32.0.5.0","occ_command":["/var/www/html/cron.php"],"exception":{"Exception":"RedisException","Message":"NOAUTH Authentication required.","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":60,"function":"get","class":"Redis","type":"->","args":["a0d51fffb5e1274cb2e5a568e9db56f9/setupmanager::admin"]},{"file":"/var/www/html/lib/private/Files/SetupManager.php","line":479,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["admin"]},{"file":"/var/www/html/lib/private/Files/SetupManager.php","line":499,"function":"fullSetupRequired","class":"OC\\Files\\SetupManager","type":"->","args":[{"__class__":"OC\\User\\User"}]},{"file":"/var/www/html/lib/private/Files/Mount/Manager.php","line":209,"function":"setupForProvider","class":"OC\\Files\\SetupManager","type":"->","args":["/admin/files",["OC\\Files\\Mount\\LocalHomeMountProvider"]]},{"file":"/var/www/html/lib/private/Files/Node/Root.php","line":439,"function":"getMountsByMountProvider","class":"OC\\Files\\Mount\\Manager","type":"->","args":["/admin/files",["OC\\Files\\Mount\\LocalHomeMountProvider"]]},{"file":"/var/www/html/lib/private/Files/Node/Root.php","line":391,"function":"getByIdInPath","class":"OC\\Files\\Node\\Root","type":"->","args":[66,"/admin/files"]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":470,"function":"getFirstNodeByIdInPath","class":"OC\\Files\\Node\\Root","type":"->","args":[66,"/admin/files"]},{"file":"/var/www/html/lib/private/FilesMetadata/Job/UpdateSingleMetadata.php","line":41,"function":"getFirstNodeById","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":[66]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":61,"function":"run","class":"OC\\FilesMetadata\\Job\\UpdateSingleMetadata","type":"->","args":[["admin",66]]},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":43,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"}]},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":29,"function":"start","class":"OCP\\BackgroundJob\\QueuedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"}]},{"file":"/var/www/html/cron.php","line":175,"function":"execute","class":"OCP\\BackgroundJob\\QueuedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"}]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":60,"message":"issue while running UpdateSingleMetadata","exception":[],"userId":"admin","fileId":66,"CustomMessage":"issue while running UpdateSingleMetadata"},"id":"69979d2f6b5c9"}

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '127.0.0.1',
    'password' => 'REDACTED',
    'port' => 6379,
  ),
  'overwriteprotocol' => 'https',
  'upgrade.disable-web' => true,
  'instanceid' => 'ocnib35dbf58',
  'passwordsalt' => 'REDACTED',
  'secret' => 'REDACTED',
  'trusted_domains' =>
  array (
    0 => 'REDACTED',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'pgsql',
  'version' => '32.0.5.0',
  'overwrite.cli.url' => 'REDACTED',
  'dbname' => 'nextcloud',
  'dbhost' => '127.0.0.1',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_admin',
  'dbpassword' => 'REDACTED',
  'installed' => true,
);

Please post your Compose file.

Also since Docker images use merged configs, use occ config:list system as noted in the support template – otherwise you aren’t viewing your real config.

Hi,

I have the exact same problem, this is a timely subject.

I’ve looked a lot into this, your help is greatly appreciated!

The Basics

  • Nextcloud Server version (e.g., 29.x.x): Docker 32.0.6

  • Operating system and version (e.g., Ubuntu 24.04): Debian 11.9

  • Web server and version (e.g, Apache 2.4.25): nginx 1.29.5

  • Reverse proxy and version _(e.g. nginx 1.27.2): nginx proxy manager 2.13.6

  • PHP version (e.g, 8.3): 8.3.30

  • Is this the first time you’ve seen this error? (Yes / No): yes

  • When did this problem seem to first start? As soon as I got Redis to work !

  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.) Docker

  • Are you using Cloudflare, mod_security, or similar? (Yes / No) no

Summary of the issue you are facing:

  1. Redis is working
  2. cron.php generates a “RedisException NOAUTH Authentication required” error
  3. cron.php isn’t running automatically

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

  1. Redis monitor :

docker exec -it nextcloud-redis-1 redis-cli -a “REMOVED SENSITIVE VALUE” MONITOR

shows activity. I also observe performance improvement.

  1. However, if I launch cron.php manually in my app docker

docker exec -it nextcloud-app-1 bash

sudo -u www-data php -f /var/www/html/cron.php

access errors are reported in the log (see below).

  1. BTW, Cron isn’t working by itself now

docker exec -it nextcloud-app-1 bash

sudo crontab -u www-data -l
*/5 * * * * sudo -u www-data /usr/local/bin/php -f /var/www/html/cron.php

service cron status
cron is running.

Log entries

Nextcloud

{"reqId":"z5odkpzCuzUy9X9Sety8","level":4,"time":"2026-02-22T12:04:36+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","scriptName":"occ","message":"Could not boot workflowengine: NOAUTH Authentication required.","userAgent":"--","version":"32.0.6.1","occ_command":["occ","config:list"],"exception":{"Exception":"RedisException","Message":"NOAUTH Authentication required.","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":60,"function":"get","class":"Redis","type":"->","args":["7344c3939647b73914a868df540bd1ef/flowevents"]},{"file":"/var/www/html/apps/workflowengine/lib/Manager.php","line":90,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["events"]},{"file":"/var/www/html/apps/workflowengine/lib/AppInfo/Application.php","line":51,"function":"getAllConfiguredEvents","class":"OCA\\WorkflowEngine\\Manager","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":28,"function":"registerRuleListeners","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\EventDispatcher\\EventDispatcher"},{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\AppFramework\\ScopedPsrLogger"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php","line":32,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/apps/workflowengine/lib/AppInfo/Application.php","line":43,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":170,"function":"boot","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":481,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["workflowengine"]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":273,"function":"loadApp","class":"OC\\App\\AppManager","type":"->","args":["workflowengine"]},{"file":"/var/www/html/lib/private/Console/Application.php","line":90,"function":"loadApps","class":"OC\\App\\AppManager","type":"->","args":[]},{"file":"/var/www/html/console.php","line":84,"function":"loadCommands","class":"OC\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/occ","line":33,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":60,"message":"Could not boot workflowengine: NOAUTH Authentication required.","exception":[],"CustomMessage":"Could not boot workflowengine: NOAUTH Authentication required."},"id":"699af55a1b920"}

{"reqId":"HOjHsbEyqCsEjZZUQ527","level":2,"time":"2026-02-22T03:37:30+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","scriptName":"/var/www/html/cron.php","message":"issue while running UpdateSingleMetadata","userAgent":"--","version":"32.0.6.1","occ_command":["/var/www/html/cron.php"],"exception":{"Exception":"RedisException","Message":"NOAUTH Authentication required.","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":60,"function":"get","class":"Redis","type":"->","args":["7344c3939647b73914a868df540bd1ef/user_backend_mapbd61b3ad1e3fc11f05f8d02ad45006bc33b6353c"]},{"file":"/var/www/html/lib/private/Memcache/WithLocalCache.php","line":28,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["bd61b3ad1e3fc11f05f8d02ad45006bc33b6353c"]},{"file":"/var/www/html/lib/private/User/Manager.php","line":125,"function":"get","class":"OC\\Memcache\\WithLocalCache","type":"->","args":["bd61b3ad1e3fc11f05f8d02ad45006bc33b6353c"]},{"file":"/var/www/html/lib/private/Files/Node/Root.php","line":327,"function":"get","class":"OC\\User\\Manager","type":"->","args":["gabidanpremier"]},{"function":"getUserFolder","class":"OC\\Files\\Node\\Root","type":"->","args":["gabidanpremier"]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":64,"function":"call_user_func_array","args":[[{"__class__":"OC\\Files\\Node\\Root"},"getUserFolder"],["gabidanpremier"]]},{"file":"/var/www/html/lib/private/Files/Node/LazyRoot.php","line":38,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["getUserFolder",["gabidanpremier"]]},{"file":"/var/www/html/lib/private/FilesMetadata/Job/UpdateSingleMetadata.php","line":41,"function":"getUserFolder","class":"OC\\Files\\Node\\LazyRoot","type":"->","args":["gabidanpremier"]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":61,"function":"run","class":"OC\\FilesMetadata\\Job\\UpdateSingleMetadata","type":"->","args":[["gabidanpremier",4848508]]},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":43,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"}]},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":29,"function":"start","class":"OCP\\BackgroundJob\\QueuedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"}]},{"file":"/var/www/html/cron.php","line":175,"function":"execute","class":"OCP\\BackgroundJob\\QueuedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"}]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":60,"message":"issue while running UpdateSingleMetadata","exception":[],"userId":"gabidanpremier","fileId":4848508,"CustomMessage":"issue while running UpdateSingleMetadata"},"id":"699af55a1b937"}

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "upgrade.disable-web": true,
        "default_language": "en",
        "default_locale": "en_CA",
        "default_phone_region": "+1",
        "default_timezone": "America\/Montreal",
        "knowledgebaseenabled": true,
        "knowledgebase.embedded": false,
        "allow_user_to_change_display_name": true,
        "skeletondirectory": "",
        "maintenance_window_start": 20,
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpdebug": false,
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtptimeout": 10,
        "mail_smtpsecure": "",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_template_class": "\\OC\\Mail\\EMailTemplate",
        "mail_send_plaintext_only": false,
        "mail_smtpstreamoptions": [],
        "mail_sendmailmode": "smtp",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:\/\/nextcloud.personnaldomain.cc",
        "htaccess.RewriteBase": "\/",
        "trashbin_retention_obligation": "auto, 30",
        "tempdirectory": "\/tmp",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.personnaldomain.cc"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "32.0.6.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/                                      exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/                                      go-vod-amd64",
        "enabledPreviewProviders": [
            "OC\\Preview\\HEIC",
            "OC\\Preview\\Image",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Movie"
        ],
        "memories.gis_type": 1,
        "mysql.innodb_lock_wait_timeout": "300",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "loglevel": 2,
        "config_preset": 1,
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ],
        "app_install_overwrite": []
    }
}


Apps

The output of occ app:list (if possible).

Enabled:
  - bruteforcesettings: 5.0.0
  - calendar: 6.2.0
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - comments: 1.22.0
  - contacts: 8.3.3
  - contactsinteraction: 1.13.1
  - dav: 1.34.2
  - deck: 1.16.3
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_pdfviewer: 5.0.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - logcleaner: 1.3.1
  - logreader: 5.0.0
  - lookup_server_connector: 1.20.0
  - memories: 7.8.2
  - notifications: 5.0.0
  - oauth2: 1.20.0
  - onlyoffice: 9.12.0
  - password_policy: 4.0.0
  - photos: 5.0.0
  - previewgenerator: 5.12.1
  - privacy: 4.0.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - recognize: 10.0.7
  - related_resources: 3.0.0
  - serverinfo: 4.0.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - support: 4.0.0
  - text: 6.0.1
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - twofactor_nextcloud_notification: 6.0.0
  - twofactor_totp: 14.0.0
  - updatenotification: 1.22.0
  - viewer: 5.0.0
  - workflowengine: 2.14.0
Disabled:
  - activity: 5.0.0 (installed 3.0.0)
  - admin_audit: 1.22.0
  - app_api: 32.0.0 (installed 32.0.0)
  - dashboard: 7.12.0 (installed 7.10.0)
  - encryption: 2.20.0
  - files_external: 1.24.1
  - firstrunwizard: 5.0.0 (installed 3.0.0)
  - nextcloud_announcements: 4.0.0 (installed 2.0.0)
  - recommendations: 5.0.0 (installed 3.0.0)
  - richdocumentscode: 25.4.901 (installed 25.4.901)
  - survey_client: 4.0.0 (installed 2.0.0)
  - suspicious_login: 10.0.0
  - systemtags: 1.22.0 (installed 1.20.0)
  - user_ldap: 1.23.0
  - user_status: 1.12.0 (installed 1.10.0)
  - weather_status: 1.12.0 (installed 1.10.0)
  - webhook_listeners: 1.3.0 (installed 1.1.0-dev)

I use Podman, which caused the issue on my side. It turned out podman secrets had added a \n at the end of my passwords, since I used «echo blabla | podman secret create …», this may not solve your problem. But are you using Docker secrets? If so you may try to inspect them and check for \n… didn’t experience it after I did «echo -n «blabla» | podman secret create…» or after I removed the password (as a first attempt).

I’m not using Podman nor Docker secrets. I’m building using a Dockerfile however, but I’ve confirmed it’s not the issue.

How did you find out the password wasn’t entered/applied correctly? From my understanding, we should enter it there (and only there) :

  1. in the docker redis declaration with the redis-server command
  2. in the docker nextcloud-app REDIS_HOST_PASSWORD environment variable
  3. in /var/www/nextcloud/config.php, in the redis array (password variable)

I’ve also tried adding the official redis.conf with its password, without any luck : always the same error.

I’m not the first one doing this, so your help finding my error is appreciated :slight_smile:

Oh, I feel so dated…

I’ve asked Claude, and its mostly solved. Key elements from his analysis:

  • config.php in the container is applied last, although it’s usually done in alphabetical order. So the password must be applied manually (or create a script that runs when building the image)
  • I was using a unix socket, but it wasn’t setup properly

This is quite something ; I better get used to this! I wouldn’t call it perfect, but it can help a lot.