Can't access Files in Nextcloud, getting connection refused errors in log file

Support intro

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:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 34.0.0.12
  • Operating system and version (e.g., Ubuntu 24.04):
    • Unraid 7.3.1
  • Web server and version (e.g, Apache 2.4.25):
    • Unknown - I rely on Unraid and the Docker image to provide everything I need. This is the first time I've needed any help with an iissue.
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • ??
  • PHP version (e.g, 8.3):
    • ??
  • Is this the first time you’ve seen this error? (Yes / No):
    • I can see that the connection refused error seems to have been happening for a while, but this is the first time I've not been able to access the files. I just get an Internal Server Error, which is not too helpful.
  • When did this problem seem to first start?
    • The logfile is full of this error and User xxx still has unscanned files after running background scan, background scan might be stopped prematurely, but not being able to access my files is recent withing the last week. Intersetingly, I can still access them using the mobile app, but not using the web.
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • docker on Unraid
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • Yes, I access using Cloudflare.

Summary of the issue you are facing:

I’m sorry that I don’t have all the above requested information. :frowning:

Today is the first time I noticed this issue. When I login to Nextcloud using my Chrome browser, then go to Files, I get a Internal Server Error. This last worked about a week ago so I’m not sure exactly the day that this started happening.

Looking at the logs, I see numerous instances of RedisException connection Refused, and another that may be a red herring (User xxx still has unscanned files after running background scan, background scan might be stopped prematurely). I’ve seen lots of this one especially for a very long time but it didn’t seem to affect anything before.

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

  1. Login to Nextcloud

  2. Select files from the menu

  3. Get the internal server error

Sorry that this is hard to read. I don’t think it gives very useful information though.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

