CarnetApp / CarnetNextcloud

GNU Affero General Public License v3.0
154 stars 29 forks source link

Exception: The requested uri() cannot be processed by the script './occ' #14

Open sbrl opened 5 years ago

sbrl commented 5 years ago

As I originally reported in nextcloud/server#11913, this app is directly responsible for breaking the ./occ CLI tool.

### Steps to reproduce 1. Run `sudo -u www-data ./occ` 2. 3. ### Expected behaviour I should get the help text. ### Actual behaviour I get this exception: ``` The current PHP memory limit is below the recommended value of 512MB. An unhandled exception has been thrown: Exception: The requested uri() cannot be processed by the script './occ') in /srv/nextcloud/www/lib/private/AppFramework/Http/Request.php:742 Stack trace: #0 /srv/nextcloud/www/lib/private/AppFramework/Http/Request.php(768): OC\AppFramework\Http\Request->getRawPathInfo() #1 /srv/nextcloud/www/lib/private/legacy/app.php(592): OC\AppFramework\Http\Request->getPathInfo() #2 /srv/nextcloud/www/lib/private/Server.php(1380): OC_App::getCurrentApp() #3 /srv/nextcloud/www/apps/carnet/appinfo/app.php(39): OC\Server->getAppFolder() #4 /srv/nextcloud/www/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OCA\Carnet\AppInfo\Application->OCA\Carnet\AppInfo\{closure}(Object(OC\AppFramework\DependencyInjection\DIContainer)) #5 /srv/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php(117): Pimple\Container->offsetGet('AppFolder') #6 /srv/nextcloud/www/lib/private/AppFramework/DependencyInjection/DIContainer.php(446): OC\AppFramework\Utility\SimpleContainer->query('AppFolder') #7 /srv/nextcloud/www/lib/private/AppFramework/DependencyInjection/DIContainer.php(424): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('AppFolder') #8 /srv/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php(68): OC\AppFramework\DependencyInjection\DIContainer->query('AppFolder') #9 /srv/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php(98): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass)) #10 /srv/nextcloud/www/lib/private/AppFramework/Utility/SimpleContainer.php(119): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Carnet\\Comm...') #11 /srv/nextcloud/www/lib/private/AppFramework/DependencyInjection/DIContainer.php(453): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Carnet\\Comm...') #12 /srv/nextcloud/www/lib/private/ServerContainer.php(116): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Carnet\\Comm...') #13 /srv/nextcloud/www/lib/private/Console/Application.php(219): OC\ServerContainer->query('OCA\\Carnet\\Comm...') #14 /srv/nextcloud/www/lib/private/Console/Application.php(134): OC\Console\Application->loadCommandsFromInfoXml(Array) #15 /srv/nextcloud/www/console.php(95): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /srv/nextcloud/www/occ(11): require_once('/srv/nextcloud/...') #17 {main} ``` ### Server configuration **Operating system**: Ubuntu 18.04 **Web server:** Nginx + PHP-FPM **Database:** SQLite **PHP version:** 7.2.11-2+ubuntu18.04.1+deb.sury.org+1 **Nextcloud version:** 14.0.3 **Updated from an older Nextcloud/ownCloud or fresh install:** Yes. I've been updating since ownCLoud was a thing :P **Where did you install Nextcloud from:** The website, by unpacking the provided `tar.gz` **Signing status:**
Signing status ``` No errors have been found. ```
**List of activated apps:**
App list ``` Enabled: - accessibility: 1.0.1 - activity: 2.7.0 - admin_notifications: 1.0.2 - apporder: 0.5.0 - bookmarks: 0.13.1 - calendar: 1.6.3 - carnet: 0.8.6 - checksum: 0.4.1 - cloud_federation_api: 0.0.1 - comments: 1.4.0 - contacts: 2.1.6 - dav: 1.6.0 - drawio: 0.9.1 - dropit: 0.1.1 - external: 3.1.0 - federatedfilesharing: 1.4.0 - federation: 1.4.0 - files: 1.9.0 - files_external: 1.5.0 - files_external_gdrive: 0.2.8 - files_linkeditor: 1.0.7 - files_pdfviewer: 1.3.2 - files_sharing: 1.6.2 - files_texteditor: 2.6.0 - files_trashbin: 1.4.1 - files_videoplayer: 1.3.0 - firstrunwizard: 2.3.0 - gallery: 18.1.0 - group_everyone: 0.1.0 - logreader: 2.0.0 - lookup_server_connector: 1.2.0 - music: 0.9.2 - nextcloud_announcements: 1.3.0 - notifications: 2.2.1 - oauth2: 1.2.1 - ojsxc: 3.4.2 - onlyoffice: 2.0.4 - password_policy: 1.4.0 - polls: 0.8.3 - previewgenerator: 1.1.0 - provisioning_api: 1.4.0 - serverinfo: 1.4.0 - sharebymail: 1.4.0 - spreed: 4.0.0 - support: 1.0.0 - survey_client: 1.2.0 - systemtags: 1.4.0 - theming: 1.5.0 - twofactor_backupcodes: 1.3.1 - twofactor_totp: 1.5.0 - twofactor_u2f: 1.6.1 - updatenotification: 1.4.1 - user_external: 0.4 - workflowengine: 1.4.0 Disabled: - admin_audit - encryption - files_versions - user_ldap ```
**Nextcloud configuration:**
Config report ```{ "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "trusted_domains": [ "nextcloud.starbeamrainbowlabs.com", "owncloud.starbeamrainbowlabs.com", "admin.starbeamrainbowlabs.com" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "https:\/\/admin.starbeamrainbowlabs.com\/owncloud", "dbtype": "sqlite3", "version": "14.0.3.0", "installed": true, "forcessl": false, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "sendmail", "mail_domain": "***REMOVED SENSITIVE VALUE***", "forceSSLforSubdomains": false, "theme": "", "ldapIgnoreNamingRules": false, "loglevel": 0, "trashbin_retention_obligation": "auto", "memcache.local": "\\OC\\Memcache\\APCu", "updater.release.channel": "stable" } } ```
**Are you using external storage, if yes which one:** yes - SFTP **Are you using encryption:** yes/no **Are you using an external user-backend, if yes which one:** nope ### Client configuration **Browser:** Mozilla Firefox 62.0.3 **Operating system:** Ubuntu 18.04 ### Logs #### Web server error log
Web server error log ``` n/a ```
#### Nextcloud log (data/nextcloud.log)
Nextcloud log (last 10 lines) ``` {"reqId":"Wm1RZ0OE7uobdT1agTKs","level":1,"time":"2018-10-18T20:49:28+00:00","remoteAddr":"5.198.44.45","user":"admin","app":"no app in context","method":"GET","url":"\/index.php\/settings\/user\/externalstorages","message":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Drawio\\Settings\\AdminSettings! Class OCA\\Drawio\\Settings\\AdminSettings does not exist","Code":0,"Trace":[{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":119,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Settings\/Manager.php","line":216,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Settings\/Manager.php","line":342,"function":"getSettings","class":"OC\\Settings\\Manager","type":"->","args":["admin","bookmarks"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":65,"function":"getAdminSettings","class":"OC\\Settings\\Manager","type":"->","args":["bookmarks"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":101,"function":"formatSections","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":[{"0":[{"__class__":"OC\\Settings\\Section"}],"1":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\ServerInfo\\Settings\\AdminSection"},{"__class__":"OCA\\Support\\Settings\\Section"}],"5":[{"__class__":"OC\\Settings\\Section"}],"10":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\Files_External\\Settings\\Section"}],"30":[{"__class__":"OCA\\Theming\\Settings\\Section"}],"50":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\OJSXC\\Settings\\Section"},{"__class__":"OCA\\Onlyoffice\\AdminSection"}],"55":[{"__class__":"OCA\\Activity\\Settings\\AdminSection"},{"__class__":"OCA\\External\\Settings\\Section"},{"__class__":"OCA\\WorkflowEngine\\Settings\\Section"}],"70":[{"__class__":"OCA\\Spreed\\Settings\\Admin\\Section"}],"80":[{"__class__":"OCA\\Bookmarks\\Settings\\AdminSection"},{"__class__":"OCA\\Survey_Client\\Settings\\AdminSection"}],"90":[{"__class__":"OCA\\LogReader\\Settings\\Section"}],"98":[{"__class__":"OC\\Settings\\Section"}]},"externalstorages","admin","personal"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":51,"function":"formatAdminSections","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":125,"function":"getNavigationParameters","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/PersonalSettingsController.php","line":57,"function":"getIndexResponse","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"index","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["externalstorages"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Settings\\Controller\\PersonalSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"file":"\/srv\/nextcloud\/www\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/settings\/user\/externalstorages"]},{"file":"\/srv\/nextcloud\/www\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":104,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} {"reqId":"Wm1RZ0OE7uobdT1agTKs","level":1,"time":"2018-10-18T20:49:28+00:00","remoteAddr":"5.198.44.45","user":"admin","app":"no app in context","method":"GET","url":"\/index.php\/settings\/user\/externalstorages","message":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Drawio\\Settings\\AdminSettings! Class OCA\\Drawio\\Settings\\AdminSettings does not exist","Code":0,"Trace":[{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":119,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Settings\/Manager.php","line":216,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Settings\/Manager.php","line":342,"function":"getSettings","class":"OC\\Settings\\Manager","type":"->","args":["admin","survey_client"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":65,"function":"getAdminSettings","class":"OC\\Settings\\Manager","type":"->","args":["survey_client"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":101,"function":"formatSections","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":[{"0":[{"__class__":"OC\\Settings\\Section"}],"1":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\ServerInfo\\Settings\\AdminSection"},{"__class__":"OCA\\Support\\Settings\\Section"}],"5":[{"__class__":"OC\\Settings\\Section"}],"10":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\Files_External\\Settings\\Section"}],"30":[{"__class__":"OCA\\Theming\\Settings\\Section"}],"50":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\OJSXC\\Settings\\Section"},{"__class__":"OCA\\Onlyoffice\\AdminSection"}],"55":[{"__class__":"OCA\\Activity\\Settings\\AdminSection"},{"__class__":"OCA\\External\\Settings\\Section"},{"__class__":"OCA\\WorkflowEngine\\Settings\\Section"}],"70":[{"__class__":"OCA\\Spreed\\Settings\\Admin\\Section"}],"80":[{"__class__":"OCA\\Bookmarks\\Settings\\AdminSection"},{"__class__":"OCA\\Survey_Client\\Settings\\AdminSection"}],"90":[{"__class__":"OCA\\LogReader\\Settings\\Section"}],"98":[{"__class__":"OC\\Settings\\Section"}]},"externalstorages","admin","personal"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":51,"function":"formatAdminSections","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":125,"function":"getNavigationParameters","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/PersonalSettingsController.php","line":57,"function":"getIndexResponse","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"index","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["externalstorages"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Settings\\Controller\\PersonalSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"file":"\/srv\/nextcloud\/www\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/settings\/user\/externalstorages"]},{"file":"\/srv\/nextcloud\/www\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":104,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} {"reqId":"Wm1RZ0OE7uobdT1agTKs","level":1,"time":"2018-10-18T20:49:28+00:00","remoteAddr":"5.198.44.45","user":"admin","app":"no app in context","method":"GET","url":"\/index.php\/settings\/user\/externalstorages","message":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Drawio\\Settings\\AdminSettings! Class OCA\\Drawio\\Settings\\AdminSettings does not exist","Code":0,"Trace":[{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":119,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Settings\/Manager.php","line":216,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Settings\/Manager.php","line":342,"function":"getSettings","class":"OC\\Settings\\Manager","type":"->","args":["admin","logging"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":65,"function":"getAdminSettings","class":"OC\\Settings\\Manager","type":"->","args":["logging"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":101,"function":"formatSections","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":[{"0":[{"__class__":"OC\\Settings\\Section"}],"1":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\ServerInfo\\Settings\\AdminSection"},{"__class__":"OCA\\Support\\Settings\\Section"}],"5":[{"__class__":"OC\\Settings\\Section"}],"10":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\Files_External\\Settings\\Section"}],"30":[{"__class__":"OCA\\Theming\\Settings\\Section"}],"50":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\OJSXC\\Settings\\Section"},{"__class__":"OCA\\Onlyoffice\\AdminSection"}],"55":[{"__class__":"OCA\\Activity\\Settings\\AdminSection"},{"__class__":"OCA\\External\\Settings\\Section"},{"__class__":"OCA\\WorkflowEngine\\Settings\\Section"}],"70":[{"__class__":"OCA\\Spreed\\Settings\\Admin\\Section"}],"80":[{"__class__":"OCA\\Bookmarks\\Settings\\AdminSection"},{"__class__":"OCA\\Survey_Client\\Settings\\AdminSection"}],"90":[{"__class__":"OCA\\LogReader\\Settings\\Section"}],"98":[{"__class__":"OC\\Settings\\Section"}]},"externalstorages","admin","personal"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":51,"function":"formatAdminSections","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":125,"function":"getNavigationParameters","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/PersonalSettingsController.php","line":57,"function":"getIndexResponse","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"index","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["externalstorages"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Settings\\Controller\\PersonalSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"file":"\/srv\/nextcloud\/www\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/settings\/user\/externalstorages"]},{"file":"\/srv\/nextcloud\/www\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":104,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} {"reqId":"Wm1RZ0OE7uobdT1agTKs","level":1,"time":"2018-10-18T20:49:28+00:00","remoteAddr":"5.198.44.45","user":"admin","app":"no app in context","method":"GET","url":"\/index.php\/settings\/user\/externalstorages","message":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Drawio\\Settings\\AdminSettings! Class OCA\\Drawio\\Settings\\AdminSettings does not exist","Code":0,"Trace":[{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":119,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Settings\/Manager.php","line":216,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Settings\/Manager.php","line":342,"function":"getSettings","class":"OC\\Settings\\Manager","type":"->","args":["admin","additional"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":65,"function":"getAdminSettings","class":"OC\\Settings\\Manager","type":"->","args":["additional"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":101,"function":"formatSections","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":[{"0":[{"__class__":"OC\\Settings\\Section"}],"1":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\ServerInfo\\Settings\\AdminSection"},{"__class__":"OCA\\Support\\Settings\\Section"}],"5":[{"__class__":"OC\\Settings\\Section"}],"10":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\Files_External\\Settings\\Section"}],"30":[{"__class__":"OCA\\Theming\\Settings\\Section"}],"50":[{"__class__":"OC\\Settings\\Section"},{"__class__":"OCA\\OJSXC\\Settings\\Section"},{"__class__":"OCA\\Onlyoffice\\AdminSection"}],"55":[{"__class__":"OCA\\Activity\\Settings\\AdminSection"},{"__class__":"OCA\\External\\Settings\\Section"},{"__class__":"OCA\\WorkflowEngine\\Settings\\Section"}],"70":[{"__class__":"OCA\\Spreed\\Settings\\Admin\\Section"}],"80":[{"__class__":"OCA\\Bookmarks\\Settings\\AdminSection"},{"__class__":"OCA\\Survey_Client\\Settings\\AdminSection"}],"90":[{"__class__":"OCA\\LogReader\\Settings\\Section"}],"98":[{"__class__":"OC\\Settings\\Section"}]},"externalstorages","admin","personal"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":51,"function":"formatAdminSections","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":125,"function":"getNavigationParameters","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/PersonalSettingsController.php","line":57,"function":"getIndexResponse","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"index","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["externalstorages"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Settings\\Controller\\PersonalSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"file":"\/srv\/nextcloud\/www\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/settings\/user\/externalstorages"]},{"file":"\/srv\/nextcloud\/www\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":104,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} {"reqId":"Wm1RZ0OE7uobdT1agTKs","level":1,"time":"2018-10-18T20:49:28+00:00","remoteAddr":"5.198.44.45","user":"admin","app":"no app in context","method":"GET","url":"\/index.php\/settings\/user\/externalstorages","message":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Drawio\\Settings\\AdminSettings! Class OCA\\Drawio\\Settings\\AdminSettings does not exist","Code":0,"Trace":[{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":119,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Settings\/Manager.php","line":216,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Drawio\\Settings\\AdminSettings"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Settings\/Manager.php","line":404,"function":"getSettings","class":"OC\\Settings\\Manager","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/PersonalSettingsController.php","line":66,"function":"getPersonalSettings","class":"OC\\Settings\\Manager","type":"->","args":["externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/CommonSettingsTrait.php","line":126,"function":"getSettings","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["externalstorages"]},{"file":"\/srv\/nextcloud\/www\/settings\/Controller\/PersonalSettingsController.php","line":57,"function":"getIndexResponse","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["personal","externalstorages"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"index","class":"OC\\Settings\\Controller\\PersonalSettingsController","type":"->","args":["externalstorages"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\PersonalSettingsController"},"index"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Settings\\Controller\\PersonalSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"section":"externalstorages","_route":"settings.PersonalSettings.index"}]},{"file":"\/srv\/nextcloud\/www\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/settings\/user\/externalstorages"]},{"file":"\/srv\/nextcloud\/www\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":104,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} {"reqId":"Wm1RZ0OE7uobdT1agTKs","level":0,"time":"2018-10-18T20:49:28+00:00","remoteAddr":"5.198.44.45","user":"admin","app":"no app in context","method":"GET","url":"\/index.php\/settings\/user\/externalstorages","message":"No cache entry found for \/appdata_oc7nu0qgtr6j\/avatar\/admin\/avatar.jpg (storage: local::\/srv\/nextcloud\/data\/, internalPath: appdata_oc7nu0qgtr6j\/avatar\/admin\/avatar.jpg)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} {"reqId":"NNop3eZGpeHnWNMSYfdW","level":0,"time":"2018-10-18T20:49:30+00:00","remoteAddr":"5.198.44.45","user":"--","app":"cron","method":"GET","url":"\/cron.php","message":"Run OC\\Preview\\BackgroundCleanupJob job with ID 143","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} {"reqId":"NNop3eZGpeHnWNMSYfdW","level":0,"time":"2018-10-18T20:49:30+00:00","remoteAddr":"5.198.44.45","user":"--","app":"cron","method":"GET","url":"\/cron.php","message":"Finished OC\\Preview\\BackgroundCleanupJob job with ID 143 in 0 seconds","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} {"reqId":"3Nuq1ynO6iEL5mo78zgz","level":3,"time":"2018-10-18T20:49:31+00:00","remoteAddr":"5.198.44.45","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/1?testOnly=true","message":"Cannot connect to marxhairhull.co.uk:22. Error 111. Connection refused at \/srv\/nextcloud\/www\/apps\/files_external_gdrive\/vendor\/phpseclib\/phpseclib\/phpseclib\/Net\/SSH2.php#1122","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} {"reqId":"3Nuq1ynO6iEL5mo78zgz","level":3,"time":"2018-10-18T20:49:31+00:00","remoteAddr":"5.198.44.45","user":"admin","app":"files_external","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/1?testOnly=true","message":{"Exception":"Exception","Message":"Login failed","Code":0,"Trace":[{"file":"\/srv\/nextcloud\/www\/apps\/files_external\/lib\/Lib\/Storage\/SFTP.php","line":162,"function":"getConnection","class":"OCA\\Files_External\\Lib\\Storage\\SFTP","type":"->","args":[]},{"file":"\/srv\/nextcloud\/www\/apps\/files_external\/lib\/config.php","line":240,"function":"test","class":"OCA\\Files_External\\Lib\\Storage\\SFTP","type":"->","args":[false,"true"]},{"file":"\/srv\/nextcloud\/www\/apps\/files_external\/lib\/Controller\/StoragesController.php","line":256,"function":"getBackendStatus","class":"OC_Mount_Config","type":"::","args":["\\OCA\\Files_External\\Lib\\Storage\\SFTP",{"host":"marxhairhull.co.uk","user":"u73146175","password":"m00ncarr0ts0up","root":"\/"},false,"true"]},{"file":"\/srv\/nextcloud\/www\/apps\/files_external\/lib\/Controller\/StoragesController.php","line":305,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":[{"__class__":"OCA\\Files_External\\Lib\\StorageConfig"},"true"]},{"file":"\/srv\/nextcloud\/www\/apps\/files_external\/lib\/Controller\/UserStoragesController.php","line":107,"function":"show","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["1","true"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"show","class":"OCA\\Files_External\\Controller\\UserStoragesController","type":"->","args":["1","true"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserStoragesController"},"show"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserStoragesController"},"show"]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\UserStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"id":"1","_route":"files_external.user_storages.show"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"id":"1","_route":"files_external.user_storages.show"}]},{"file":"\/srv\/nextcloud\/www\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"id":"1","_route":"files_external.user_storages.show"}]},{"file":"\/srv\/nextcloud\/www\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/files_external\/userstorages\/1"]},{"file":"\/srv\/nextcloud\/www\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/srv\/nextcloud\/www\/apps\/files_external\/lib\/Lib\/Storage\/SFTP.php","Line":147,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"} ```
#### Browser log
Browser log ``` n/a ```
gerroon commented 5 years ago

