NextCloud 22.2.3 issues with search and folders

Hello,

we run NextCloud using docker.

Nextcloud version: 22.2.3
Operating system and version: Debian GNU/Linux 9.13 (stretch)
Apache version (from within the docker container): Apache/2.4.51 (Debian)
PHP version (from within the docker container): PHP 8.0.13 (cli) (built: Nov 19 2021 21:36:32) ( NTS )

We recently updated from NextCloud 22.2.1 to NextCloud 22.2.3 via docker-compose pull. Now our users reported issues concerning the search. Hence we do have tons of subfolders it is really hard to manually finding a folder, especially with the lazy loading.

Steps to replicate it:

  1. Use the Search Icon on the top right to search for a folder within “Files”
  2. After quite a while (it used to be faster) the search shows the results
  3. If you click on a folder within the search results the expected behaviour is to have this location opened up in the “Files” app
  4. The folder opens for a brief moment, then you get redirected to its parent folder

Example File structure (Note: our structure contains chars like äöüß and whitespaces, due to the url encoding I kept the example simple for better readability):

ParentFolder
       1001Subfolder1
           Testfolder01
           Testfolder02
      1002Subfolder2
           TestfolderA
           TestfolderB

If I search for “1002” the search results display the “1002Subfolder2”. If I click on the folder, I expect it to be opened up.

Instead the correct contents of 1002Subfolder2 are briefly shown and then I am being redirected to its parent folder ParentFolder. Clicking any folder that is now displayed within ParentFolder has no effect at all. JavaScript appears to be broken.

The output of Admin > Logging (the only error that I could find, occured multiple times):

Level: Error
App: Index

	TypeError: OCA\Files\Service\TagService::__construct(): Argument #3 ($tagger) must be of type OCP\ITags, null given, called in /var/www/html/apps/files/lib/AppInfo/Application.php on line 106

    /var/www/html/apps/files/lib/AppInfo/Application.php - line 106:

    OCA\Files\Service\TagService->__construct(OC\User\Session {}, OC\Activity\Manager {}, null, null, OC\EventDisp ... {})

    /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php - line 160:

    OCA\Files\AppInfo\Application->OCA\Files\AppInfo\{closure}("*** sensiti ... *")

    /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php - line 118:

    OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensiti ... *")

    /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php - line 127:

    Pimple\Container->offsetGet("OCA\\Files\ ... e")

    /var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 454:

    OC\AppFramework\Utility\SimpleContainer->query("OCA\\Files\ ... e")

    /var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 432:

    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\Files\ ... e")

    /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php - line 56:

    OC\AppFramework\DependencyInjection\DIContainer->query("OCA\\Files\ ... e")

    /var/www/html/apps/files/lib/AppInfo/Application.php - line 86:

    OC\AppFramework\Utility\SimpleContainer->get("OCA\\Files\ ... e")

    /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php - line 160:

    OCA\Files\AppInfo\Application->OCA\Files\AppInfo\{closure}("*** sensiti ... *")

    /var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php - line 118:

    OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensiti ... *")

    /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php - line 127:

    Pimple\Container->offsetGet("APIController")

    /var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 454:

    OC\AppFramework\Utility\SimpleContainer->query("APIController")

    /var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 432:

    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("APIController")

    /var/www/html/lib/private/AppFramework/App.php - line 129:

    OC\AppFramework\DependencyInjection\DIContainer->query("APIController")

    /var/www/html/lib/private/Route/Router.php - line 302:

    OC\AppFramework\App::main("APIController", "getGridView", "*** sensiti ... *", { _route: "f ... "})

    /var/www/html/lib/base.php - line 1006:

    OC\Route\Router->match("/apps/files ... w")

    /var/www/html/index.php - line 36:

    OC::handleRequest()