{
  "reqId": "zW9Dvoz5csI84V6pI5Ty",
  "level": 3,
  "time": "2026-06-22T23:55:38+00:00",
  "remoteAddr": "",
  "user": "--",
  "app": "no app in context",
  "method": "",
  "url": "--",
  "scriptName": "/app/www/public/occ",
  "message": "Connection refused",
  "userAgent": "--",
  "version": "34.0.0.12",
  "occ_command": [
    "/app/www/public/occ",
    "app:remove"
  ],
  "exception": {
    "Exception": "RedisException",
    "Message": "Connection refused",
    "Code": 0,
    "Trace": [
      {
        "file": "/app/www/public/lib/private/RedisFactory.php",
        "line": 95,
        "function": "pconnect",
        "class": "Redis",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/RedisFactory.php",
        "line": 138,
        "function": "create",
        "class": "OC\\RedisFactory",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/config/www/nextcloud/apps/notify_push/lib/Queue/PushRedisFactory.php",
        "line": 38,
        "function": "getInstance",
        "class": "OC\\RedisFactory",
        "type": "->"
      },
      {
        "file": "/config/www/nextcloud/apps/notify_push/lib/AppInfo/Application.php",
        "line": 46,
        "function": "getRedis",
        "class": "OCA\\NotifyPush\\Queue\\PushRedisFactory",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 176,
        "function": "{closure:OCA\\NotifyPush\\AppInfo\\Application::register():43}",
        "class": "OCA\\NotifyPush\\AppInfo\\Application",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/app/www/public/3rdparty/pimple/pimple/src/Pimple/Container.php",
        "line": 122,
        "function": "{closure:OC\\AppFramework\\Utility\\SimpleContainer::registerService():175}",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 150,
        "function": "offsetGet",
        "class": "Pimple\\Container",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php",
        "line": 376,
        "function": "query",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php",
        "line": 351,
        "function": "queryNoFallback",
        "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 94,
        "function": "query",
        "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
        "type": "->"
      },
      {
        "function": "{closure:OC\\AppFramework\\Utility\\SimpleContainer::buildClassConstructorParameters():81}",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 81,
        "function": "array_map"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 70,
        "function": "buildClassConstructorParameters",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->"
      },
      {
        "file": "/app/www/public/3rdparty/symfony/console/Command/Command.php",
        "line": 160,
        "function": "{closure:OC\\AppFramework\\Utility\\SimpleContainer::buildClass():68}",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/app/www/public/3rdparty/symfony/console/Application.php",
        "line": 559,
        "function": "setApplication",
        "class": "Symfony\\Component\\Console\\Command\\Command",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/Console/Application.php",
        "line": 210,
        "function": "add",
        "class": "Symfony\\Component\\Console\\Application",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/Console/Application.php",
        "line": 102,
        "function": "loadCommandsFromInfoXml",
        "class": "OC\\Console\\Application",
        "type": "->"
      },
      {
        "file": "/app/www/public/console.php",
        "line": 86,
        "function": "loadCommands",
        "class": "OC\\Console\\Application",
        "type": "->"
      },
      {
        "file": "/app/www/public/occ",
        "line": 33,
        "args": [
          "/app/www/public/console.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/app/www/public/lib/private/RedisFactory.php",
    "Line": 95,
    "message": "Connection refused",
    "exception": "{\"class\":\"RedisException\",\"message\":\"Connection refused\",\"code\":0,\"file\":\"/app/www/public/lib/private/RedisFactory.php:95\",\"trace\":\"#0 /app/www/public/lib/private/RedisFactory.php(95): Redis->pconnect()\\n#1 /app/www/public/lib/private/RedisFactory.php(138): OC\\RedisFactory->create()\\n#2 /config/www/nextcloud/apps/notify_push/lib/Queue/PushRedisFactory.php(38): OC\\RedisFactory->getInstance()\\n#3 /config/www/nextcloud/apps/notify_push/lib/AppInfo/Application.php(46): OCA\\NotifyPush\\Queue\\PushRedisFactory->getRedis()\\n#4 /app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php(176): OCA\\NotifyPush\\AppInfo\\Application->{closure:OCA\\NotifyPush\\AppInfo\\Application::register():43}()\\n#5 /app/www/public/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->{closure:OC\\AppFramework\\Utility\\SimpleContainer::registerService():175}()\\n#6 /app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php(150): Pimple\\Container->offsetGet()\\n#7 /app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php(376): OC\\AppFramework\\Utility\\SimpleContainer->query()\\n#8 /app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php(351): OC\\AppFramework\\DependencyInjection\\DIContainer->queryNoFallback()\\n#9 /app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php(94): OC\\AppFramework\\DependencyInjection\\DIContainer->query()\\n#10 [internal function]: OC\\AppFramework\\Utility\\SimpleContainer->{closure:OC\\AppFramework\\Utility\\SimpleContainer::buildClassConstructorParameters():81}()\\n#11 /app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php(81): array_map()\\n#12 /app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php(70): OC\\AppFramework\\Utility\\SimpleContainer->buildClassConstructorParameters()\\n#13 /app/www/public/3rdparty/symfony/console/Command/Command.php(160): OC\\AppFramework\\Utility\\SimpleContainer->{closure:OC\\AppFramework\\Utility\\SimpleContainer::buildClass():68}()\\n#14 /app/www/public/3rdparty/symfony/console/Application.php(559): Symfony\\Component\\Console\\Command\\Command->setApplication()\\n#15 /app/www/public/lib/private/Console/Application.php(210): Symfony\\Component\\Console\\Application->add()\\n#16 /app/www/public/lib/private/Console/Application.php(102): OC\\Console\\Application->loadCommandsFromInfoXml()\\n#17 /app/www/public/console.php(86): OC\\Console\\Application->loadCommands()\\n#18 /app/www/public/occ(33): require_once('...')\\n#19 {main}\"}",
    "CustomMessage": "Connection refused"
  },
  "id": "6a39ce8f9b6c8"
}

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

Request - https://nextcloud.don-ius.us/apps/files/

Response - 
<!DOCTYPE html>
<html class="ng-csp" data-placeholder-focus="false" lang="en" data-locale="en" translate="no" >
	<head
 data-requesttoken="">
		<meta charset="utf-8">
		<title>
			NextCloud Home Vault		</title>
		<meta name="csp-nonce" nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
				<meta name="apple-itunes-app" content="app-id=1125420102">
				<meta name="theme-color" content="#00679e">
		<link rel="icon" href="/apps/theming/favicon?v=42b783b1">
		<link rel="apple-touch-icon" href="/apps/theming/icon?v=42b783b1">
		<link rel="mask-icon" sizes="any" href="/core/img/favicon-mask.svg" color="#00679e">
		<link rel="manifest" href="/core/img/manifest.json" crossorigin="use-credentials">
		<link rel="stylesheet" href="/apps/breezedark/css/server.css?v=c98a739c-19">
<link rel="stylesheet" href="/apps/breezedark/css/guest.css?v=c98a739c-19">
<link rel="stylesheet" href="/apps/approval/css/files-style.css?v=593ed86d-19">
<link rel="stylesheet" href="/apps/contacts/css/contacts-files-action.css?v=783dfb5b-19">
<link rel="stylesheet" href="/dist/federatedfilesharing-init-files.css?v=cfcd2084-19">
<link rel="stylesheet" href="/apps/files_lock/css/files_lock-main.css?v=a72d5d6f-19">
<link rel="stylesheet" href="/apps/files_sharing/css/icons.css?v=43998d96-19">
<link rel="stylesheet" href="/dist/files_versions-sidebar-tab.css?v=cfcd2084-19">
<link rel="stylesheet" href="/dist/systemtags-init.css?v=cfcd2084-19">
<link rel="stylesheet" href="/apps/text/css/text-init.css?v=5a0be27d-19">
<link rel="stylesheet" href="/apps/text/css/text-files.css?v=5a0be27d-19">
<link rel="stylesheet" href="/apps/activity/css/style.css?v=cd7ed5e3-19">
<link rel="stylesheet" href="/dist/comments-comments-tab.css?v=cfcd2084-19">
<link rel="stylesheet" href="/apps/files_downloadlimit/css/files_downloadlimit-main.css?v=851e1fba-19">
<link rel="stylesheet" href="/core/css/styles.css?v=6dceb9f2-19">
<link rel="stylesheet" href="/core/css/header.css?v=6dceb9f2-19">
<link rel="stylesheet" href="/core/css/exception.css?v=6dceb9f2-19">
<link rel="stylesheet" href="/apps/theming/css/default.css?v=93ef3f37-19">
<link rel="stylesheet" href="/core/css/guest.css?v=6dceb9f2-19">
		<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="importmap">
{"imports":{"/apps/approval/js/approval-init.mjs":"/apps/approval/js/approval-init.mjs?v=6dceb9f2-19","/dist/comments-init.mjs":"/dist/comments-init.mjs?v=6dceb9f2-19","/apps/contacts/js/contacts-files-action.mjs":"/apps/contacts/js/contacts-files-action.mjs?v=6dceb9f2-19","/dist/federatedfilesharing-init-files.mjs":"/dist/federatedfilesharing-init-files.mjs?v=6dceb9f2-19","/dist/files_external-init.mjs":"/dist/files_external-init.mjs?v=6dceb9f2-19","/apps/files_lock/js/files_lock-init.mjs":"/apps/files_lock/js/files_lock-init.mjs?v=6dceb9f2-19","/dist/files_trashbin-init.mjs":"/dist/files_trashbin-init.mjs?v=6dceb9f2-19","/dist/files_versions-sidebar-tab.mjs":"/dist/files_versions-sidebar-tab.mjs?v=6dceb9f2-19","/dist/systemtags-init.mjs":"/dist/systemtags-init.mjs?v=6dceb9f2-19","/apps/text/js/text-init.mjs":"/apps/text/js/text-init.mjs?v=6dceb9f2-19","/apps/tables/js/tables-files.mjs":"/apps/tables/js/tables-files.mjs?v=6dceb9f2-19","/apps/activity/js/activity-api.mjs":"/apps/activity/js/activity-api.mjs?v=6dceb9f2-19","/apps/files_downloadlimit/js/files_downloadlimit-main.mjs":"/apps/files_downloadlimit/js/files_downloadlimit-main.mjs?v=6dceb9f2-19","/apps/approval/js/approval-filesPlugin.mjs":"/apps/approval/js/approval-filesPlugin.mjs?v=6dceb9f2-19","/apps/approval/js/approval-approvalTab.mjs":"/apps/approval/js/approval-approvalTab.mjs?v=6dceb9f2-19","/apps/files_lock/js/files_lock-main.mjs":"/apps/files_lock/js/files_lock-main.mjs?v=6dceb9f2-19","/apps/text/js/text-files.mjs":"/apps/text/js/text-files.mjs?v=6dceb9f2-19","/apps/activity/js/activity-sidebar.mjs":"/apps/activity/js/activity-sidebar.mjs?v=6dceb9f2-19","/dist/comments-comments-app.mjs":"/dist/comments-comments-app.mjs?v=6dceb9f2-19","/dist/comments-comments-tab.mjs":"/dist/comments-comments-tab.mjs?v=6dceb9f2-19"}}
</script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/dist/files-init.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/approval/js/approval-init.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/dist/comments-init.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/contacts/js/contacts-files-action.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/dist/federatedfilesharing-init-files.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/dist/files_external-init.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/files_lock/js/files_lock-init.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/dist/files_sharing-init.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/dist/files_trashbin-init.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/dist/files_versions-sidebar-tab.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/dist/systemtags-init.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/text/js/text-init.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/apps/richdocuments/js/richdocuments-fileActions.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/tables/js/tables-files.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/activity/js/activity-api.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/files_downloadlimit/js/files_downloadlimit-main.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/apps/richdocuments/js/richdocuments-init-viewer.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/apps/breezedark/js/breezedark.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/apps/calendar/js/calendar-contacts-menu.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/dist/files-main.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/dist/files-sidebar.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/dist/files-search.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/approval/js/approval-filesPlugin.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/approval/js/approval-approvalTab.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/files_lock/js/files_lock-main.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/dist/files_sharing-additionalScripts.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/dist/files_sharing-collaboration.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/dist/files_sharing-files_sharing_tab.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/apps/integration_immich/js/integration_immich-fileAction.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/apps/recommendations/js/recommendations-main.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/text/js/text-files.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/apps/activity/js/activity-sidebar.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/dist/comments-comments-app.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" type="module" src="/dist/comments-comments-tab.mjs?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/apps/related_resources/js/related_resources.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/apps/files_pdfviewer/js/files_pdfviewer-main.js?v=6dceb9f2-19"></script>
<script nonce="zdAp0rrbgvrWrdgRjpPbWCtem0UgaGODG5ouFq+/eQQ=" defer src="/apps/richdocuments/js/richdocuments-viewer.js?v=6dceb9f2-19"></script>
			</head>
	<body id="body-login" data-theme-dark  data-themes="dark">
		<noscript>
	<div id="nojavascript">
		<div>
			This application requires JavaScript for correct operation. Please <a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">enable JavaScript</a> and reload the page.		</div>
	</div>
</noscript>
		<div id="initial-state-container" style="display: none;">
			<input type="hidden" id="initial-state-files-storageStats" value="eyJmcmVlIjo2NzU0NzAwODY1NTM2LCJ1c2VkIjoxMDM1MTU2NDY4OCwicXVvdGEiOi0zLCJ0b3RhbCI6Njc2NTA1MjQzMDIyNCwicmVsYXRpdmUiOjAuMTUsIm93bmVyIjoiZG9uIiwib3duZXJEaXNwbGF5TmFtZSI6IkRvbiBJdXMiLCJtb3VudFR5cGUiOiIiLCJtb3VudFBvaW50IjoiIn0=">
			<input type="hidden" id="initial-state-files-config" value="eyJjcm9wX2ltYWdlX3ByZXZpZXdzIjp0cnVlLCJkZWZhdWx0X3ZpZXciOiJmaWxlcyIsImZvbGRlcl90cmVlIjp0cnVlLCJncmlkX3ZpZXciOmZhbHNlLCJzaG93X2RpYWxvZ19kZWxldGlvbiI6ZmFsc2UsInNob3dfZGlhbG9nX2ZpbGVfZXh0ZW5zaW9uIjp0cnVlLCJzaG93X2ZpbGVzX2V4dGVuc2lvbnMiOnRydWUsInNob3dfaGlkZGVuIjp0cnVlLCJzaG93X21pbWVfY29sdW1uIjpmYWxzZSwic29ydF9mYXZvcml0ZXNfZmlyc3QiOnRydWUsInNvcnRfZm9sZGVyc19maXJzdCI6dHJ1ZX0=">
			<input type="hidden" id="initial-state-files-viewConfigs" value="eyJmaWxlcyI6eyJzb3J0aW5nX21vZGUiOiJiYXNlbmFtZSIsInNvcnRpbmdfZGlyZWN0aW9uIjoiYXNjIiwiZXhwYW5kZWQiOnRydWV9LCJmb2xkZXJzIjp7InNvcnRpbmdfbW9kZSI6bnVsbCwic29ydGluZ19kaXJlY3Rpb24iOiJhc2MiLCJleHBhbmRlZCI6dHJ1ZX0sInNoYXJlb3ZlcnZpZXciOnsic29ydGluZ19tb2RlIjpudWxsLCJzb3J0aW5nX2RpcmVjdGlvbiI6ImFzYyIsImV4cGFuZGVkIjp0cnVlfSwiZmF2b3JpdGVzIjp7InNvcnRpbmdfbW9kZSI6bnVsbCwic29ydGluZ19kaXJlY3Rpb24iOiJhc2MiLCJleHBhbmRlZCI6ZmFsc2V9LCJodHRwczpcL1wvbmV4dGNsb3VkLmRvbi1pdXMudXNcL3JlbW90ZS5waHBcL2RhdlwvZmlsZXNcL2RvblwvRG9uJTIwb24lMjBPbHltcGlhIjp7InNvcnRpbmdfbW9kZSI6bnVsbCwic29ydGluZ19kaXJlY3Rpb24iOiJhc2MiLCJleHBhbmRlZCI6dHJ1ZX0sImh0dHBzOlwvXC9uZXh0Y2xvdWQuZG9uLWl1cy51c1wvcmVtb3RlLnBocFwvZGF2XC9maWxlc1wvZG9uXC9Eb24lMjBvbiUyME9seW1waWFcL0dlbmVhbG9naWNhbCUyMERvY3VtZW50cyI6eyJzb3J0aW5nX21vZGUiOm51bGwsInNvcnRpbmdfZGlyZWN0aW9uIjoiYXNjIiwiZXhwYW5kZWQiOnRydWV9fQ==">
			<input type="hidden" id="initial-state-files-recent_limit" value="MTAw">
			<input type="hidden" id="initial-state-files-group_recent_files" value="ZmFsc2U=">
			<input type="hidden" id="initial-state-files-recent_files_group_mime_types" value="W10=">
			<input type="hidden" id="initial-state-files-recent_files_group_timespan_minutes" value="Mg==">
			<input type="hidden" id="initial-state-files-filesSortingConfig" value="W10=">
			<input type="hidden" id="initial-state-files-forbiddenCharacters" value="WyJcXCIsIlwvIl0=">
			<input type="hidden" id="initial-state-federatedfilesharing-notificationsEnabled" value="ZmFsc2U=">
			<input type="hidden" id="initial-state-files_external-allowUserMounting" value="ZmFsc2U=">
			<input type="hidden" id="initial-state-systemtags-restrictSystemTagsCreationToAdmin" value="ZmFsc2U=">
			<input type="hidden" id="initial-state-text-workspace_available" value="dHJ1ZQ==">
			<input type="hidden" id="initial-state-text-workspace_enabled" value="dHJ1ZQ==">
			<input type="hidden" id="initial-state-text-open_read_only_enabled" value="ZmFsc2U=">
			<input type="hidden" id="initial-state-text-default_file_extension" value="Im1kIg==">
			<input type="hidden" id="initial-state-text-rich_editing_enabled" value="dHJ1ZQ==">
			<input type="hidden" id="initial-state-text-translation_available" value="ZmFsc2U=">
			<input type="hidden" id="initial-state-text-taskprocessing" value="W10=">
			<input type="hidden" id="initial-state-text-notify_push" value="dHJ1ZQ==">
			<input type="hidden" id="initial-state-text-is_full_width_editor" value="ZmFsc2U=">
			<input type="hidden" id="initial-state-text-offline_readonly_delay" value="MzAw">
			<input type="hidden" id="initial-state-comments-max-message-length" value="MTAwMA==">
			<input type="hidden" id="initial-state-comments-activityEnabled" value="dHJ1ZQ==">
			<input type="hidden" id="initial-state-comments-maxAutoCompleteResults" value="MTA=">
			<input type="hidden" id="initial-state-files_downloadlimit-default-download-limit" value="LTE=">
			<input type="hidden" id="initial-state-files_sharing-showFederatedSharesAsInternal" value="ZmFsc2U=">
			<input type="hidden" id="initial-state-files_sharing-showFederatedSharesToTrustedServersAsInternal" value="ZmFsc2U=">
			<input type="hidden" id="initial-state-files_sharing-showExternalSharing" value="dHJ1ZQ==">
			<input type="hidden" id="initial-state-files_pdfviewer-allowViewWithoutDownload" value="dHJ1ZQ==">
			<input type="hidden" id="initial-state-richdocuments-productName" value="Ik5leHRjbG91ZCBPZmZpY2UgKENvbGxhYm9yYSki">
			<input type="hidden" id="initial-state-richdocuments-hasDrawSupport" value="dHJ1ZQ==">
			<input type="hidden" id="initial-state-richdocuments-hasNextcloudBranding" value="dHJ1ZQ==">
			<input type="hidden" id="initial-state-richdocuments-instanceId" value="Im9jMTJ4d2J6NWdicSI=">
			<input type="hidden" id="initial-state-richdocuments-wopi_callback_url" value="IiI=">
			<input type="hidden" id="initial-state-richdocuments-loggedInUser" value="ImRvbiI=">
			<input type="hidden" id="initial-state-richdocuments-theme" value="Im5leHRjbG91ZCI=">
			<input type="hidden" id="initial-state-richdocuments-uiDefaults" value="eyJVSU1vZGUiOiJub3RlYm9va2JhciJ9">
			<input type="hidden" id="initial-state-richdocuments-theming-customLogo" value="Imh0dHBzOlwvXC9uZXh0Y2xvdWQuZG9uLWl1cy51c1wvYXBwc1wvdGhlbWluZ1wvaW1hZ2VcL2xvZ28/dj0xOSI=">
			<input type="hidden" id="initial-state-richdocuments-open_local_editor" value="dHJ1ZQ==">
			<input type="hidden" id="initial-state-core-versionHash" value="IjZkY2ViOWYyIg==">
			<input type="hidden" id="initial-state-files_trashbin-config" value="eyJhbGxvd19kZWxldGUiOnRydWV9">
	</div>
		<div class="wrapper">
			<div class="v-align">
									<header>
						<div id="header" class="header-guest">
							<div class="logo"></div>
						</div>
					</header>
								<div class="guest-content">
					<h1 class="hidden-visually">
						NextCloud Home Vault					</h1>
					<div class="guest-box wide">
	<h2>Internal Server Error</h2>
	<p>The server was unable to complete your request.</p>
	<p>If this happens again, please send the technical details below to the server administrator.</p>
	<p>More details can be found in the server log.</p>
	
	<h3>Technical details</h3>
	<ul>
		<li>Remote Address: 162.252.246.254</li>
		<li>Request ID: Mj2T5jVWuTmVnFMBH1FZ</li>
			</ul>

	</div>
				</div>
			</div>
		</div>
				<footer class="guest-box ">
			<p class="info">
				<a href="https://nextcloud.com" target="_blank" rel="noreferrer noopener" class="entity-name">NextCloud Home Vault</a> – Never sharing your data - EVER!!			</p>
		</footer>
	</body>
</html>

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!):

Connection refused
{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.68.54:444",
            "nextcloud.don-ius.us"
        ],
        "default_phone_region": "US",
        "debug": false,
        "dbtype": "mysql",
        "enable_previews": true,
        "version": "34.0.0.12",
        "overwrite.cli.url": "https:\/\/nextcloud.donius-us",
        "overwritehost": "nextcloud.don-ius.us",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "maintenance": false,
        "maintenance_window_start": 1,
        "has_rebuilt_cache": true,
        "theme": "",
        "loglevel": 3,
        "app_install_overwrite": {
            "0": "carnet",
            "2": "camerarawpreviews",
            "3": "radio",
            "4": "breezedark",
            "5": "tasks"
        },
        "filelocking.enabled": "true",
        "upgrade.disable-web": true,
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": true,
        "mail_smtpport": "465",
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": false,
                "verify_peer": true,
                "verify_peer_name": true
            }
        },
        "memcache.locking": "\\OC\\Memcache\\APCu"
    }
}