have the exact same issue

sbrl commented 5 years ago

@gerroon you can add a thumbs up to this issue by clicking the emoji smiley-face at the top of the issue :-)

PhieF commented 5 years ago

OK, I can't reproduce this issue, but I've removed some thing I don't use anymore, can you try with this zip carnet-nc-v0.9.0.tar.gz

just put the carnet folder inside the tar into your apps folder, then enable the carnet app if you don't already have it

This isn't the current 0.9.0 version of carnet, if it works I will release a new version with the fix

sbrl commented 5 years ago

Hey, @PhieF! Sorry I haven't been able to get back to you - I've been busy with the end of the University semester :-)

Unfortunately, that version doesn't appear to work. I keep getting this:

Nextcloud or one of the apps require upgrade - only a limited number of commands are available

....but attempting to do an upgrade results in this:

$ sudo -u www-data ./occ upgrade
The current PHP memory limit is below the recommended value of 512MB.
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating <carnet> ...
Updated <carnet> to 0.9.0
Checking for update of app accessibility in appstore
An unhandled exception has been thrown:
Error: Call to undefined method GuzzleHttp\Client::request() in /srv/nextcloud/www/lib/private/Http/Client/Client.php:161
Stack trace:
#0 /srv/nextcloud/www/lib/private/App/AppStore/Fetcher/Fetcher.php(106): OC\Http\Client\Client->get('https://apps.ne...', Array)
#1 /srv/nextcloud/www/lib/private/App/AppStore/Fetcher/AppFetcher.php(80): OC\App\AppStore\Fetcher\Fetcher->fetch('"2018-12-10 10:...', '[{"id":"default...')
#2 /srv/nextcloud/www/lib/private/App/AppStore/Fetcher/Fetcher.php(170): OC\App\AppStore\Fetcher\AppFetcher->fetch('"2018-12-10 10:...', '[{"id":"default...')
#3 /srv/nextcloud/www/lib/private/Installer.php(385): OC\App\AppStore\Fetcher\Fetcher->get()
#4 /srv/nextcloud/www/lib/private/Updater.php(445): OC\Installer->isUpdateAvailable('accessibility')
#5 /srv/nextcloud/www/lib/private/Updater.php(256): OC\Updater->upgradeAppStoreApps(Array)
#6 /srv/nextcloud/www/lib/private/Updater.php(126): OC\Updater->doUpgrade('14.0.3.0', '14.0.3.0')
#7 /srv/nextcloud/www/core/Command/Upgrade.php(262): OC\Updater->upgrade()
#8 /srv/nextcloud/www/3rdparty/symfony/console/Command/Command.php(251): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /srv/nextcloud/www/3rdparty/symfony/console/Application.php(946): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /srv/nextcloud/www/3rdparty/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /srv/nextcloud/www/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /srv/nextcloud/www/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /srv/nextcloud/www/console.php(96): OC\Console\Application->run()
#14 /srv/nextcloud/www/occ(11): require_once('/srv/nextcloud/...')