Open bovender opened 9 months ago
I got the exact same issue!
Same here, as soon as enabling files_inotify app on latest NC and php 8.1.27. Used to work until a recent update.
Error no app in context OC\AppFramework\Utility\QueryNotFoundException: Could not resolve dispatcher! Class "dispatcher" does not exist at 2024-01-28T19:28:00+00:00
.../private/AppFramework/Utility/SimpleContainer.php line 135
0. lib/private/AppFramework/Utility/SimpleContainer.php line 146
OC\AppFramework\Utility\SimpleContainer->resolve("dispatcher")
1. lib/private/ServerContainer.php line 173
OC\AppFramework\Utility\SimpleContainer->query("dispatcher", true)
2. lib/private/AppFramework/DependencyInjection/DIContainer.php line 443
OC\ServerContainer->query("dispatcher", true)
3. lib/private/AppFramework/Utility/SimpleContainer.php line 64
OC\AppFramework\DependencyInjection\DIContainer->query("dispatcher")
4. lib/private/AppFramework/Bootstrap/FunctionInjector.php line 56
OC\AppFramework\Utility\SimpleContainer->get("dispatcher")
5. <<closure>>
OC\AppFramework\Bootstrap\FunctionInjector->OC\AppFramework\Bootstrap\{closure}("*** sensitive parameters replaced ***")
6. lib/private/AppFramework/Bootstrap/FunctionInjector.php line 66
array_map(["Closure"], [["ReflectionParameter","appContainer"],"*** sensitive parameters replaced ***"])
7. lib/private/AppFramework/Bootstrap/BootContext.php line 50
OC\AppFramework\Bootstrap\FunctionInjector->injectFn([["OCA\\Files_INotify\\AppInfo\\Application"],"registerBackendDependents"])
8. /var/lib/nextcloud/apps/files_inotify/lib/AppInfo/Application.php line 42
OC\AppFramework\Bootstrap\BootContext->injectFn([["OCA\\Files_INotify\\AppInfo\\Application"],"registerBackendDependents"])
9. lib/private/AppFramework/Bootstrap/Coordinator.php line 200
OCA\Files_INotify\AppInfo\Application->boot(["OC\\AppFramework\\Bootstrap\\BootContext"])
10. lib/private/App/AppManager.php line 434
OC\AppFramework\Bootstrap\Coordinator->bootApp("files_inotify")
11. lib/private/App/AppManager.php line 213
OC\App\AppManager->loadApp("files_inotify")
12. lib/private/legacy/OC_App.php line 125
OC\App\AppManager->loadApps(["filesystem","logging"])
13. remote.php line 157
OC_App::loadApps(["filesystem","logging"])
+1 Nextcloud Hub 7 (28.0.1)
nextcloud.log has many many entries like
Could not boot files_inotify: Could not resolve dispatcher! Class "dispatcher" does not exist
files_inotify.log says:
iNotify starts in 120 seconds Mount of type "Local" does not support active update notifications Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you! sudo -u www-data php /var/www/nextcloud/occ files_external:notify -v 13 failed Posting notification to users that are admins, this might take a while... Posting 'Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you!' to: ...
As I am using the Nextcloud VM, I opened an issue there - but it is considered out-of-scope and was closed.
This should be fixed the same as issue #33
On my Nextcloud box (28.0.1.1), the log has started to have lots and lots of entries complaining that file_inotify cannot be loaded:
Raw: