Failed to load File error message

Nextcloud version : 26.0.1
Operating system and version : Truenas 13.0-U4 - FreeBSD 13.1
Apache or nginx version: Apache24 2.4.57
PHP version: 8.1

The issue you are facing:

When accessing some folders via the browser, I get the list of files within but overlayed on that is a long stacktrace with a header that says “Failed To Load File” as well as an error icom

If I refresh the screen, the error message disappears, but the icon remains. I can access the files at that point, but the next time I try to access the folder the same thing occurs. This happens for 1 user only and only on certain folders. All other users / folders are unaffected.

This is the error message:

!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 </title> <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="#c9b656"> <link rel="icon" href="/index.php/apps/theming/favicon?v=794ff49c"> <link rel="apple-touch-icon" href="/index.php/apps/theming/icon?v=794ff49c"> <link rel="mask-icon" sizes="any" href="/core/img/favicon-mask.svg" color="#c9b656"> <link rel="manifest" href="/index.php/apps/theming/manifest?v=794ff49c"> <link rel="stylesheet" href="/core/css/server.css?v=cf37cc73-6"> <link rel="stylesheet" href="/core/css/styles.css?v=cf37cc73-6"> <link rel="stylesheet" href="/core/css/header.css?v=cf37cc73-6"> <link rel="stylesheet" href="/apps/theming/css/default.css?v=9db53190-6"> <link rel="stylesheet" href="/core/css/guest.css?v=cf37cc73-6"> <script nonce="NkIzWFJzYUFFR0VLUmMyY0srR3VIb2dJVElpTHFoRmpudGhNRXU1RllqMD06eDB6bkpJdkVKbEJCZGYvVlhLWEdYK3Q4Q2IzKy9Wa045ZXM2SzRBVEkxST0=" defer src="/dist/core-common.js?v=cf37cc73-6"></script> <script nonce="NkIzWFJzYUFFR0VLUmMyY0srR3VIb2dJVElpTHFoRmpudGhNRXU1RllqMD06eDB6bkpJdkVKbEJCZGYvVlhLWEdYK3Q4Q2IzKy9Wa045ZXM2SzRBVEkxST0=" defer src="/dist/core-main.js?v=cf37cc73-6"></script> <script nonce="NkIzWFJzYUFFR0VLUmMyY0srR3VIb2dJVElpTHFoRmpudGhNRXU1RllqMD06eDB6bkpJdkVKbEJCZGYvVlhLWEdYK3Q4Q2IzKy9Wa045ZXM2SzRBVEkxST0=" defer src="/dist/core-files_fileinfo.js?v=cf37cc73-6"></script> <script nonce="NkIzWFJzYUFFR0VLUmMyY0srR3VIb2dJVElpTHFoRmpudGhNRXU1RllqMD06eDB6bkpJdkVKbEJCZGYvVlhLWEdYK3Q4Q2IzKy9Wa045ZXM2SzRBVEkxST0=" defer src="/dist/core-files_client.js?v=cf37cc73-6"></script> <script nonce="NkIzWFJzYUFFR0VLUmMyY0srR3VIb2dJVElpTHFoRmpudGhNRXU1RllqMD06eDB6bkpJdkVKbEJCZGYvVlhLWEdYK3Q4Q2IzKy9Wa045ZXM2SzRBVEkxST0=" defer src="/index.php/js/core/merged-template-prepend.js?v=cf37cc73-6"></script> <script nonce="NkIzWFJzYUFFR0VLUmMyY0srR3VIb2dJVElpTHFoRmpudGhNRXU1RllqMD06eDB6bkpJdkVKbEJCZGYvVlhLWEdYK3Q4Q2IzKy9Wa045ZXM2SzRBVEkxST0=" defer src="/dist/files_sharing-main.js?v=cf37cc73-6"></script> </head> <body id="body-login"> <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> <input type="hidden" id="initial-state-core-versionHash" value="ImNmMzdjYzczIg=="> <input type="hidden" id="initial-state-comments-maxAutoCompleteResults" value="MTA="> <div class="wrapper"> <div class="v-align"> <header role="banner"> <div id="header"> <div class="logo"></div> </div> </header> <main> <h1 class="hidden-visually"> Nextcloud </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: 192.168.50.1</li> <li>Request ID: nfjlya9thFDvyB4m4yDX</li> </ul> </div> </main> </div> </div> <footer role="contentinfo"> <p class="info"> <a href="https://nextcloud.com" target="_blank" rel="noreferrer noopener" class="entity-name">Nextcloud</a> Data Warehouse </p> </footer> </body> </html>