Apps

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

Enabled:

  • activity: 7.0.0
  • app_api: 34.0.0
  • approval: 3.3.0
  • appstore: 1.0.0
  • breezedark: 29.0.0
  • calendar: 6.5.0
  • camerarawpreviews: 1.1.1
  • cloud_federation_api: 1.18.0
  • comments: 1.24.0
  • contacts: 8.7.1
  • contactsinteraction: 1.15.0
  • cookbook: 0.11.7
  • dashboard: 7.14.0
  • dav: 1.39.0
  • federatedfilesharing: 1.24.0
  • federation: 1.24.0
  • files: 2.6.0
  • files_downloadlimit: 5.2.0-dev.0
  • files_external: 1.26.0
  • files_lock: 34.0.0
  • files_pdfviewer: 7.0.0-dev.0
  • files_reminders: 1.7.0
  • files_sharing: 1.26.0
  • files_trashbin: 1.24.0
  • files_versions: 1.27.0
  • firstrunwizard: 7.0.0-dev.0
  • integration_immich: 1.1.6
  • logreader: 7.0.0
  • lookup_server_connector: 1.22.0
  • nextcloud_announcements: 6.0.0
  • notes: 6.0.0
  • notify_push: 1.3.3
  • oauth2: 1.22.0
  • office: 1.0.0
  • password_policy: 6.0.0-dev.0
  • photos: 7.0.0
  • privacy: 6.0.0-dev.1
  • profile: 1.3.0
  • provisioning_api: 1.24.0
  • recommendations: 7.0.0-dev.0
  • related_resources: 5.0.0-dev.0
  • richdocuments: 11.0.0
  • serverinfo: 6.0.0
  • settings: 1.17.0
  • sharebymail: 1.24.0
  • support: 6.0.0
  • survey_client: 6.0.0-dev.0
  • systemtags: 1.24.0
  • tables: 2.2.0
  • text: 8.0.0
  • theming: 2.9.0
  • twofactor_backupcodes: 1.23.0
  • twofactor_totp: 16.0.0
  • updatenotification: 1.24.0
  • user_status: 1.14.0
  • viewer: 7.0.0-dev.0
  • weather_status: 1.14.0
  • webhook_listeners: 1.6.0
  • workflowengine: 2.16.0
    Disabled:
  • admin_audit: 1.24.0
  • bruteforcesettings: 7.0.0 (installed 2.2.0)
  • circles: 34.0.0 (installed 23.0.0)
  • encryption: 2.22.0
  • notifications: 7.0.0-dev.1 (installed 7.0.0-dev.1)
  • spreed: 24.0.0 (installed 24.0.0)
  • suspicious_login: 12.0.0-dev.0
  • testing: 1.23.0
  • twofactor_nextcloud_notification: 8.0.0
  • user_ldap: 1.25.0

