Error after update 16.0.5

sudo -u www-data php occ log:tail


Level App Message Time


Error index Error: Class ‘OCP\Config’ not found at apps/files_reader/lib/config.php line 28 2019-09-26T13:40:01+00:00

               0. apps/files_reader/lib/Hooks.php line 41                                                                                 
                  OCA\Files_Reader\Config::get("epub_enable", "true")                                                                     
               1. lib/private/legacy/hook.php line 106                                                                                    
                  OCA\Files_Reader\Hooks::announce_settings({})                                                                           
               2. lib/private/Template/JSConfigHelper.php line 287                                                                        
                  OC_Hook::emit("\\OCP\\Config", "js", {})                                                                                
               3. lib/private/TemplateLayout.php line 176                                                                                 
                  OC\Template\JSConfigHelper->getConfig()                                                                                 
               4. lib/private/legacy/template.php line 183                                                                                
                  OC\TemplateLayout->__construct("user", "files")                                                                         
               5. lib/public/AppFramework/Http/TemplateResponse.php line 160                                                              
                  OC_Template->fetchPage({})                                                                                              
               6. lib/private/AppFramework/Http/Dispatcher.php line 119                                                                   
                  OCP\AppFramework\Http\TemplateResponse->render()                                                                        
               7. lib/private/AppFramework/App.php line 126                                                                               
                  OC\AppFramework\Http\Dispatcher->dispatch(OCA\Files\Controller\ViewController {}, "index")                              
               8. lib/private/AppFramework/Routing/RouteActionHandler.php line 47                                                         
                  OC\AppFramework\App::main(                                                                                              
                    "ViewController",                                                                                                     
                    "index",                                                                                                              
                    OC\AppFramework\DependencyInjection\DIContainer {},                                                                   
                    {}                                                                                                                    
                  )                                                                                                                       
               9. <<closure>>                                                                                                             
                  OC\AppFramework\Routing\RouteActionHandler->__invoke({})                                                                
              10. lib/private/Route/Router.php line 297                                                                                   
                  call_user_func(OC\AppFramework\Routing\RouteActionHandler {}, {})                                                       
              11. lib/base.php line 975                                                                                                   
                  OC\Route\Router->match("\/apps\/files\/")                                                                               
              12. index.php line 42                                                                                                       
                  OC::handleRequest()

It looks like you are using the 3rd-party files_reader app which is causing problems with the latest Nextcloud version. Disable the app to prevent that error and check-out the mentioned repository for any fix of that problem.

1 Like

sudo -u www-data php occ log:tail


Level App Message Time


Error PHP Array to string conversion at /var/www/nextcloud/apps/logreader/lib/Log/Formatter.php#93 2019-09-26T13:58:49+00:00

Error PHP implode(): Invalid arguments passed at /var/www/nextcloud/apps/logreader/lib/Log/Formatter.php#93 2019-09-26T13:58:49+00:00

Error PHP Array to string conversion at /var/www/nextcloud/apps/logreader/lib/Log/Formatter.php#93 2019-09-26T13:58:49+00:00

Error PHP implode(): Invalid arguments passed at /var/www/nextcloud/apps/logreader/lib/Log/Formatter.php#93 2019-09-26T13:58:49+00:00

Error PHP Undefined index: class at /var/www/nextcloud/apps/logreader/lib/Log/Formatter.php#52 2019-09-26T13:58:49+00:00

Error PHP Undefined index: type at /var/www/nextcloud/apps/logreader/lib/Log/Formatter.php#52 2019-09-26T13:58:49+00:00

Error PHP Array to string conversion at /var/www/nextcloud/apps/logreader/lib/Log/Formatter.php#93 2019-09-26T13:58:49+00:00

Error PHP implode(): Invalid arguments passed at /var/www/nextcloud/apps/logreader/lib/Log/Formatter.php#93 2019-09-26T13:58:49+00:00

Info cli Memcache \OC\Memcache\APCu not available for local cache 2019-09-26T13:59:32+00:00

Info cli Memcache \OC\Memcache\APCu not available for distributed cache 2019-09-26T13:59:32+00:00

After update to 16.5 I get the following error every 30 seconds or so:

Error no app in context Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route “ocs.provisioning_api.AppsController.disable” as such route does not exist.
2019-09-27T07:32:36+0200
Error no app in context Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route “ocs.provisioning_api.AppsController.disable” as such route does not exist.

What to do?
Thanks.

We are also exhibiting the same issue. - not to mention that external storage are showing blank on the android app, but work fine in the web version

Were there any disabled apps in the upgrade process? It seems like there went something wrong disabling them.

In my opinion it helped to disable the end2end encryption app.

Edit: The upgrade process said that this app will be disabled, but it did not.

@NextCees

your specific error refers to the nextcloud_announcements App.
See also: https://github.com/nextcloud/nextcloud_announcements/issues/54

Thanks for the remark, followed instructions and switched off nextcloud_announcements App. Errors stopped immediately. A day later turned it back on, I saw the errors return. Left nextcloud_announcements App off for now.

Have the same issue.

I’m getting
Undefined index: url at /var/www/html/nextcloud/apps/logreader/lib/Log/SearchFilter.php#59
Undefined index: url at /var/www/html/nextcloud/apps/logreader/lib/Log/SearchFilter.php#58
Undefined index: url at /var/www/html/nextcloud/apps/logreader/lib/Log/SearchFilter.php#57