owncloud-apps icon indicating copy to clipboard operation
owncloud-apps copied to clipboard

Compatibility with Nextcloud 16

Open j-ed opened this issue 6 years ago • 4 comments

The files_reader app is not yet available for Nextcloud 16, although it seems to work with some smaller glitches when using the "Activate untested app" function (or patching the info.xml file 😉

j-ed avatar Apr 25 '19 12:04 j-ed

It actually caused a fatal exception on my installation, running 16.01:

{
  "reqId": "bkVYUkUevgtVxXM0prZp",
  "level": 3,
  "time": "2019-05-17T03:47:26+00:00",
  "remoteAddr": "192.168.0.42",
  "user": "--",
  "app": "index",
  "method": "GET",
  "url": "/nextcloud/login?redirect_url=/nextcloud/settings/apps/tools",
  "message": {
    "Exception": "Error",
    "Message": "Class 'OCP\\Config' not found",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/example.com/nextcloud/apps/files_reader/lib/Hooks.php",
        "line": 41,
        "function": "get",
        "class": "OCA\\Files_Reader\\Config",
        "type": "::",
        "args": [
          "epub_enable",
          "true"
        ]
      },
      {
        "file": "/var/www/example.com/nextcloud/lib/private/legacy/hook.php",
        "line": 106,
        "function": "announce_settings",
        "class": "OCA\\Files_Reader\\Hooks",
        "type": "::",
        "args": [
          {
            "array": {
              "oc_debug": "false",
              "oc_isadmin": "false",
              "backendAllowsPasswordConfirmation": "true",
              "oc_dataURL": "false",
              "oc_webroot": "\"/nextcloud\"",
              "oc_appswebroots": "{\"accessibility\":\"/nextcloud/apps/accessibility\",\"activity\":\"/nextcloud/apps/activity\",\"admin_audit\":\"/nextcloud/apps/admin_audit\",\"audioplayer\":\"/nextcloud/apps/audioplayer\",\"bookmarks\":\"/nextcloud/apps/bookmarks\",\"bruteforcesettings\":\"/nextcloud/apps/bruteforcesettings\",\"calendar\":\"/nextcloud/apps/calendar\",\"checksum\":\"/nextcloud/apps/checksum\",\"cloud_federation_api\":\"/nextcloud/apps/cloud_federation_api\",\"comments\":\"/nextcloud/apps/comments\",\"contacts\":\"/nextcloud/apps/contacts\",\"dashboard\":\"/nextcloud/apps/dashboard\",\"dav\":\"/nextcloud/apps/dav\",\"external\":\"/nextcloud/apps/external\",\"federatedfilesharing\":\"/nextcloud/apps/federatedfilesharing\",\"federation\":\"/nextcloud/apps/federation\",\"files\":\"/nextcloud/apps/files\",\"files_accesscontrol\":\"/nextcloud/apps/files_accesscontrol\",\"files_automatedtagging\":\"/nextcloud/apps/files_automatedtagging\",\"files_external\":\"/nextcloud/apps/files_external\",\"files_frommail\":\"/nextcloud/apps/files_frommail\",\"files_reader\":\"/nextcloud/apps/files_reader\",\"files_rightclick\":\"/nextcloud/apps/files_rightclick\",\"files_sharing\":\"/nextcloud/apps/files_sharing\",\"files_texteditor\":\"/nextcloud/apps/files_texteditor\",\"files_trashbin\":\"/nextcloud/apps/files_trashbin\",\"files_versions\":\"/nextcloud/apps/files_versions\",\"files_videoplayer\":\"/nextcloud/apps/files_videoplayer\",\"firstrunwizard\":\"/nextcloud/apps/firstrunwizard\",\"flowupload\":\"/nextcloud/apps/flowupload\",\"fulltextsearch\":\"/nextcloud/apps/fulltextsearch\",\"gallery\":\"/nextcloud/apps/gallery\",\"groupfolders\":\"/nextcloud/apps/groupfolders\",\"impersonate\":\"/nextcloud/apps/impersonate\",\"logreader\":\"/nextcloud/apps/logreader\",\"lookup_server_connector\":\"/nextcloud/apps/lookup_server_connector\",\"nextcloud_announcements\":\"/nextcloud/apps/nextcloud_announcements\",\"notes\":\"/nextcloud/apps/notes\",\"notifications\":\"/nextcloud/apps/notifications\",\"oauth2\":\"/nextcloud/apps/oauth2\",\"onlyoffice\":\"/nextcloud/apps/onlyoffice\",\"ownbackup\":\"/nextcloud/apps/ownbackup\",\"password_policy\":\"/nextcloud/apps/password_policy\",\"phonetrack\":\"/nextcloud/apps/phonetrack\",\"piwik\":\"/nextcloud/apps/piwik\",\"privacy\":\"/nextcloud/apps/privacy\",\"provisioning_api\":\"/nextcloud/apps/provisioning_api\",\"quota_warning\":\"/nextcloud/apps/quota_warning\",\"ransomware_protection\":\"/nextcloud/apps/ransomware_protection\",\"recommendations\":\"/nextcloud/apps/recommendations\",\"serverinfo\":\"/nextcloud/apps/serverinfo\",\"sharebymail\":\"/nextcloud/apps/sharebymail\",\"social\":\"/nextcloud/apps/social\",\"socialsharing_diaspora\":\"/nextcloud/apps/socialsharing_diaspora\",\"socialsharing_email\":\"/nextcloud/apps/socialsharing_email\",\"socialsharing_facebook\":\"/nextcloud/apps/socialsharing_facebook\",\"socialsharing_twitter\":\"/nextcloud/apps/socialsharing_twitter\",\"support\":\"/nextcloud/apps/support\",\"survey_client\":\"/nextcloud/apps/survey_client\",\"systemtags\":\"/nextcloud/apps/systemtags\",\"theming\":\"/nextcloud/apps/theming\",\"twofactor_backupcodes\":\"/nextcloud/apps/twofactor_backupcodes\",\"twofactor_totp\":\"/nextcloud/apps/twofactor_totp\",\"updatenotification\":\"/nextcloud/apps/updatenotification\",\"user_usage_report\":\"/nextcloud/apps/user_usage_report\",\"viewer\":\"/nextcloud/apps/viewer\",\"workflowengine\":\"/nextcloud/apps/workflowengine\"}",
              "datepickerFormatDate": "\"dd.MM.yy\"",
              "nc_lastLogin": 0,
              "nc_pageLoad": 1558064846,
              "dayNames": "[\"Sonntag\",\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\"]",
              "dayNamesShort": "[\"Son.\",\"Mon.\",\"Die.\",\"Mit.\",\"Don.\",\"Fre.\",\"Sam.\"]",
              "dayNamesMin": "[\"So\",\"Mo\",\"Di\",\"Mi\",\"Do\",\"Fr\",\"Sa\"]",
              "monthNames": "[\"Januar\",\"Februar\",\"M\\u00e4rz\",\"April\",\"Mai\",\"Juni\",\"Juli\",\"August\",\"September\",\"Oktober\",\"November\",\"Dezember\"]",
              "monthNamesShort": "[\"Jan.\",\"Feb.\",\"M\\u00e4r.\",\"Apr.\",\"Mai\",\"Jun.\",\"Jul.\",\"Aug.\",\"Sep.\",\"Okt.\",\"Nov.\",\"Dez.\"]",
              "firstDay": "1",
              "oc_config": "{\"session_lifetime\":1440,\"session_keepalive\":true,\"version\":\"16.0.1.1\",\"versionstring\":\"16.0.1\",\"enable_avatars\":true,\"lost_password_link\":null,\"modRewriteWorking\":true,\"sharing.maxAutocompleteResults\":0,\"sharing.minSearchStringLength\":0,\"blacklist_files_regex\":\"\\\\.(part|filepart)$\"}",
              "oc_appconfig": "{\"core\":{\"defaultExpireDateEnabled\":false,\"defaultExpireDate\":null,\"defaultExpireDateEnforced\":null,\"enforcePasswordForPublicLink\":false,\"enableLinkPasswordByDefault\":false,\"sharingDisabledForUser\":false,\"resharingAllowed\":true,\"remoteShareAllowed\":true,\"federatedCloudShareDoc\":\"https:\\/\\/docs.nextcloud.com\\/server\\/16\\/go.php?to=user-sharing-federated\",\"allowGroupSharing\":true,\"public_webfinger\":\"social\\/lib\\/webfinger.php\"},\"files\":{\"max_chunk_size\":10485760},\"comments\":{\"maxAutoCompleteResults\":10}}",
              "oc_defaults": "{\"entity\":\"Conny's Cloud\",\"name\":\"Conny's Cloud\",\"title\":\"Conny's Cloud\",\"baseUrl\":\"https:\\/\\/peaches.dynv6.net\\/nextcloud\",\"syncClientUrl\":\"https:\\/\\/nextcloud.com\\/install\\/#install-clients\",\"docBaseUrl\":\"https:\\/\\/docs.nextcloud.com\",\"docPlaceholderUrl\":\"https:\\/\\/docs.nextcloud.com\\/server\\/16\\/go.php?to=PLACEHOLDER\",\"slogan\":\"ein sicherer Ort f\\u00fcr all Ihre Daten\",\"logoClaim\":\"\",\"shortFooter\":\"<a href=\\\"https:\\/\\/peaches.dynv6.net\\/nextcloud\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\" class=\\\"entity-name\\\">Conny's Cloud<\\/a> \\u2013 ein sicherer Ort f\\u00fcr all Ihre Daten\",\"longFooter\":\"<a href=\\\"https:\\/\\/peaches.dynv6.net\\/nextcloud\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\" class=\\\"entity-name\\\">Conny's Cloud<\\/a> \\u2013 ein sicherer Ort f\\u00fcr all Ihre Daten\",\"folder\":\"\"}",
              "oc_capabilities": "{\"core\":{\"pollinterval\":60,\"webdav-root\":\"remote.php\\/webdav\"},\"bruteforce\":{\"delay\":0},\"activity\":{\"apiv2\":[\"filters\",\"filters-api\",\"previews\",\"rich-strings\"]},\"ocm\":{\"enabled\":true,\"apiVersion\":\"1.0-proposal1\",\"endPoint\":\"https:\\/\\/example.com\\/nextcloud\\/ocm\",\"resourceTypes\":[{\"name\":\"file\",\"shareTypes\":[\"user\",\"group\"],\"protocols\":{\"webdav\":\"\\/public.php\\/webdav\\/\"}}]},\"dav\":{\"chunking\":\"1.0\"},\"files_sharing\":{\"api_enabled\":true,\"public\":{\"enabled\":true,\"password\":{\"enforced\":false},\"expire_date\":{\"enabled\":false},\"multiple_links\":true,\"send_mail\":false,\"upload\":true,\"upload_files_drop\":true},\"resharing\":true,\"user\":{\"send_mail\":false,\"expire_date\":{\"enabled\":true}},\"group_sharing\":true,\"group\":{\"enabled\":true,\"expire_date\":{\"enabled\":true}},\"default_permissions\":31,\"federation\":{\"outgoing\":true,\"incoming\":true,\"expire_date\":{\"enabled\":true}},\"sharebymail\":{\"enabled\":true,\"upload_files_drop\":{\"enabled\":true},\"password\":{\"enabled\":true},\"expire_date\":{\"enabled\":true}}},\"notifications\":{\"ocs-endpoints\":[\"list\",\"get\",\"delete\",\"delete-all\",\"icons\",\"rich-strings\"],\"push\":[\"devices\",\"object-data\"],\"admin-notifications\":[\"ocs\",\"cli\"]},\"theming\":{\"name\":\"Conny's Cloud\",\"url\":\"https:\\/\\/peaches.dynv6.net\\/nextcloud\",\"slogan\":\"ein sicherer Ort f\\u00fcr all Ihre Daten\",\"color\":\"#A4C149\",\"color-text\":\"#000000\",\"color-element\":\"#A4C149\",\"logo\":\"https:\\/\\/example.com\\/nextcloud\\/apps\\/theming\\/image\\/logo?useSvg=1&v=8\",\"background\":\"https:\\/\\/example.com\\/nextcloud\\/apps\\/theming\\/image\\/background?v=8\",\"background-plain\":false,\"background-default\":false},\"external\":{\"v1\":[\"sites\",\"device\",\"groups\",\"redirect\"]},\"fulltextsearch\":{\"remote\":true,\"providers\":[]},\"password_policy\":{\"minLength\":8,\"enforceNonCommonPassword\":true,\"enforceNumericCharacters\":true,\"enforceSpecialCharacters\":true,\"enforceUpperLowerCase\":false},\"files\":{\"undelete\":true,\"bigfilechunking\":true,\"blacklisted_files\":[\".htaccess\"],\"versioning\":true}}"
            }
          }
        ]
      },
      {
        "file": "/var/www/example.com/nextcloud/lib/private/Template/JSConfigHelper.php",
        "line": 287,
        "function": "emit",
        "class": "OC_Hook",
        "type": "::",
        "args": [
          "\\OCP\\Config",
          "js",
          {
            "array": {
              "oc_debug": "false",
              "oc_isadmin": "false",
              "backendAllowsPasswordConfirmation": "true",
              "oc_dataURL": "false",
              "oc_webroot": "\"/nextcloud\"",
              "oc_appswebroots": "{\"accessibility\":\"/nextcloud/apps/accessibility\",\"activity\":\"/nextcloud/apps/activity\",\"admin_audit\":\"/nextcloud/apps/admin_audit\",\"audioplayer\":\"/nextcloud/apps/audioplayer\",\"bookmarks\":\"/nextcloud/apps/bookmarks\",\"bruteforcesettings\":\"/nextcloud/apps/bruteforcesettings\",\"calendar\":\"/nextcloud/apps/calendar\",\"checksum\":\"/nextcloud/apps/checksum\",\"cloud_federation_api\":\"/nextcloud/apps/cloud_federation_api\",\"comments\":\"/nextcloud/apps/comments\",\"contacts\":\"/nextcloud/apps/contacts\",\"dashboard\":\"/nextcloud/apps/dashboard\",\"dav\":\"/nextcloud/apps/dav\",\"external\":\"/nextcloud/apps/external\",\"federatedfilesharing\":\"/nextcloud/apps/federatedfilesharing\",\"federation\":\"/nextcloud/apps/federation\",\"files\":\"/nextcloud/apps/files\",\"files_accesscontrol\":\"/nextcloud/apps/files_accesscontrol\",\"files_automatedtagging\":\"/nextcloud/apps/files_automatedtagging\",\"files_external\":\"/nextcloud/apps/files_external\",\"files_frommail\":\"/nextcloud/apps/files_frommail\",\"files_reader\":\"/nextcloud/apps/files_reader\",\"files_rightclick\":\"/nextcloud/apps/files_rightclick\",\"files_sharing\":\"/nextcloud/apps/files_sharing\",\"files_texteditor\":\"/nextcloud/apps/files_texteditor\",\"files_trashbin\":\"/nextcloud/apps/files_trashbin\",\"files_versions\":\"/nextcloud/apps/files_versions\",\"files_videoplayer\":\"/nextcloud/apps/files_videoplayer\",\"firstrunwizard\":\"/nextcloud/apps/firstrunwizard\",\"flowupload\":\"/nextcloud/apps/flowupload\",\"fulltextsearch\":\"/nextcloud/apps/fulltextsearch\",\"gallery\":\"/nextcloud/apps/gallery\",\"groupfolders\":\"/nextcloud/apps/groupfolders\",\"impersonate\":\"/nextcloud/apps/impersonate\",\"logreader\":\"/nextcloud/apps/logreader\",\"lookup_server_connector\":\"/nextcloud/apps/lookup_server_connector\",\"nextcloud_announcements\":\"/nextcloud/apps/nextcloud_announcements\",\"notes\":\"/nextcloud/apps/notes\",\"notifications\":\"/nextcloud/apps/notifications\",\"oauth2\":\"/nextcloud/apps/oauth2\",\"onlyoffice\":\"/nextcloud/apps/onlyoffice\",\"ownbackup\":\"/nextcloud/apps/ownbackup\",\"password_policy\":\"/nextcloud/apps/password_policy\",\"phonetrack\":\"/nextcloud/apps/phonetrack\",\"piwik\":\"/nextcloud/apps/piwik\",\"privacy\":\"/nextcloud/apps/privacy\",\"provisioning_api\":\"/nextcloud/apps/provisioning_api\",\"quota_warning\":\"/nextcloud/apps/quota_warning\",\"ransomware_protection\":\"/nextcloud/apps/ransomware_protection\",\"recommendations\":\"/nextcloud/apps/recommendations\",\"serverinfo\":\"/nextcloud/apps/serverinfo\",\"sharebymail\":\"/nextcloud/apps/sharebymail\",\"social\":\"/nextcloud/apps/social\",\"socialsharing_diaspora\":\"/nextcloud/apps/socialsharing_diaspora\",\"socialsharing_email\":\"/nextcloud/apps/socialsharing_email\",\"socialsharing_facebook\":\"/nextcloud/apps/socialsharing_facebook\",\"socialsharing_twitter\":\"/nextcloud/apps/socialsharing_twitter\",\"support\":\"/nextcloud/apps/support\",\"survey_client\":\"/nextcloud/apps/survey_client\",\"systemtags\":\"/nextcloud/apps/systemtags\",\"theming\":\"/nextcloud/apps/theming\",\"twofactor_backupcodes\":\"/nextcloud/apps/twofactor_backupcodes\",\"twofactor_totp\":\"/nextcloud/apps/twofactor_totp\",\"updatenotification\":\"/nextcloud/apps/updatenotification\",\"user_usage_report\":\"/nextcloud/apps/user_usage_report\",\"viewer\":\"/nextcloud/apps/viewer\",\"workflowengine\":\"/nextcloud/apps/workflowengine\"}",
              "datepickerFormatDate": "\"dd.MM.yy\"",
              "nc_lastLogin": 0,
              "nc_pageLoad": 1558064846,
              "dayNames": "[\"Sonntag\",\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\"]",
              "dayNamesShort": "[\"Son.\",\"Mon.\",\"Die.\",\"Mit.\",\"Don.\",\"Fre.\",\"Sam.\"]",
              "dayNamesMin": "[\"So\",\"Mo\",\"Di\",\"Mi\",\"Do\",\"Fr\",\"Sa\"]",
              "monthNames": "[\"Januar\",\"Februar\",\"M\\u00e4rz\",\"April\",\"Mai\",\"Juni\",\"Juli\",\"August\",\"September\",\"Oktober\",\"November\",\"Dezember\"]",
              "monthNamesShort": "[\"Jan.\",\"Feb.\",\"M\\u00e4r.\",\"Apr.\",\"Mai\",\"Jun.\",\"Jul.\",\"Aug.\",\"Sep.\",\"Okt.\",\"Nov.\",\"Dez.\"]",
              "firstDay": "1",
              "oc_config": "{\"session_lifetime\":1440,\"session_keepalive\":true,\"version\":\"16.0.1.1\",\"versionstring\":\"16.0.1\",\"enable_avatars\":true,\"lost_password_link\":null,\"modRewriteWorking\":true,\"sharing.maxAutocompleteResults\":0,\"sharing.minSearchStringLength\":0,\"blacklist_files_regex\":\"\\\\.(part|filepart)$\"}",
              "oc_appconfig": "{\"core\":{\"defaultExpireDateEnabled\":false,\"defaultExpireDate\":null,\"defaultExpireDateEnforced\":null,\"enforcePasswordForPublicLink\":false,\"enableLinkPasswordByDefault\":false,\"sharingDisabledForUser\":false,\"resharingAllowed\":true,\"remoteShareAllowed\":true,\"federatedCloudShareDoc\":\"https:\\/\\/docs.nextcloud.com\\/server\\/16\\/go.php?to=user-sharing-federated\",\"allowGroupSharing\":true,\"public_webfinger\":\"social\\/lib\\/webfinger.php\"},\"files\":{\"max_chunk_size\":10485760},\"comments\":{\"maxAutoCompleteResults\":10}}",
              "oc_defaults": "{\"entity\":\"Conny's Cloud\",\"name\":\"Conny's Cloud\",\"title\":\"Conny's Cloud\",\"baseUrl\":\"https:\\/\\/peaches.dynv6.net\\/nextcloud\",\"syncClientUrl\":\"https:\\/\\/nextcloud.com\\/install\\/#install-clients\",\"docBaseUrl\":\"https:\\/\\/docs.nextcloud.com\",\"docPlaceholderUrl\":\"https:\\/\\/docs.nextcloud.com\\/server\\/16\\/go.php?to=PLACEHOLDER\",\"slogan\":\"ein sicherer Ort f\\u00fcr all Ihre Daten\",\"logoClaim\":\"\",\"shortFooter\":\"<a href=\\\"https:\\/\\/peaches.dynv6.net\\/nextcloud\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\" class=\\\"entity-name\\\">Conny's Cloud<\\/a> \\u2013 ein sicherer Ort f\\u00fcr all Ihre Daten\",\"longFooter\":\"<a href=\\\"https:\\/\\/peaches.dynv6.net\\/nextcloud\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\" class=\\\"entity-name\\\">Conny's Cloud<\\/a> \\u2013 ein sicherer Ort f\\u00fcr all Ihre Daten\",\"folder\":\"\"}",
              "oc_capabilities": "{\"core\":{\"pollinterval\":60,\"webdav-root\":\"remote.php\\/webdav\"},\"bruteforce\":{\"delay\":0},\"activity\":{\"apiv2\":[\"filters\",\"filters-api\",\"previews\",\"rich-strings\"]},\"ocm\":{\"enabled\":true,\"apiVersion\":\"1.0-proposal1\",\"endPoint\":\"https:\\/\\/example.com\\/nextcloud\\/ocm\",\"resourceTypes\":[{\"name\":\"file\",\"shareTypes\":[\"user\",\"group\"],\"protocols\":{\"webdav\":\"\\/public.php\\/webdav\\/\"}}]},\"dav\":{\"chunking\":\"1.0\"},\"files_sharing\":{\"api_enabled\":true,\"public\":{\"enabled\":true,\"password\":{\"enforced\":false},\"expire_date\":{\"enabled\":false},\"multiple_links\":true,\"send_mail\":false,\"upload\":true,\"upload_files_drop\":true},\"resharing\":true,\"user\":{\"send_mail\":false,\"expire_date\":{\"enabled\":true}},\"group_sharing\":true,\"group\":{\"enabled\":true,\"expire_date\":{\"enabled\":true}},\"default_permissions\":31,\"federation\":{\"outgoing\":true,\"incoming\":true,\"expire_date\":{\"enabled\":true}},\"sharebymail\":{\"enabled\":true,\"upload_files_drop\":{\"enabled\":true},\"password\":{\"enabled\":true},\"expire_date\":{\"enabled\":true}}},\"notifications\":{\"ocs-endpoints\":[\"list\",\"get\",\"delete\",\"delete-all\",\"icons\",\"rich-strings\"],\"push\":[\"devices\",\"object-data\"],\"admin-notifications\":[\"ocs\",\"cli\"]},\"theming\":{\"name\":\"Conny's Cloud\",\"url\":\"https:\\/\\/peaches.dynv6.net\\/nextcloud\",\"slogan\":\"ein sicherer Ort f\\u00fcr all Ihre Daten\",\"color\":\"#A4C149\",\"color-text\":\"#000000\",\"color-element\":\"#A4C149\",\"logo\":\"https:\\/\\/example.com\\/nextcloud\\/apps\\/theming\\/image\\/logo?useSvg=1&v=8\",\"background\":\"https:\\/\\/example.com\\/nextcloud\\/apps\\/theming\\/image\\/background?v=8\",\"background-plain\":false,\"background-default\":false},\"external\":{\"v1\":[\"sites\",\"device\",\"groups\",\"redirect\"]},\"fulltextsearch\":{\"remote\":true,\"providers\":[]},\"password_policy\":{\"minLength\":8,\"enforceNonCommonPassword\":true,\"enforceNumericCharacters\":true,\"enforceSpecialCharacters\":true,\"enforceUpperLowerCase\":false},\"files\":{\"undelete\":true,\"bigfilechunking\":true,\"blacklisted_files\":[\".htaccess\"],\"versioning\":true}}"
            }
          }
        ]
      },
      {
        "file": "/var/www/example.com/nextcloud/lib/private/TemplateLayout.php",
        "line": 176,
        "function": "getConfig",
        "class": "OC\\Template\\JSConfigHelper",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/example.com/nextcloud/lib/private/legacy/template.php",
        "line": 183,
        "function": "__construct",
        "class": "OC\\TemplateLayout",
        "type": "->",
        "args": [
          "guest",
          "core"
        ]
      },
      {
        "file": "/var/www/example.com/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php",
        "line": 160,
        "function": "fetchPage",
        "class": "OC_Template",
        "type": "->",
        "args": [
          {
            "messages": [],
            "loginName": "",
            "user_autofocus": true,
            "login_form_autocomplete": "on",
            "redirect_url": "/nextcloud/settings/apps/tools",
            "resetPasswordLink": "",
            "canResetPassword": true,
            "alt_login": [],
            "throttle_delay": 0
          }
        ]
      },
      {
        "file": "/var/www/example.com/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 119,
        "function": "render",
        "class": "OCP\\AppFramework\\Http\\TemplateResponse",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/example.com/nextcloud/lib/private/AppFramework/App.php",
        "line": 126,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          {
            "__class__": "OC\\Core\\Controller\\LoginController"
          },
          "showLoginForm"
        ]
      },
      {
        "file": "/var/www/example.com/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",
        "line": 47,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::",
        "args": [
          "OC\\Core\\Controller\\LoginController",
          "showLoginForm",
          {
            "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
          },
          {
            "_route": "core.login.showLoginForm"
          }
        ]
      },
      {
        "function": "__invoke",
        "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
        "type": "->",
        "args": [
          {
            "_route": "core.login.showLoginForm"
          }
        ]
      },
      {
        "file": "/var/www/example.com/nextcloud/lib/private/Route/Router.php",
        "line": 297,
        "function": "call_user_func",
        "args": [
          {
            "__class__": "OC\\AppFrameworrk\\Routing\\RouteActionHandler"
          },
          {
            "_route": "core.login.showLoginForm"
          }
        ]
      },
      {
        "file": "/var/www/example.com/nextcloud/lib/base.php",
        "line": 975,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->",
        "args": [
          "/login"
        ]
      },
      {
        "file": "/var/www/example.com/nextcloud/index.php",
        "line": 42,
        "function": "handleRequest",
        "class": "OC",
        "type": "::",
        "args": []
      }
    ],
    "File": "/var/www/example.com/nextcloud/apps/files_reader/lib/config.php",
    "Line": 28,
    "CustomMessage": "--"
  },
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0",
  "version": "16.0.1.1"
}

gruentee avatar May 17 '19 04:05 gruentee

If this can be of some interest for someone, I had the same exception in the same context (which prevented to access to the parameters in the UI with an internal server error) and was unable to deactivate the app though the UI but it worked with the occ command: occ app:disable files_opds

leolivier avatar Aug 31 '19 09:08 leolivier

I did run today into this issue, activated the app and then I couldn't access my nextcloud 16 anymore. It would be better if there would be a warning in the first place like with other apps. If it is not compatible, then the this app shouldn't claim support.

ghost avatar Sep 01 '19 08:09 ghost

See also: https://github.com/Yetangitu/owncloud-apps/issues/120 I did issue a PR that "seems" to work for at least files_opds

noci2012 avatar Sep 04 '19 10:09 noci2012