I appreciate any guidance available to help me solve this issue. I’ll try to supply as much information as possible if I can be directed where to find it.

Note: I have searched other topics but nothing has fixed this issue.

Thanks!!!

The logs complains about redis

"RedisException","message": "Connection refused" 

at the same time it looks you don’t have redis in place

"memcache.locking": "\\OC\\Memcache\\APCu"

According to docs memcache.locking is supposed to be Redis.. while not really clear if Redis is the only supported option Clarification: Is APCu acceptable for `memcache.locking`? · Issue #43895 · nextcloud/server · GitHub I would try Redis or nothing (database)

Did you change something shortly?

UPDATE: same error due to invalid redis config: Redis verursacht Fehler / Nextcloud 32.0.1 bei all inkl

Find the log entry that matches the one in your screenshot, not the one you posted.

Also, set this back to 2 (the default):

   "loglevel": 3,

Here is an equivalent log entry from this morninfg for the exact same entry. It’s a different req ID, but the same opperation - simply done this morning. I also set the log level to 2. I didn’t notice anything different in the logs though. I may not be looking at the right thing.

{
  "reqId": "FVaoNGggvURFMi8i37fa",
  "level": 3,
  "time": "2026-06-23T15:28:19+00:00",
  "remoteAddr": "162.252.246.254",
  "user": "don",
  "app": "index",
  "method": "GET",
  "url": "/apps/files/",
  "scriptName": "/index.php",
  "message": "Connection refused",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36",
  "version": "34.0.0.12",
  "exception": {
    "Exception": "RedisException",
    "Message": "Connection refused",
    "Code": 0,
    "Trace": \[
      {
        "file": "/app/www/public/lib/private/RedisFactory.php",
        "line": 95,
        "function": "pconnect",
        "class": "Redis",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/RedisFactory.php",
        "line": 138,
        "function": "create",
        "class": "OC\\\\RedisFactory",
        "type": "->",
        "args": \[
          "\*\*\* sensitive parameters replaced \*\*\*"
        \]
      },
      {
        "file": "/config/www/nextcloud/apps/notify_push/lib/Queue/PushRedisFactory.php",
        "line": 38,
        "function": "getInstance",
        "class": "OC\\\\RedisFactory",
        "type": "->"
      },
      {
        "file": "/config/www/nextcloud/apps/notify_push/lib/AppInfo/Application.php",
        "line": 46,
        "function": "getRedis",
        "class": "OCA\\\\NotifyPush\\\\Queue\\\\PushRedisFactory",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 176,
        "function": "{closure:OCA\\\\NotifyPush\\\\AppInfo\\\\Application::register():43}",
        "class": "OCA\\\\NotifyPush\\\\AppInfo\\\\Application",
        "type": "->",
        "args": \[
          "\*\*\* sensitive parameters replaced \*\*\*"
        \]
      },
      {
        "file": "/app/www/public/3rdparty/pimple/pimple/src/Pimple/Container.php",
        "line": 122,
        "function": "{closure:OC\\\\AppFramework\\\\Utility\\\\SimpleContainer::registerService():175}",
        "class": "OC\\\\AppFramework\\\\Utility\\\\SimpleContainer",
        "type": "->",
        "args": \[
          "\*\*\* sensitive parameters replaced \*\*\*"
        \]
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 150,
        "function": "offsetGet",
        "class": "Pimple\\\\Container",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php",
        "line": 376,
        "function": "query",
        "class": "OC\\\\AppFramework\\\\Utility\\\\SimpleContainer",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/ServerContainer.php",
        "line": 139,
        "function": "queryNoFallback",
        "class": "OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php",
        "line": 356,
        "function": "query",
        "class": "OC\\\\ServerContainer",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 94,
        "function": "query",
        "class": "OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer",
        "type": "->"
      },
      {
        "function": "{closure:OC\\\\AppFramework\\\\Utility\\\\SimpleContainer::buildClassConstructorParameters():81}",
        "class": "OC\\\\AppFramework\\\\Utility\\\\SimpleContainer",
        "type": "->",
        "args": \[
          "\*\*\* sensitive parameters replaced \*\*\*"
        \]
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 81,
        "function": "array_map"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 70,
        "function": "buildClassConstructorParameters",
        "class": "OC\\\\AppFramework\\\\Utility\\\\SimpleContainer",
        "type": "->"
      },
      {
        "file": "/config/www/nextcloud/apps/calendar/lib/Service/CalendarInitialStateService.php",
        "line": 44,
        "function": "{closure:OC\\\\AppFramework\\\\Utility\\\\SimpleContainer::buildClass():68}",
        "class": "OC\\\\AppFramework\\\\Utility\\\\SimpleContainer",
        "type": "->",
        "args": \[
          "\*\*\* sensitive parameters replaced \*\*\*"
        \]
      },
      {
        "file": "/config/www/nextcloud/apps/calendar/lib/Listener/CalendarReferenceListener.php",
        "line": 34,
        "function": "run",
        "class": "OCA\\\\Calendar\\\\Service\\\\CalendarInitialStateService",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/EventDispatcher/ServiceEventListener.php",
        "line": 57,
        "function": "handle",
        "class": "OCA\\\\Calendar\\\\Listener\\\\CalendarReferenceListener",
        "type": "->"
      },
      {
        "file": "/app/www/public/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
        "line": 220,
        "function": "\__invoke",
        "class": "OC\\\\EventDispatcher\\\\ServiceEventListener",
        "type": "->"
      },
      {
        "file": "/app/www/public/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
        "line": 56,
        "function": "callListeners",
        "class": "Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/EventDispatcher/EventDispatcher.php",
        "line": 73,
        "function": "dispatch",
        "class": "Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/EventDispatcher/EventDispatcher.php",
        "line": 86,
        "function": "dispatch",
        "class": "OC\\\\EventDispatcher\\\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/config/www/nextcloud/apps/richdocuments/lib/Listener/LoadViewerListener.php",
        "line": 43,
        "function": "dispatchTyped",
        "class": "OC\\\\EventDispatcher\\\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/EventDispatcher/ServiceEventListener.php",
        "line": 57,
        "function": "handle",
        "class": "OCA\\\\Richdocuments\\\\Listener\\\\LoadViewerListener",
        "type": "->"
      },
      {
        "file": "/app/www/public/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
        "line": 220,
        "function": "\__invoke",
        "class": "OC\\\\EventDispatcher\\\\ServiceEventListener",
        "type": "->"
      },
      {
        "file": "/app/www/public/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
        "line": 56,
        "function": "callListeners",
        "class": "Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/EventDispatcher/EventDispatcher.php",
        "line": 73,
        "function": "dispatch",
        "class": "Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/EventDispatcher/EventDispatcher.php",
        "line": 86,
        "function": "dispatch",
        "class": "OC\\\\EventDispatcher\\\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/config/www/nextcloud/apps/files/lib/Controller/ViewController.php",
        "line": 202,
        "function": "dispatchTyped",
        "class": "OC\\\\EventDispatcher\\\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 165,
        "function": "index",
        "class": "OCA\\\\Files\\\\Controller\\\\ViewController",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 78,
        "function": "executeController",
        "class": "OC\\\\AppFramework\\\\Http\\\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/AppFramework/App.php",
        "line": 137,
        "function": "dispatch",
        "class": "OC\\\\AppFramework\\\\Http\\\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/app/www/public/lib/private/Route/Router.php",
        "line": 324,
        "function": "main",
        "class": "OC\\\\AppFramework\\\\App",
        "type": "::"
      },
      {
        "file": "/app/www/public/lib/base.php",
        "line": 1159,
        "function": "match",
        "class": "OC\\\\Route\\\\Router",
        "type": "->"
      },
      {
        "file": "/app/www/public/index.php",
        "line": 25,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    \],
    "File": "/app/www/public/lib/private/RedisFactory.php",
    "Line": 95,
    "message": "Connection refused",
    "exception": "{\\"class\\":\\"RedisException\\",\\"message\\":\\"Connection refused\\",\\"code\\":0,\\"file\\":\\"/app/www/public/lib/private/RedisFactory.php:95\\",\\"trace\\":\\"#0 /app/www/public/lib/private/RedisFactory.php(95): Redis->pconnect()\\\\n#1 /app/www/public/lib/private/RedisFactory.php(138): OC\\\\RedisFactory->create()\\\\n#2 /config/www/nextcloud/apps/notify_push/lib/Queue/PushRedisFactory.php(38): OC\\\\RedisFactory->getInstance()\\\\n#3 /config/www/nextcloud/apps/notify_push/lib/AppInfo/Application.php(46): OCA\\\\NotifyPush\\\\Queue\\\\PushRedisFactory->getRedis()\\\\n#4 /app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php(176): OCA\\\\NotifyPush\\\\AppInfo\\\\Application->{closure:OCA\\\\NotifyPush\\\\AppInfo\\\\Application::register():43}()\\\\n#5 /app/www/public/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\\\AppFramework\\\\Utility\\\\SimpleContainer->{closure:OC\\\\AppFramework\\\\Utility\\\\SimpleContainer::registerService():175}()\\\\n#6 /app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php(150): Pimple\\\\Container->offsetGet()\\\\n#7 /app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php(376): OC\\\\AppFramework\\\\Utility\\\\SimpleContainer->query()\\\\n#8 /app/www/public/lib/private/ServerContainer.php(139): OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer->queryNoFallback()\\\\n#9 /app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php(356): OC\\\\ServerContainer->query()\\\\n#10 /app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php(94): OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer->query()\\\\n#11 \[internal function\]: OC\\\\AppFramework\\\\Utility\\\\SimpleContainer->{closure:OC\\\\AppFramework\\\\Utility\\\\SimpleContainer::buildClassConstructorParameters():81}()\\\\n#12 /app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php(81): array_map()\\\\n#13 /app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php(70): OC\\\\AppFramework\\\\Utility\\\\SimpleContainer->buildClassConstructorParameters()\\\\n#14 /config/www/nextcloud/apps/calendar/lib/Service/CalendarInitialStateService.php(44): OC\\\\AppFramework\\\\Utility\\\\SimpleContainer->{closure:OC\\\\AppFramework\\\\Utility\\\\SimpleContainer::buildClass():68}()\\\\n#15 /config/www/nextcloud/apps/calendar/lib/Listener/CalendarReferenceListener.php(34): OCA\\\\Calendar\\\\Service\\\\CalendarInitialStateService->run()\\\\n#16 /app/www/public/lib/private/EventDispatcher/ServiceEventListener.php(57): OCA\\\\Calendar\\\\Listener\\\\CalendarReferenceListener->handle()\\\\n#17 /app/www/public/3rdparty/symfony/event-dispatcher/EventDispatcher.php(220): OC\\\\EventDispatcher\\\\ServiceEventListener->\__invoke()\\\\n#18 /app/www/public/3rdparty/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher->callListeners()\\\\n#19 /app/www/public/lib/private/EventDispatcher/EventDispatcher.php(73): Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher->dispatch()\\\\n#20 /app/www/public/lib/private/EventDispatcher/EventDispatcher.php(86): OC\\\\EventDispatcher\\\\EventDispatcher->dispatch()\\\\n#21 /config/www/nextcloud/apps/richdocuments/lib/Listener/LoadViewerListener.php(43): OC\\\\EventDispatcher\\\\EventDispatcher->dispatchTyped()\\\\n#22 /app/www/public/lib/private/EventDispatcher/ServiceEventListener.php(57): OCA\\\\Richdocuments\\\\Listener\\\\LoadViewerListener->handle()\\\\n#23 /app/www/public/3rdparty/symfony/event-dispatcher/EventDispatcher.php(220): OC\\\\EventDispatcher\\\\ServiceEventListener->\__invoke()\\\\n#24 /app/www/public/3rdparty/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher->callListeners()\\\\n#25 /app/www/public/lib/private/EventDispatcher/EventDispatcher.php(73): Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher->dispatch()\\\\n#26 /app/www/public/lib/private/EventDispatcher/EventDispatcher.php(86): OC\\\\EventDispatcher\\\\EventDispatcher->dispatch()\\\\n#27 /config/www/nextcloud/apps/files/lib/Controller/ViewController.php(202): OC\\\\EventDispatcher\\\\EventDispatcher->dispatchTyped()\\\\n#28 /app/www/public/lib/private/AppFramework/Http/Dispatcher.php(165): OCA\\\\Files\\\\Controller\\\\ViewController->index()\\\\n#29 /app/www/public/lib/private/AppFramework/Http/Dispatcher.php(78): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController()\\\\n#30 /app/www/public/lib/private/AppFramework/App.php(137): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch()\\\\n#31 /app/www/public/lib/private/Route/Router.php(324): OC\\\\AppFramework\\\\App::main()\\\\n#32 /app/www/public/lib/base.php(1159): OC\\\\Route\\\\Router->match()\\\\n#33 /app/www/public/index.php(25): OC::handleRequest()\\\\n#34 {main}\\"}",
    "CustomMessage": "Connection refused"
  },
  "id": "6a3aa672a6987"
}

I changed the memcache.locking to be Redis as per your suggestion, but it didn’t change a thing. I have never configure Redis before on my server, however, I did a search to see if it was running on my server and it is running on the server, but not in the docker space for Nextcloud. Not sure if that makes a difference.

Another possible clue might be that everytime I issue an ‘occ’ command, the first thing that pops up is a “Connection refused” error. It doesn’t stop the command from executing though. Possible clue??

Also, I tried to remove the memcache.locking entry, but Nextcloud automatically added it back as APCu. So it looks like it is required, and that APCu is accepatble, but I’ve left it a Redis for now.

Which Docker image are you using? Based on the paths in your logs this is neither of the in-project images nor is it the next most common third party one (LSIO).

I’m using the docker image for Unraid. It says the version is 34.0.0.12. I just recently upgraded to that version. I get it from here: linuxserver/nextcloud:latest

Here is the output from the System Info query: https:///ocs/v2.php/apps/serverinfo/api/v1/info

{
   "ocs":{
      "meta":{
         "status":"ok",
         "statuscode":200,
         "message":"OK"
      },
      "data":{
         "nextcloud":{
            "system":{
               "version":"34.0.0.12",
               "theme":"",
               "enable_avatars":"yes",
               "enable_previews":"yes",
               "memcache.local":"\\OC\\Memcache\\APCu",
               "memcache.distributed":"none",
               "filelocking.enabled":"yes",
               "memcache.locking":"\\OC\\Memcache\\APCu",
               "debug":"no",
               "freespace":6755640897536,
               "cpuload":[
                  0.4140625,
                  0.46875,
                  0.466796875
               ],
               "cpunum":4,
               "mem_total":32913408,
               "mem_free":27558912,
               "swap_total":0,
               "swap_free":0
            },
            "storage":{
               "num_users":6,
               "num_disabled_users":0,
               "num_files":170014,
               "num_storages":42,
               "num_storages_local":8,
               "num_storages_home":6,
               "num_storages_other":28,
               "size_appdata_storage":306446,
               "num_files_appdata":62277
            },
            "shares":{
               "num_shares":2,
               "num_shares_user":0,
               "num_shares_groups":0,
               "num_shares_link":2,
               "num_shares_mail":0,
               "num_shares_room":0,
               "num_shares_link_no_password":2,
               "num_fed_shares_sent":0,
               "num_fed_shares_received":0,
               "permissions_3_17":2
            }
         },
         "server":{
            "webserver":"nginx\/1.28.3",
            "php":{
               "version":"8.4.16",
               "memory_limit":-1,
               "max_execution_time":3600,
               "upload_max_filesize":107374182400,
               "opcache_revalidate_freq":60,
               "opcache":{
                  "opcache_enabled":true,
                  "cache_full":false,
                  "restart_pending":false,
                  "restart_in_progress":false,
                  "memory_usage":{
                     "used_memory":95075792,
                     "free_memory":39141936,
                     "wasted_memory":0,
                     "current_wasted_percentage":0
                  },
                  "interned_strings_usage":{
                     "buffer_size":33554432,
                     "used_memory":14966856,
                     "free_memory":18587576,
                     "number_of_strings":99014
                  },
                  "opcache_statistics":{
                     "num_cached_scripts":2402,
                     "num_cached_keys":4704,
                     "max_cached_keys":16229,
                     "hits":318657,
                     "start_time":1782239806,
                     "last_restart_time":0,
                     "oom_restarts":0,
                     "hash_restarts":0,
                     "manual_restarts":0,
                     "misses":2403,
                     "blacklist_misses":0,
                     "blacklist_miss_ratio":0,
                     "opcache_hit_rate":99.25154176789384
                  },
                  "jit":{
                     "enabled":true,
                     "on":true,
                     "kind":5,
                     "opt_level":5,
                     "opt_flags":6,
                     "buffer_size":134217712,
                     "buffer_free":133288147
                  }
               },
               "apcu":{
                  "cache":{
                     "num_slots":16411,
                     "ttl":0,
                     "num_hits":25710,
                     "num_misses":564,
                     "num_inserts":665,
                     "num_entries":225,
                     "cleanups":0,
                     "defragmentations":0,
                     "expunges":0,
                     "start_time":1782239806,
                     "mem_size":523048,
                     "memory_type":"mmap"
                  },
                  "sma":{
                     "num_seg":1,
                     "seg_size":33554312,
                     "avail_mem":32892464
                  }
               },
               "extensions":{
                  "48":"apcu",
                  "14":"bcmath",
                  "15":"bz2",
                  "13":"cgi-fcgi",
                  "0":"core",
                  "16":"ctype",
                  "17":"curl",
                  "1":"date",
                  "18":"dom",
                  "41":"exif",
                  "19":"fileinfo",
                  "5":"filter",
                  "20":"ftp",
                  "21":"gd",
                  "22":"gmp",
                  "6":"hash",
                  "23":"iconv",
                  "50":"igbinary",
                  "53":"imagick",
                  "54":"imap",
                  "24":"intl",
                  "7":"json",
                  "25":"ldap",
                  "56":"libsmbclient",
                  "2":"libxml",
                  "26":"mbstring",
                  "52":"memcached",
                  "49":"msgpack",
                  "42":"mysqlnd",
                  "32":"openssl",
                  "28":"pcntl",
                  "3":"pcre",
                  "29":"pdo",
                  "47":"pdo_mysql",
                  "43":"pdo_pgsql",
                  "44":"pdo_sqlite",
                  "30":"pgsql",
                  "45":"phar",
                  "31":"posix",
                  "8":"random",
                  "9":"readline",
                  "51":"redis",
                  "10":"reflection",
                  "12":"session",
                  "33":"simplexml",
                  "55":"smbclient",
                  "34":"sockets",
                  "35":"sodium",
                  "11":"spl",
                  "36":"sqlite3",
                  "27":"standard",
                  "37":"sysvsem",
                  "38":"xml",
                  "46":"xmlreader",
                  "39":"xmlwriter",
                  "57":"zend opcache",
                  "40":"zip",
                  "4":"zlib"
               }
            },
            "fpm":{
               "pool":"www",
               "process-manager":"dynamic",
               "start-time":"June 23, 2026, 12:36:46\u202fPM",
               "start-since":1740,
               "accepted-conn":417,
               "listen-queue":0,
               "max-listen-queue":4,
               "listen-queue-len":4096,
               "idle-processes":2,
               "active-processes":1,
               "total-processes":3,
               "max-active-processes":4,
               "max-children-reached":0,
               "slow-requests":0,
               "memory-peak":16777216
            },
            "database":{
               "type":"mysql",
               "version":"11.4.12",
               "size":"222412800"
            }
         },
         "activeUsers":{
            "last5minutes":0,
            "last1hour":1,
            "last24hours":2,
            "last7days":2,
            "last1month":4,
            "last3months":5,
            "last6months":5,
            "lastyear":5
         }
      }
   }
}

I don’t have Redis configured in my nextcloud system, so I’m trying to figure out why I’m getting a Redis error. I doesn’t make any sense. My guess is that a recent code update has a bug that is expecting Redis for the memcache and isn’t honoring the way the system is actually configured. I really don’t want to have to add a Redis server to my Unraid system if I can avoid it.

I always recommend to follow defaults if possible - IMO redis is de-facto standard for file locking, it doesn’t consume lot of resources and doesn’t take lot of work to add in a docker-based deployment so I would give it a try rather spending lot of time trying to avoid..

I’ll see what I can do. I’ve had this running for about 5 or so years though, and haven’t made any changes to the memcache and never encountered anything like this before. Perhaps its all a red herring and the problem is elsewhere. We’ll see. I appreciate the advice though. Thanks.

Okay, I take back the note about you don’t seem to be using LSIO – you’re using their image (I spend way more time on the in-project images and spaced the paths used in LSIO).

Anyhow, you appear to have the notify_push app installed; that requires Redis so maybe you recently installed it? It also operates semi-autonomously which may explain why we’re all confused about your Redis error log messages even though you’re lacking any Redis configuration.

Separately, you may also want to clear this list out to avoid future problems, since these will bypass version compatibility checks:

Thanks for the advice.!!! You have saved the day!! I looked for my active apps using the apps menu under my profile, but it didn’t show notify_push. However, I decided to check using occ app:list to see if it showed up there, and presto - there it was. I quickly disabled it, and suddenly everything started to work again. I can’t thank you enough for your observation. I would never have connected that to my problem.

Thank you soooooooo much!! :slight_smile:

I believe the “friendly” display name in the UI is “Client Push”. Yeah it’s a bit confusing keeping track of the raw internal names versus the display names sometimes.

Glad you got it figured out!