I’ve run an occ files:scan for this user and get the following error:

Exception during scan: Invalid path: mnt/JailHouse/apps/Nextcloud/config/.htaccess
#0 /usr/local/www/nextcloud/lib/private/Files/Storage/Common.php(896): OC\Files\Storage\Common->getMetaData()
#1 /usr/local/www/nextcloud/lib/private/Files/Storage/Wrapper/PermissionsMask.php(157): OC\Files\Storage\Common->getDirectoryContent()
#2 [internal function]: OC\Files\Storage\Wrapper\PermissionsMask->getDirectoryContent()
#3 /usr/local/www/nextcloud/lib/private/Files/Cache/Scanner.php(403): iterator_to_array()
#4 /usr/local/www/nextcloud/lib/private/Files/Cache/Scanner.php(382): OC\Files\Cache\Scanner->handleChildren()
#5 /usr/local/www/nextcloud/lib/private/Files/Cache/Scanner.php(385): OC\Files\Cache\Scanner->scanChildren()
#6 /usr/local/www/nextcloud/lib/private/Files/Cache/Scanner.php(385): OC\Files\Cache\Scanner->scanChildren()
#7 /usr/local/www/nextcloud/lib/private/Files/Cache/Scanner.php(385): OC\Files\Cache\Scanner->scanChildren()
#8 /usr/local/www/nextcloud/lib/private/Files/Cache/Scanner.php(385): OC\Files\Cache\Scanner->scanChildren()
#9 /usr/local/www/nextcloud/lib/private/Files/Cache/Scanner.php(385): OC\Files\Cache\Scanner->scanChildren()
#10 /usr/local/www/nextcloud/lib/private/Files/Cache/Scanner.php(333): OC\Files\Cache\Scanner->scanChildren()
#11 /usr/local/www/nextcloud/lib/private/Files/Utils/Scanner.php(256): OC\Files\Cache\Scanner->scan()
#12 /usr/local/www/nextcloud/apps/files/lib/Command/Scan.php(161): OC\Files\Utils\Scanner->scan()
#13 /usr/local/www/nextcloud/apps/files/lib/Command/Scan.php(217): OCA\Files\Command\Scan->scanFiles()
#14 /usr/local/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\Files\Command\Scan->execute()
#15 /usr/local/www/nextcloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run()
#16 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(1009): OC\Core\Command\Base->run()
#17 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#18 /usr/local/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#19 /usr/local/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run()
#20 /usr/local/www/nextcloud/console.php(100): OC\Console\Application->run()
#21 /usr/local/www/nextcloud/occ(11): require_once('/usr/local/www/...')
#22 {main}

I’ve tried rebuilding the .htaccess file using occ maintenance:update:htaccess, but no change. I’ve also tried maintenance:repair, maintenance:repair-share-owner, files:cleanup, files:repair-tree, and files:scan-app-data with no change.

Is this the first time you’ve seen this error? (Y/N):
I only started seeing this after updating DB5 to DB18 and Nextcloud to 26, though it may have been there before.

The output of your Nextcloud log in Admin > Logging:

{"reqId":"ltuNIKjLgLeMZ1Qa2ptM","level":1,"time":"2023-04-27T11:06:50-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/stats","message":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist.","Code":0,"Trace":[{"file":"/usr/local/www/nextcloud/lib/private/Route/Router.php","line":380,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Route/CachingRouter.php","line":65,"function":"generate","class":"OC\\Route\\Router","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/URLGenerator.php","line":103,"function":"generate","class":"OC\\Route\\CachingRouter","type":"->"},{"file":"/usr/local/www/nextcloud/apps/circles/lib/Model/ModelManager.php","line":560,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->"},{"file":"/usr/local/www/nextcloud/apps/circles/lib/Model/Circle.php","line":733,"function":"generateLinkToCircle","class":"OCA\\Circles\\Model\\ModelManager","type":"->"},{"file":"/usr/local/www/nextcloud/apps/circles/lib/Model/Circle.php","line":855,"function":"getUrl","class":"OCA\\Circles\\Model\\Circle","type":"->"},{"function":"jsonSerialize","class":"OCA\\Circles\\Model\\Circle","type":"->"},{"file":"/usr/local/www/nextcloud/apps/circles/lib/Service/FederatedUserService.php","line":1293,"function":"json_encode"},{"file":"/usr/local/www/nextcloud/apps/circles/lib/Service/FederatedUserService.php","line":1067,"function":"cacheSingleCircle","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/usr/local/www/nextcloud/apps/circles/lib/Service/FederatedUserService.php","line":979,"function":"getSingleCircle","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/usr/local/www/nextcloud/apps/circles/lib/Service/FederatedUserService.php","line":533,"function":"fillSingleCircleId","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/usr/local/www/nextcloud/apps/circles/lib/ShareByCircleProvider.php","line":543,"function":"getLocalFederatedUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Share20/Manager.php","line":1405,"function":"getSharedWith","class":"OCA\\Circles\\ShareByCircleProvider","type":"->"},{"file":"/usr/local/www/nextcloud/apps/files_sharing/lib/MountProvider.php","line":97,"function":"getSharedWith","class":"OC\\Share20\\Manager","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php","line":89,"function":"getMountsForUser","class":"OCA\\Files_Sharing\\MountProvider","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php","line":146,"function":"getMountsFromProvider","class":"OC\\Files\\Config\\MountProviderCollection","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Files/SetupManager.php","line":228,"function":"addMountForUser","class":"OC\\Files\\Config\\MountProviderCollection","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Files/SetupManager.php","line":327,"function":"OC\\Files\\{closure}","class":"OC\\Files\\SetupManager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/Files/SetupManager.php","line":229,"function":"setupForUserWith","class":"OC\\Files\\SetupManager","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Files/SetupManager.php","line":400,"function":"setupForUser","class":"OC\\Files\\SetupManager","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Files/Mount/Manager.php","line":95,"function":"setupForPath","class":"OC\\Files\\SetupManager","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Files/View.php","line":1390,"function":"find","class":"OC\\Files\\Mount\\Manager","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Files/Filesystem.php","line":738,"function":"getFileInfo","class":"OC\\Files\\View","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/legacy/OC_Helper.php","line":487,"function":"getFileInfo","class":"OC\\Files\\Filesystem","type":"::"},{"file":"/usr/local/www/nextcloud/apps/files/lib/Controller/ApiController.php","line":271,"function":"getStorageInfo","class":"OC_Helper","type":"::"},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getStorageStats","class":"OCA\\Files\\Controller\\ApiController","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/usr/local/www/nextcloud/lib/base.php","line":1056,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/usr/local/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/usr/local/www/nextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"message":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist."}}
{"reqId":"iGS9Kdkr5kITykRFgMZz","level":1,"time":"2023-04-27T11:07:54-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"no app in context","method":"GET","url":"/index.php/apps/files/","message":"Deprecated event type for \\OCP\\Collaboration\\Resources::loadAdditionalScripts: null","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","data":[]}
{"reqId":"iGS9Kdkr5kITykRFgMZz","level":1,"time":"2023-04-27T11:07:54-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"no app in context","method":"GET","url":"/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","data":[]}
{"reqId":"yLDfhqbHmPLZrD20UK46","level":1,"time":"2023-04-27T11:07:55-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"no app in context","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats?dir=%2F","message":"Deprecated event type for \\OCP\\Collaboration\\Resources::loadAdditionalScripts: null","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","data":[]}
{"reqId":"yLDfhqbHmPLZrD20UK46","level":1,"time":"2023-04-27T11:07:55-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"no app in context","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats?dir=%2F","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","data":[]}
{"reqId":"1aQ7xQP6ij4PsN3MzcXj","level":1,"time":"2023-04-27T11:07:55-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=1166727&c=8475f3e87d7d031d24278c562924c520&x=250&y=250&forceIcon=0&a=1","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","data":[]}
{"reqId":"rk5yKCfYGpZ7COCQvpAN","level":1,"time":"2023-04-27T11:07:55-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"text","method":"PUT","url":"/index.php/apps/text/session/create","message":"Keep previous document of 1166727","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","data":{"app":"text"}}
{"reqId":"FpOkmW1XHYuy2lsiiRuV","level":1,"time":"2023-04-27T11:07:59-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"text","method":"PUT","url":"/index.php/apps/text/session/create","message":"Keep previous document of 1184662","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","data":{"app":"text"}}
{"reqId":"TjlC40kalDmr3mA7rwGG","level":1,"time":"2023-04-27T11:07:59-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"no app in context","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats?dir=%2FGore%20United","message":"Deprecated event type for \\OCP\\Collaboration\\Resources::loadAdditionalScripts: null","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","data":[]}
{"reqId":"TjlC40kalDmr3mA7rwGG","level":1,"time":"2023-04-27T11:07:59-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"no app in context","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats?dir=%2FGore%20United","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","data":[]}
{"reqId":"BTFDpZ17cbXeKUPM8WA2","level":1,"time":"2023-04-27T11:07:59-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=1184662&c=9af85d4cfc2c92d613fa3fc121857b0d&x=250&y=250&forceIcon=0&a=1","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","data":[]}
{"reqId":"FpOkmW1XHYuy2lsiiRuV","level":3,"time":"2023-04-27T11:07:59-04:00","remoteAddr":"192.168.50.1","user":"dougw","app":"index","method":"PUT","url":"/index.php/apps/text/session/create","message":"OCA\\Text\\Service\\EncodingService::encodeToUtf8(): Argument #1 ($string) must be of type string, bool given, called in /usr/local/www/nextcloud/apps/text/lib/Service/ApiService.php on line 279 in file '/usr/local/www/nextcloud/apps/text/lib/Service/EncodingService.php' line 39","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0","version":"26.0.1.1","exception":{"Exception":"Exception","Message":"OCA\\Text\\Service\\EncodingService::encodeToUtf8(): Argument #1 ($string) must be of type string, bool given, called in /usr/local/www/nextcloud/apps/text/lib/Service/ApiService.php on line 279 in file '/usr/local/www/nextcloud/apps/text/lib/Service/EncodingService.php' line 39","Code":0,"Trace":[{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/usr/local/www/nextcloud/lib/base.php","line":1056,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/usr/local/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"TypeError","Message":"OCA\\Text\\Service\\EncodingService::encodeToUtf8(): Argument #1 ($string) must be of type string, bool given, called in /usr/local/www/nextcloud/apps/text/lib/Service/ApiService.php on line 279","Code":0,"Trace":[{"file":"/usr/local/www/nextcloud/apps/text/lib/Service/ApiService.php","line":279,"function":"encodeToUtf8","class":"OCA\\Text\\Service\\EncodingService","type":"->"},{"file":"/usr/local/www/nextcloud/apps/text/lib/Service/ApiService.php","line":148,"function":"loadContent","class":"OCA\\Text\\Service\\ApiService","type":"->"},{"file":"/usr/local/www/nextcloud/apps/text/lib/Controller/SessionController.php","line":61,"function":"create","class":"OCA\\Text\\Service\\ApiService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"create","class":"OCA\\Text\\Controller\\SessionController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/local/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/usr/local/www/nextcloud/lib/base.php","line":1056,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/usr/local/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/usr/local/www/nextcloud/apps/text/lib/Service/EncodingService.php","Line":39},"CustomMessage":"--"}}

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

<?php
$CONFIG = array (
  'instanceid' => 'xxxx',
  'passwordsalt' => 'xxxa',
  'secret' => 'xxxO',
  'trusted_domains' => 
  array (
    0 => '192.168.50.100',
    1 => 'xxx.net',
  ),
  'datadirectory' => '/mnt/data',
  'dbtype' => 'mysql',
  'version' => '26.0.1.1',
  'overwrite.cli.url' => 'http://192.168.50.100',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/mysql.sock',
  'dbport' => '',
  'default_phone_region' => 'CA',
  'defaultapp' => 'files',
  'skeletondirectory' => 'disabled',
  'lost_password_link' => 'disabled',
  'auth.webauthn.enabled' => false,
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'installed' => true,
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
  ),
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'trusted_proxies' => 
  array (
    0 => '192.168.50.200',
  ),
  'overwriteprotocol' => 'https',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'xxx',
  'mail_domain' => 'xxx.net',
  'mail_smtpport' => '465',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'mail.xxx.net',
  'mail_smtpname' => 'xxx@xxx.net',
  'mail_smtppassword' => 'xxx',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 1,
  'log.condition' => 
  array (
    'apps' => 
    array (
      0 => 'admin_audit',
    ),
  ),
  'logtimezone' => 'America/Toronto',
  'updater.release.channel' => 'stable',
);