The output of config.php:

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  '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,
    ),
  ),
  'instanceid' => 'x',
  'passwordsalt' => 'x',
  'secret' => 'x',
  'trusted_domains' =>
  array (
    0 => 'cloud.x.com',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '22.2.3.0',
  'overwrite.cli.url' => 'https://cloud.x.com',
  'overwriteprotocol' => 'https',
  'overwritehost' => 'cloud.x.com',
  'dbname' => 'nextcloud',
  'dbhost' => 'db',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'x',
  'dbpassword' => 'x',
  'installed' => true,
  'mail_from_address' => 'noreply',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'mail.x.com',
  'mail_smtphost' => 'smtp.x.com',
  'mail_smtpport' => '465',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'noreply@x.com',
  'mail_smtppassword' => 'x',
  'mail_smtpsecure' => 'ssl',
  'loglevel' => 2,
  'maintenance' => false,
  'theme' => '',
);

The system log output for the vhost:

When the search is fired by typing into the input field:
[02/Dec/2021:16:05:29 +0100] "GET /ocs/v2.php/search/providers/comments/search?term=1002&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26fileid%3D2401 HTTP/1.1" 200 128 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /ocs/v2.php/search/providers/files/search?term=1002&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26fileid%3D2401 HTTP/1.1" 200 622 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /ocs/v2.php/search/providers/settings_apps/search?term=1002&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26fileid%3D2401 HTTP/1.1" 200 126 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /ocs/v2.php/search/providers/talk-message/search?term=1002&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26fileid%3D2401 HTTP/1.1" 200 128 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /ocs/v2.php/search/providers/contacts/search?term=1002&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26fileid%3D2401 HTTP/1.1" 200 128 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /ocs/v2.php/search/providers/talk-conversations/search?term=1002&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26fileid%3D2401 HTTP/1.1" 200 133 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /ocs/v2.php/search/providers/calendar/search?term=1002&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26fileid%3D2401 HTTP/1.1" 200 126 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /ocs/v2.php/search/providers/tasks/search?term=1002&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26fileid%3D2401 HTTP/1.1" 200 129 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /ocs/v2.php/search/providers/settings/search?term=1002&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26fileid%3D2401 HTTP/1.1" 200 131 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /ocs/v2.php/search/providers/talk-message-current/search?term=1002&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26fileid%3D2401 HTTP/1.1" 200 131 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /core/preview?x=32&y=32&fileId=102724 HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /core/preview?x=32&y=32&fileId=102723 HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /core/preview?x=32&y=32&fileId=111466 HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /core/preview?x=32&y=32&fileId=102747 HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "GET /core/preview?x=32&y=32&fileId=102727 HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:05:29 +0100] "POST /apps/text/session/sync HTTP/1.1" 200 247 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"

