Files and folders not visible in File Explorer (NC 26.0.3, Windows 11 22H2 with Nextcloud 3.9.1)

Server instance:
Nextcloud version: 26.0.3 (Hetzner Storageshare service)
PHP version: 8.2
Group folders: 14.0.3

User system:
OS: Windows 11 22H2 build 22621.1992
Nextcloud v3.9.1

Issue description:

User stoped seeing certain files and folders on his computer in File Explorer, while they are visible in Web Browser and inside Nextcloud app settings. On attached screenshot some of the missing folders are visible. Nextcloud app shows no sync issues.

Have tried removing user, reinstalling Nextcloud - same issue.

Looks like there might be an issues with File Explorer in Windows 11 and Nextcloud app (?)

Does anyone experience same issue any suggestion how this can be fixed?

Steps to replicate it:

  1. Clean installation of Nextcloud on user PC.
  2. Setting up user with his credentials.
  3. Selecting virtual files in Nextcloud app and waiting for indexing to be finished.

Nextcloud log:

  • shows 2 old errors in it from 2021 (not sure if it is related, but posting them below)
**Error 1:**

[no app in context] Error: OCP\AppFramework\QueryException: Could not resolve trashManager! Class trashManager does not exist at <<closure>>

 0. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 126
    OC\AppFramework\Utility\SimpleContainer->resolve("trashManager")
 1. /var/www/html/lib/private/ServerContainer.php line 156
    OC\AppFramework\Utility\SimpleContainer->query("trashManager", true)
 2. /var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php line 430
    OC\ServerContainer->query("trashManager", true)
 3. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 56
    OC\AppFramework\DependencyInjection\DIContainer->query("trashManager")
 4. /var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php line 58
    OC\AppFramework\Utility\SimpleContainer->get("trashManager")
 5. <<closure>>
    OC\AppFramework\Bootstrap\FunctionInjector->OC\AppFramework\Bootstrap\{closure}("*** sensitive parameters replaced ***")
 6. /var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php line 68
    array_map(Closure {}, [ReflectionParam ... "])
 7. /var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php line 52
    OC\AppFramework\Bootstrap\FunctionInjector->injectFn([OCA\Files_Trash ... "])
 8. /var/www/html/apps/files_trashbin/lib/AppInfo/Application.php line 57
    OC\AppFramework\Bootstrap\BootContext->injectFn([OCA\Files_Trash ... "])
 9. /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php line 168
    OCA\Files_Trashbin\AppInfo\Application->boot(OC\AppFramework\Bootstrap\BootContext {})
10. /var/www/html/lib/private/legacy/OC_App.php line 191
    OC\AppFramework\Bootstrap\Coordinator->bootApp("files_trashbin")
11. /var/www/html/lib/private/legacy/OC_App.php line 131
    OC_App::loadApp("files_trashbin")
12. /var/www/html/apps/dav/lib/AppInfo/Application.php line 113
    OC_App::loadApps(["dav"])
13. /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php line 168
    OCA\DAV\AppInfo\Application->boot(OC\AppFramework\Bootstrap\BootContext {})
14. /var/www/html/lib/private/legacy/OC_App.php line 191
    OC\AppFramework\Bootstrap\Coordinator->bootApp("dav")
15. /var/www/html/lib/private/legacy/OC_App.php line 131
    OC_App::loadApp("dav")
16. /var/www/html/lib/private/legacy/OC_Util.php line 201
    OC_App::loadApps(["filesystem"])
17. /var/www/html/lib/private/User/Session.php line 554
    OC_Util::setupFS("*** sensitive parameter replaced ***")
18. /var/www/html/lib/private/User/Session.php line 415
    OC\User\Session->prepareUserLogin(true, "*** sensitive parameter replaced ***")
19. /var/www/html/lib/private/User/Session.php line 624
    OC\User\Session->completeLogin("*** sensitive parameters replaced ***")
20. /var/www/html/lib/private/User/Session.php line 367
    OC\User\Session->loginWithPassword("*** sensitive parameters replaced ***")
21. /var/www/html/lib/private/Setup.php line 436
    OC\User\Session->login("*** sensitive parameters replaced ***")
22. /var/www/html/core/Command/Maintenance/Install.php line 106
    OC\Setup->install("*** sensitive parameters replaced ***")
23. /var/www/html/3rdparty/symfony/console/Command/Command.php line 255
    OC\Core\Command\Maintenance\Install->execute(Symfony\Componen ... {}, Symfony\Componen ... {})
24. /var/www/html/3rdparty/symfony/console/Application.php line 1000
    Symfony\Component\Console\Command\Command->run(Symfony\Componen ... {}, Symfony\Componen ... {})
25. /var/www/html/3rdparty/symfony/console/Application.php line 271
    Symfony\Component\Console\Application->doRunCommand(OC\Core\Command\Maintenance\Install {}, Symfony\Componen ... {}, Symfony\Componen ... {})
26. /var/www/html/3rdparty/symfony/console/Application.php line 147
    Symfony\Component\Console\Application->doRun(Symfony\Componen ... {}, Symfony\Componen ... {})
27. /var/www/html/lib/private/Console/Application.php line 215
    Symfony\Component\Console\Application->run(Symfony\Componen ... {}, Symfony\Componen ... {})
28. /var/www/html/console.php line 100
    OC\Console\Application->run()
29. /var/www/html/occ line 11
    require_once("/var/www/html/console.php")

by Support at 2021-06-08T12:51:22+00:00


**Error 2:**

[no app in context] Error: OCP\AppFramework\QueryException: Could not resolve OCA\Files_Versions\Versions\IVersionManager! Class can not be instantiated at <<closure>>

 0. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 126
    OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\Files_Vers ... r")
 1. /var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php line 455
    OC\AppFramework\Utility\SimpleContainer->query("OCA\\Files_Vers ... r")
 2. /var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php line 427
    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\Files_Vers ... r")
 3. /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php line 56
    OC\AppFramework\DependencyInjection\DIContainer->query("OCA\\Files_Vers ... r")
 4. /var/www/html/apps/files_versions/lib/AppInfo/Application.php line 119
    OC\AppFramework\Utility\SimpleContainer->get("OCA\\Files_Vers ... r")
 5. /var/www/html/apps/files_versions/lib/AppInfo/Application.php line 106
    OCA\Files_Versions\AppInfo\Application->loadBackend({@attributes: {f ... "}, OC\AppFramework\ ... {}, OC\AppFramework\Logger {})
 6. /var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php line 68
    OCA\Files_Versions\AppInfo\Application->registerVersionBackends(OC\AppFramework\ ... {}, OC\App\AppManager {}, OC\AppFramework\Logger {})
 7. /var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php line 52
    OC\AppFramework\Bootstrap\FunctionInjector->injectFn(Closure {})
 8. /var/www/html/apps/files_versions/lib/AppInfo/Application.php line 91
    OC\AppFramework\Bootstrap\BootContext->injectFn(Closure {})
 9. /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php line 168
    OCA\Files_Versions\AppInfo\Application->boot(OC\AppFramework\Bootstrap\BootContext {})
10. /var/www/html/lib/private/legacy/OC_App.php line 191
    OC\AppFramework\Bootstrap\Coordinator->bootApp("files_versions")
11. /var/www/html/lib/private/legacy/OC_App.php line 131
    OC_App::loadApp("files_versions")
12. /var/www/html/apps/dav/lib/AppInfo/Application.php line 113
    OC_App::loadApps(["dav"])
13. /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php line 168
    OCA\DAV\AppInfo\Application->boot(OC\AppFramework\Bootstrap\BootContext {})
14. /var/www/html/lib/private/legacy/OC_App.php line 191
    OC\AppFramework\Bootstrap\Coordinator->bootApp("dav")
15. /var/www/html/lib/private/legacy/OC_App.php line 131
    OC_App::loadApp("dav")
16. /var/www/html/lib/private/legacy/OC_Util.php line 201
    OC_App::loadApps(["filesystem"])
17. /var/www/html/lib/private/User/Session.php line 554
    OC_Util::setupFS("*** sensitive parameter replaced ***")
18. /var/www/html/lib/private/User/Session.php line 415
    OC\User\Session->prepareUserLogin(true, "*** sensitive parameter replaced ***")
19. /var/www/html/lib/private/User/Session.php line 624
    OC\User\Session->completeLogin("*** sensitive parameters replaced ***")
20. /var/www/html/lib/private/User/Session.php line 367
    OC\User\Session->loginWithPassword("*** sensitive parameters replaced ***")
21. /var/www/html/lib/private/Setup.php line 436
    OC\User\Session->login("*** sensitive parameters replaced ***")
22. /var/www/html/core/Command/Maintenance/Install.php line 106
    OC\Setup->install("*** sensitive parameters replaced ***")
23. /var/www/html/3rdparty/symfony/console/Command/Command.php line 255
    OC\Core\Command\Maintenance\Install->execute(Symfony\Componen ... {}, Symfony\Componen ... {})
24. /var/www/html/3rdparty/symfony/console/Application.php line 1000
    Symfony\Component\Console\Command\Command->run(Symfony\Componen ... {}, Symfony\Componen ... {})
25. /var/www/html/3rdparty/symfony/console/Application.php line 271
    Symfony\Component\Console\Application->doRunCommand(OC\Core\Command\Maintenance\Install {}, Symfony\Componen ... {}, Symfony\Componen ... {})
26. /var/www/html/3rdparty/symfony/console/Application.php line 147
    Symfony\Component\Console\Application->doRun(Symfony\Componen ... {}, Symfony\Componen ... {})
27. /var/www/html/lib/private/Console/Application.php line 215
    Symfony\Component\Console\Application->run(Symfony\Componen ... {}, Symfony\Componen ... {})
28. /var/www/html/console.php line 100
    OC\Console\Application->run()
29. /var/www/html/occ line 11
    require_once("/var/www/html/console.php")

by Support at 2021-06-08T12:51:22+00:00

If you create a new file on the client in this folder, is this synced again?

Can you sync files/folders with ASCII characters? Also no file or folder names starting or ending with a space. If it happens just for some files/folder, it can help to know what these have in common.

1 Like

Hello and thank you for pointing this out, tflidd!

After removing all folders / files with Lithuanian letters that are not in ASCII (ą, č, ę, ė, į, ų, ū) - sync started to work again. At first we were not sure why š and ž did work out, but than realised that these two letters do belong to the ASCII standard.

As a side note:

I’ve used standard latin alphabet for all group folders to avoid possible issues with encoding and in fact sync was working mostly just fine even with unsupported letters used in some folders and files - until recently that is. It is hard to say if 26.0.3 update resulted in issues popping out more or not. Not all users experienced sync issues and from those who did - there were both Windows 10 and Windows 11 PCs used.

I will comment again in this thread after correcting all the names to ASCII everywhere and giving couple of days to users to submit the feedback.

Ok, so after more test the following is clear:

Nextcloud desktop client v3.9.1 seem to break support for all letters outside ASCII standard, including Cyrillic and as appears on desktop client github page issues with other characters are already reported, including üöäß and Chinese characters all together.

Recommendation: avoid Nextcloud v3.9.1 and revert to v3.9.0, which can be downloaded here.