Hi, another bug that I have found on nextcloud 26 it's for the plugin Deepl integration. When I have installed and activated, It not work and I found this error in log file:
Error no app in context RuntimeException: Failed to initialize deepl translator class
Steps to reproduce
install Deepl integration
Enable Deepl integration plugin
not work
Expected behavior
The translator dont't works
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
26
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
/SimpleContainer.php","line":116,"function":"newInstanceArgs","class":"ReflectionClass","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":493,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/ServerContainer.php","line":155,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":65,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/html/lib/private/Translation/TranslationManager.php","line":96,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/Translation/TranslationManager.php","line":113,"function":"getProviders","class":"OC\\Translation\\TranslationManager","type":"->"},{"file":"/var/www/html/apps/text/lib/Service/InitialStateProvider.php","line":40,"function":"canDetectLanguage","class":"OC\\Translation\\TranslationManager","type":"->"},{"file":"/var/www/html/apps/text/lib/Listeners/FilesLoadAdditionalScriptsListener.php","line":50,"function":"provideState","class":"OCA\\Text\\Service\\InitialStateProvider","type":"->"},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Text\\Listeners\\FilesLoadAdditionalScriptsListener","type":"->"},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":87,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":99,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/apps/files/lib/Controller/ViewController.php","line":279,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":1055,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/apps/integration_deepl/vendor/deeplcom/deepl-php/src/Translator.php","Line":36},"message":"Failed to load translation provider OCA\\IntegrationDeepl\\DeeplProvider","exception":{},"CustomMessage":"Failed to load translation provider OCA\\IntegrationDeepl\\DeeplProvider"}}
{"reqId":"YQbLmkCB5xOY9Muzh5Dn","level":1,"time":"2023-03-29T10:11:25+00:00","remoteAddr":"","user":"user","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=738569&x=1920&y=1080&a=true","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/111.0","version":"26.0.0.11","data":[]}
{"reqId":"Ws8sLq8JAX8XmJxnupCo","level":1,"time":"2023-03-29T10:15:02+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Checked if Matterbridge instances are running correctly.","userAgent":"--","version":"26.0.0.11","data":{"app":"spreed"}}
{"reqId":"Ws8sLq8JAX8XmJxnupCo","level":1,"time":"2023-03-29T10:15:02+00:00","remoteAddr":"","user":"--","app":"passwords","method":"","url":"--","message":"Passwords runs /var/www/html/cron.php in global mode","userAgent":"--","version":"26.0.0.11","data":{"app":"passwords"}}
{"reqId":"LJedEqOIoIaX6eazbhVz","level":1,"time":"2023-03-29T10:20:01+00:00","remoteAddr":"","user":"--","app":"passwords","method":"","url":"--","message":"Passwords runs /var/www/html/occ in global mode","userAgent":"--","version":"26.0.0.11","data":{"app":"passwords"}}
{"reqId":"DEWplsmeTAOXOiZuNfMn","level":1,"time":"2023-03-29T10:29:01+00:00","remoteAddr":"","user":"--","app":"passwords","method":"","url":"--","message":"Passwords runs occ in global mode","userAgent":"--","version":"26.0.0.11","data":{"app":"passwords"}}
{"reqId":"CJd7Fl9eE0XLIc3qMaup","level":1,"time":"2023-03-29T10:29:58+00:00","remoteAddr":"xxxx","user":"assistenza","app":"no app in context","method":"GET","url":"/index.php/apps/files/files?dir=/ASSISTENZA&fileid=279","message":"Deprecated event type for \\OCP\\Collaboration\\Resources::loadAdditionalScripts: null","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.51","version":"26.0.0.11","data":[]}
{"reqId":"CJd7Fl9eE0XLIc3qMaup","level":1,"time":"2023-03-29T10:29:58+00:00","remoteAddr":"xxxxx","user":"assistenza","app":"no app in context","method":"GET","url":"/index.php/apps/files/files?dir=/ASSISTENZA&fileid=279","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.51","version":"26.0.0.11","data":[]}
{"reqId":"CJd7Fl9eE0XLIc3qMaup","level":3,"time":"2023-03-29T10:29:58+00:00","remoteAddr":"xxxx","user":"assistenza","app":"no app in context","method":"GET","url":"/index.php/apps/files/files?dir=/ASSISTENZA&fileid=279","message":"Failed to load translation provider OCA\\IntegrationDeepl\\DeeplProvider","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.51","version":"26.0.0.11","exception":{"Exception":"RuntimeException","Message":"Failed to initialize deepl translator class","Code":0,"Trace":[{"function":"__construct","class":"OCA\\IntegrationDeepl\\DeeplProvider","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"newInstanceArgs","class":"ReflectionClass","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":493,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/ServerContainer.php","line":155,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":65,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/html/lib/private/Translation/TranslationManager.php","line":96,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/Translation/TranslationManager.php","line":113,"function":"getProviders","class":"OC\\Translation\\TranslationManager","type":"->"},{"file":"/var/www/html/apps/text/lib/Service/InitialStateProvider.php","line":40,"function":"canDetectLanguage","class":"OC\\Translation\\TranslationManager","type":"->"},{"file":"/var/www/html/apps/text/lib/Listeners/FilesLoadAdditionalScriptsListener.php","line":50,"function":"provideState","class":"OCA\\Text\\Service\\InitialStateProvider","type":"->"},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Text\\Listeners\\FilesLoadAdditionalScriptsListener","type":"->"},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":87,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":99,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/apps/files/lib/Controller/ViewController.php","line":279,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":1055,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/apps/integration_deepl/lib/DeeplProvider.php","Line":60,"Previous":{"Exception":"DeepL\\DeepLException","Message":"authKey must be a non-empty string","Code":0,"Trace":[{"file":"/var/www/html/apps/integration_deepl/lib/DeeplProvider.php","line":57,"function":"__construct","class":"DeepL\\Translator","type":"->"},{"function":"__construct","class":"OCA\\IntegrationDeepl\\DeeplProvider","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"newInstanceArgs","class":"ReflectionClass","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":493,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/ServerContainer.php","line":155,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":65,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/html/lib/private/Translation/TranslationManager.php","line":96,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/lib/private/Translation/TranslationManager.php","line":113,"function":"getProviders","class":"OC\\Translation\\TranslationManager","type":"->"},{"file":"/var/www/html/apps/text/lib/Service/InitialStateProvider.php","line":40,"function":"canDetectLanguage","class":"OC\\Translation\\TranslationManager","type":"->"},{"file":"/var/www/html/apps/text/lib/Listeners/FilesLoadAdditionalScriptsListener.php","line":50,"function":"provideState","class":"OCA\\Text\\Service\\InitialStateProvider","type":"->"},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Text\\Listeners\\FilesLoadAdditionalScriptsListener","type":"->"},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":87,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":99,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/apps/files/lib/Controller/ViewController.php","line":279,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":1055,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/apps/integration_deepl/vendor/deeplcom/deepl-php/src/Translator.php","Line":36},"message":"Failed to load translation provider OCA\\IntegrationDeepl\\DeeplProvider","exception":{},"CustomMessage":"Failed to load translation provider OCA\\IntegrationDeepl\\DeeplProvider"}}
{"reqId":"dcxMykr1zdzqFZhNS80a","level":1,"time":"2023-03-29T10:30:02+00:00","remoteAddr":"","user":"--","app":"passwords","method":"","url":"--","message":"Passwords runs /var/www/html/occ in global mode","userAgent":"--","version":"26.0.0.11","data":{"app":"passwords"}}
{"reqId":"EJOmeTJ1CryvLSryPg3U","level":1,"time":"2023-03-29T10:30:02+00:00","remoteAddr":"","user":"--","app":"mail","method":"","url":"--","message":"No iMIP messages to process.","userAgent":"--","version":"26.0.0.11","data":{"app":"mail"}}
{"reqId":"EJOmeTJ1CryvLSryPg3U","level":1,"time":"2023-03-29T10:30:03+00:00","remoteAddr":"","user":"--","app":"spreed","method":"","url":"--","message":"Checked if Matterbridge instances are running correctly.","userAgent":"--","version":"26.0.0.11","data":{"app":"spreed"}}
{"reqId":"EJOmeTJ1CryvLSryPg3U","level":1,"time":"2023-03-29T10:30:03+00:00","remoteAddr":"","user":"--","app":"passwords","method":"","url":"--","message":"Passwords runs /var/www/html/cron.php in global mode","userAgent":"--","version":"26.0.0.11","data":{"app":"passwords"}}
{"reqId":"jFJGDzrFKHtLR8xe8YE9","level":1,"time":"2023-03-29T10:30:04+00:00","remoteAddr":"xxxx","user":"assistenza","app":"no app in context","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats?dir=%2FASSISTENZA","message":"Deprecated event type for \\OCP\\Collaboration\\Resources::loadAdditionalScripts: null","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.51","version":"26.0.0.11","data":[]}
{"reqId":"jFJGDzrFKHtLR8xe8YE9","level":1,"time":"2023-03-29T10:30:04+00:00","remoteAddr":"xxxx","user":"assistenza","app":"no app in context","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats?dir=%2FASSISTENZA","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.51","version":"26.0.0.11","data":[]}
{"reqId":"jFJGDzrFKHtLR8xe8YE9","level":3,"time":"2023-03-29T10:30:04+00:00","remoteAddr":"xxxxx","user":"assistenza","app":"no app in context","method":"GET","url":"/index.php/apps/files/ajax/getsto
⚠️ This issue respects the following points: ⚠️
Bug description
Hi, another bug that I have found on nextcloud 26 it's for the plugin Deepl integration. When I have installed and activated, It not work and I found this error in log file: Error no app in context RuntimeException: Failed to initialize deepl translator class
Steps to reproduce
Expected behavior
The translator dont't works
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
26
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response