When I click on the found "1002Subfolder2" within the search result box:
[02/Dec/2021:16:08:44 +0100] "GET /apps/files/?dir=/ParentFolder&openfile=102723&scrollto=1002Subfolder2 HTTP/1.1" 200 11297 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:44 +0100] "GET /apps/recommendations/l10n/de.js?v=6f68876c-12 HTTP/1.1" 200 343 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:45 +0100] "GET /apps/theming/js/theming.js?v=6f68876c-12 HTTP/1.1" 200 60 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:45 +0100] "GET /apps/files/js/dist/main.js.map HTTP/1.1" 200 555876 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:45 +0100] "GET /apps/files/js/dist/sidebar.js.map HTTP/1.1" 200 811400 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:45 +0100] "GET /core/js/dist/main.js.map HTTP/1.1" 200 1448921 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:45 +0100] "GET /apps/comments/js/comments-app.js.map HTTP/1.1" 200 1139036 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:45 +0100] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 81 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:45 +0100] "PUT /apps/user_status/heartbeat HTTP/1.1" 200 116 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /ocs/v2.php/search/providers?from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FParentFolder%26openfile%3D102723%26scrollto%3D1002Subfolder2 HTTP/1.1" 200 266 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /apps/theming/icon/files?v=12 HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /apps/theming/favicon/files?v=12 HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /cron.php HTTP/1.1" 200 20 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /apps/files_sharing/js/dist/files_sharing_tab.js.map HTTP/1.1" 200 968798 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "PROPFIND /remote.php/dav/files/My.User/ParentFolder/1002Subfolder2 HTTP/1.1" 207 713 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "PROPFIND /remote.php/dav/files/My.User/ParentFolder/1002Subfolder2 HTTP/1.1" 207 683 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /apps/systemtags/lastused HTTP/1.1" 200 22 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /ocs/v2.php/apps/text/workspace?path=%2ParentFolder%2F1002Subfolder2 HTTP/1.1" 404 141 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "PROPFIND /remote.php/dav/systemtags-relations/files/102723 HTTP/1.1" 207 266 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "PROPFIND /remote.php/dav/systemtags-relations/files/102723 HTTP/1.1" 207 266 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /apps/recommendations/api/recommendations HTTP/1.1" 200 749 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "REPORT /remote.php/dav/comments/files/102723 HTTP/1.1" 207 156 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=%2ParentFolder%2F1002Subfolder2&reshares=true HTTP/1.1" 200 81 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /ocs/v2.php/apps/activity/api/v2/activity/filter?format=json&object_type=files&object_id=102723 HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=%2ParentFolder%2F1002Subfolder2&shared_with_me=true HTTP/1.1" 200 81 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /ocs/v2.php/apps/user_status/api/v1/statuses/My.User HTTP/1.1" 200 123 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /ocs/v2.php/collaboration/resources/file/102723?format=json HTTP/1.1" 200 81 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /apps/text/js/files.js.map HTTP/1.1" 200 285975 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2FParentFolder%2F1002Subfolder2 HTTP/1.1" 200 247 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /ocs/v2.php/apps/files_sharing/api/v1/sharees_recommended?format=json&itemType=dir HTTP/1.1" 200 124 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /core/js/dist/files_client.js.map HTTP/1.1" 200 181899 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /apps/notifications/js/notifications-main.js.map?v=75bc1e5b45602dbc89f7 HTTP/1.1" 200 956689 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /core/js/dist/unified-search.js.map HTTP/1.1" 200 528429 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /apps/viewer/js/viewer-main.js.map?v=e90c2feca473d3bb80b3 HTTP/1.1" 200 984974 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:46 +0100] "GET /custom_apps/groupfolders/js/groupfolders-files.js.map?v=d74f7ef4066d57e71115 HTTP/1.1" 200 959793 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:47 +0100] "GET /apps/theming/styles?v=12 HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:47 +0100] "GET /css/icons/icons-vars.css?v=1638452756 HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:47 +0100] "GET /css/icons/icons-vars.css?v=1638452756 HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:47 +0100] "GET /apps/theming/styles?v=12 HTTP/1.1" 200 1234 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:47 +0100] "GET /css/core/88a4-c61a-css-variables.css?v=f9bf374ef30d7adb04e95bd226f7f07a-6f68876c-12 HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:47 +0100] "PROPFIND /remote.php/dav/files/My.User/ParentFolder HTTP/1.1" 207 47488 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"
[02/Dec/2021:16:08:47 +0100] "GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2FParentFolder%2F1002Subfolder2 HTTP/1.1" 200 247 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0"

The networking tab shows the following console output:

XHR GET https://cloud.x.com/ocs/v2.php/apps/text/workspace?path=/ParentFolder/1002Subfolder2
[HTTP/1.1 404 Not Found 81ms]

Uncaught TypeError: model is null
    _updateDetailsView merged-index.js:4663
    showDetailsView merged-index.js:4633
    scrollTo merged-index.js:7294
    Underscore 5
    scrollTo merged-index.js:7293
    initialize merged-index.js:4382
    jQuery 8
    setFiles merged-index.js:5522
    reloadCallback merged-index.js:6258
    jQuery 9
    getFolderContents client.js:534
    promise callback*getFolderContents client.js:527
    reload merged-index.js:6185
    changeDirectory merged-index.js:6041
    actionHandler merged-index.js:3549
    action merged-index.js:2983
    initialize merged-index.js:4393
    Underscore 5
    initialize merged-index.js:4388
    FileList merged-index.js:4001
    initialize merged-index.js:87
    <anonymous> merged-index.js:403
    Underscore 5
    <anonymous> merged-index.js:402
    EventListener.handleEvent* merged-index.js:399

Manually navigating to 1002Subfolder2 has no issues, the folder is there and its contents are being displayed when I navigate into it.

  • Did we somehow manage to break the search index? If so, how can we clear/refresh it?
  • Is this a common issue with NextCloud 22.2.3 or is it our instance only?

Thanks in advance,
Regards,
balaFPR

2 Likes