nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.96k stars 4.02k forks source link

Local external storage fails if there is a symlink in any directory within the requested path (without user trying to access said symlink) #24215

Closed trougnouf closed 3 years ago

trougnouf commented 3 years ago

How to use GitHub

Steps to reproduce

  1. Setup local external storage in Admin for a specific user (: "Pictures")
  2. Have a symlink in some subdirectory (eg: "Pictures/ITookAPicture/manuals")
  3. Try to access the subdirectory containing that symlink or any subdirectory (eg: "Pictures/ITookAPicture/" in the webinterface, or trying to upload a file from phone to "Pictures/ITookAPicture/Phone/somedir")

Expected behaviour

Subdirectories that do not go through symlinks should open. Scanner should cleanly ignore symlinks. Workaround: place symlink in a deeper subdirectory (eg Pictures/ITookAPicture/symlinks/manuals"), this works but it's not sustainable when the storage may contain many more symlinks.

Actual behaviour

web: This directory is unavailable, please check the logs or contact the administrator This operation is forbidden phone: The phone interface complains about lack of permissions

Server configuration

Operating system: Arch Linux

Web server: apache 2.4.46

Database:: mariadb 10.5.8

PHP version: php 7.4.12

Nextcloud version: nextcloud 20.0.1

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Where did you install Nextcloud from: pacman

Signing status:

Signing status ``` No errors have been found. ```

List of activated apps:

App list ``` Enabled: - accessibility: 1.6.0 - activity: 2.13.2 - bruteforcesettings: 2.0.1 - calendar: 2.1.2 - cloud_federation_api: 1.3.0 - comments: 1.10.0 - contacts: 3.4.1 - contactsinteraction: 1.1.0 - dashboard: 7.0.0 - dav: 1.16.0 - federatedfilesharing: 1.10.1 - federation: 1.10.1 - files: 1.15.0 - files_external: 1.11.1 - files_pdfviewer: 2.0.1 - files_rightclick: 0.17.0 - files_sharing: 1.12.0 - files_trashbin: 1.10.1 - files_versions: 1.13.0 - files_videoplayer: 1.9.0 - firstrunwizard: 2.9.0 - logreader: 2.5.0 - lookup_server_connector: 1.8.0 - mail: 1.7.0 - maps: 0.1.8 - news: 15.0.6 - nextcloud_announcements: 1.9.0 - notes: 4.0.0 - notifications: 2.8.0 - oauth2: 1.8.0 - password_policy: 1.10.1 - photos: 1.2.0 - privacy: 1.4.0 - provisioning_api: 1.10.0 - recommendations: 0.8.0 - richdocuments: 3.7.9 - serverinfo: 1.10.0 - settings: 1.2.0 - sharebymail: 1.10.0 - social: 0.4.1 - spreed: 10.0.1 - support: 1.3.0 - survey_client: 1.8.0 - systemtags: 1.10.0 - text: 3.1.0 - theming: 1.11.0 - twofactor_backupcodes: 1.9.0 - twofactor_totp: 5.0.0 - updatenotification: 1.10.0 - user_status: 1.0.0 - viewer: 1.4.0 - weather_status: 1.0.0 - workflowengine: 2.2.0 Disabled: - admin_audit - bookmarks - deck - encryption - phonetrack - tasks - user_ldap ```

Nextcloud configuration:

Config report ``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ ***REMOVED SENSITIVE VALUE***, "localhost", ***REMOVED SENSITIVE VALUE*** ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "20.0.1.1", "overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true } } ```

Are you using external storage, if yes which one: local

Are you using encryption: yes

Are you using an external user-backend, if yes which one: Webdav

Client configuration

Browser: Firefox 83

Operating system: Arch Linux

Logs

Web server error log

Web server error log ``` Insert your webserver log here ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` [...] {"reqId":"hrMM3yJY7pDLvkQX8RcZ","level":3,"time":"2020-11-19T09:32:17+00:00","remoteAddr":"127.0.0.1","user":"trougnouf","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/trougnouf/Pictures/ITookAPicture","message":"Following symlinks is not allowed ('/orb/Pictures/ITookAPicture/manuals' -> '/orb/Documents/howto/photography/manuals/' not inside '/orb/Pictures/')","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0","version":"20.0.1.1"} {"reqId":"hrMM3yJY7pDLvkQX8RcZ","level":4,"time":"2020-11-19T09:32:17+00:00","remoteAddr":"127.0.0.1","user":"trougnouf","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/files/trougnouf/Pictures/ITookAPicture","message":{"Exception":"OCP\\Files\\ForbiddenException","Message":"Following symlinks is not allowed","Code":0,"Trace":[{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Storage/Local.php","line":162,"function":"getSourcePath","class":"OC\\Files\\Storage\\Local","type":"->","args":["ITookAPicture/manuals"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Storage/Common.php","line":883,"function":"getMetaData","class":"OC\\Files\\Storage\\Local","type":"->","args":["ITookAPicture/manuals"]},{"function":"getDirectoryContent","class":"OC\\Files\\Storage\\Common","type":"->","args":["ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Cache/Scanner.php","line":408,"function":"iterator_to_array","args":[{"__class__":"Generator"}]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Cache/Scanner.php","line":388,"function":"handleChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["ITookAPicture",false,3,31285,true,0]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Cache/Scanner.php","line":340,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["ITookAPicture",false,3,31285,true]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/View.php","line":1339,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["ITookAPicture",false]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/View.php","line":1383,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"cache":{"__class__":"OC\\Files\\Cache\\Cache"},"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"ITookAPicture","/trougnouf/files/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Node/Root.php","line":201,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["/trougnouf/files/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Node/Folder.php","line":140,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["/trougnouf/files/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php","line":191,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->","args":["/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"handleGetProperties","class":"OCA\\DAV\\Connector\\Sabre\\SharesPlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"}]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1063,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["propFind",[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"}]]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":989,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"}]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1678,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->","args":["files/trougnouf/Pictures/ITookAPicture",["{DAV:}getlastmodified","{DAV:}getetag","{DAV:}getcontenttype","{DAV:}resourcetype","{http://owncloud.org/ns}fileid","{http://owncloud.org/ns}permissions","{http://owncloud.org/ns}size","{DAV:}getcontentlength","{http://nextcloud.org/ns}has-preview","{http://nextcloud.org/ns}mount-type","{http://nextcloud.org/ns}is-encrypted","{http://open-collaboration-services.org/ns}share-permissions","{http://owncloud.org/ns}tags","{http://owncloud.org/ns}favorite","{http://owncloud.org/ns}comments-unread","{http://owncloud.org/ns}owner-id","{http://owncloud.org/ns}owner-display-name","{http://owncloud.org/ns}share-types"],1]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1661,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"elementMap":[],"contextUri":"/remote.php/dav/","namespaceMap":{"DAV:":"d","http://sabredav.org/ns":"s","http://owncloud.org/ns":"oc","http://nextcloud.org/ns":"nc"},"classMap":[],"__class__":"Sabre\\Xml\\Writer"},{"__class__":"Generator"},false]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":363,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Generator"},false]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PROPFIND",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/usr/share/webapps/nextcloud/apps/dav/lib/Server.php","line":325,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/usr/share/webapps/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/usr/share/webapps/nextcloud/remote.php","line":167,"args":["/usr/share/webapps/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/usr/share/webapps/nextcloud/lib/private/Files/Storage/Local.php","Line":464,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0","version":"20.0.1.1"} {"reqId":"76I030dLX3LqOkJmOU1j","level":3,"time":"2020-11-19T09:32:17+00:00","remoteAddr":"127.0.0.1","user":"trougnouf","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2F","message":{"Exception":"Error","Message":"Undefined offset: 3 at /usr/share/webapps/nextcloud/lib/private/legacy/OC_Helper.php#548","Code":0,"Trace":[{"file":"/usr/share/webapps/nextcloud/lib/private/legacy/OC_Helper.php","line":548,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[8,"Undefined offset: 3","/usr/share/webapps/nextcloud/lib/private/legacy/OC_Helper.php",548,{"path":"/","rootInfo":{"__class__":"OC\\Files\\FileInfo"},"includeExtStorage":false,"used":7552608548,"quota":-3,"mount":{"__class__":"OC\\Files\\Mount\\MountPoint"},"storage":{"cache":null,"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"sourceStorage":{"cache":null,"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"free":762944815104,"total":770497423652,"relative":0.98,"ownerId":"trougnouf","ownerDisplayName":"trougnouf","owner":{"__class__":"OC\\User\\User"}}]},{"file":"/usr/share/webapps/nextcloud/apps/files/lib/Helper.php","line":51,"function":"getStorageInfo","class":"OC_Helper","type":"::","args":["/"]},{"file":"/usr/share/webapps/nextcloud/apps/files/lib/Controller/AjaxController.php","line":47,"function":"buildFileStorageStatistics","class":"OCA\\Files\\Helper","type":"::","args":["/"]},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"getStorageStats","class":"OCA\\Files\\Controller\\AjaxController","type":"->","args":["/"]},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\AjaxController"},"getStorageStats"]},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\AjaxController"},"getStorageStats"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files\\Controller\\AjaxController","getStorageStats",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"_route":"files.ajax.getStorageStats"}]},{"file":"/usr/share/webapps/nextcloud/lib/base.php","line":1009,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files/ajax/getstoragestats.php"]},{"file":"/usr/share/webapps/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/usr/share/webapps/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0","version":"20.0.1.1"} {"reqId":"SE47MkmAUZthpoRzAL6S","level":3,"time":"2020-11-19T09:32:34+00:00","remoteAddr":"127.0.0.1","user":"trougnouf","app":"core","method":"GET","url":"/ocs/v2.php/apps/text/workspace?path=%2FPictures%2FITookAPicture","message":"Following symlinks is not allowed ('/orb/Pictures/ITookAPicture/manuals' -> '/orb/Documents/howto/photography/manuals/' not inside '/orb/Pictures/')","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0","version":"20.0.1.1"} {"reqId":"SE47MkmAUZthpoRzAL6S","level":3,"time":"2020-11-19T09:32:34+00:00","remoteAddr":"127.0.0.1","user":"trougnouf","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/text/workspace?path=%2FPictures%2FITookAPicture","message":{"Exception":"OCP\\Files\\ForbiddenException","Message":"Following symlinks is not allowed","Code":0,"Trace":[{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Storage/Local.php","line":162,"function":"getSourcePath","class":"OC\\Files\\Storage\\Local","type":"->","args":["ITookAPicture/manuals"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Storage/Common.php","line":883,"function":"getMetaData","class":"OC\\Files\\Storage\\Local","type":"->","args":["ITookAPicture/manuals"]},{"function":"getDirectoryContent","class":"OC\\Files\\Storage\\Common","type":"->","args":["ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Cache/Scanner.php","line":408,"function":"iterator_to_array","args":[{"__class__":"Generator"}]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Cache/Scanner.php","line":388,"function":"handleChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["ITookAPicture",false,3,31285,true,0]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Cache/Scanner.php","line":340,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["ITookAPicture",false,3,31285,true]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/View.php","line":1339,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["ITookAPicture",false]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/View.php","line":1383,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"cache":{"__class__":"OC\\Files\\Cache\\Cache"},"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"ITookAPicture","/trougnouf/files/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Node/Root.php","line":201,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["/trougnouf/files/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Node/Folder.php","line":140,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["/trougnouf/files/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/apps/text/lib/Controller/WorkspaceController.php","line":112,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->","args":["/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"folder","class":"OCA\\Text\\Controller\\WorkspaceController","type":"->","args":["/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Text\\Controller\\WorkspaceController"},"folder"]},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Text\\Controller\\WorkspaceController"},"folder"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Text\\Controller\\WorkspaceController","folder",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"_route":"ocs.text.Workspace.folder"}]},{"file":"/usr/share/webapps/nextcloud/ocs/v1.php","line":88,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/text/workspace"]},{"file":"/usr/share/webapps/nextcloud/ocs/v2.php","line":24,"args":["/usr/share/webapps/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/usr/share/webapps/nextcloud/lib/private/Files/Storage/Local.php","Line":464,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0","version":"20.0.1.1"} {"reqId":"IyLxJgXBIvOg9qKMJfEG","level":3,"time":"2020-11-19T09:32:34+00:00","remoteAddr":"127.0.0.1","user":"trougnouf","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/trougnouf/Pictures/ITookAPicture","message":"Following symlinks is not allowed ('/orb/Pictures/ITookAPicture/manuals' -> '/orb/Documents/howto/photography/manuals/' not inside '/orb/Pictures/')","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0","version":"20.0.1.1"} {"reqId":"IyLxJgXBIvOg9qKMJfEG","level":4,"time":"2020-11-19T09:32:34+00:00","remoteAddr":"127.0.0.1","user":"trougnouf","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/files/trougnouf/Pictures/ITookAPicture","message":{"Exception":"OCP\\Files\\ForbiddenException","Message":"Following symlinks is not allowed","Code":0,"Trace":[{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Storage/Local.php","line":162,"function":"getSourcePath","class":"OC\\Files\\Storage\\Local","type":"->","args":["ITookAPicture/manuals"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Storage/Common.php","line":883,"function":"getMetaData","class":"OC\\Files\\Storage\\Local","type":"->","args":["ITookAPicture/manuals"]},{"function":"getDirectoryContent","class":"OC\\Files\\Storage\\Common","type":"->","args":["ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Cache/Scanner.php","line":408,"function":"iterator_to_array","args":[{"__class__":"Generator"}]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Cache/Scanner.php","line":388,"function":"handleChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["ITookAPicture",false,3,31285,true,0]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Cache/Scanner.php","line":340,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["ITookAPicture",false,3,31285,true]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/View.php","line":1339,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["ITookAPicture",false]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/View.php","line":1383,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->","args":[{"cache":{"__class__":"OC\\Files\\Cache\\Cache"},"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"ITookAPicture","/trougnouf/files/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Node/Root.php","line":201,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":["/trougnouf/files/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Files/Node/Folder.php","line":140,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["/trougnouf/files/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php","line":191,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->","args":["/Pictures/ITookAPicture"]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"handleGetProperties","class":"OCA\\DAV\\Connector\\Sabre\\SharesPlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"}]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1063,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["propFind",[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"}]]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":989,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"}]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1678,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->","args":["files/trougnouf/Pictures/ITookAPicture",["{DAV:}getlastmodified","{DAV:}getetag","{DAV:}getcontenttype","{DAV:}resourcetype","{http://owncloud.org/ns}fileid","{http://owncloud.org/ns}permissions","{http://owncloud.org/ns}size","{DAV:}getcontentlength","{http://nextcloud.org/ns}has-preview","{http://nextcloud.org/ns}mount-type","{http://nextcloud.org/ns}is-encrypted","{http://open-collaboration-services.org/ns}share-permissions","{http://owncloud.org/ns}tags","{http://owncloud.org/ns}favorite","{http://owncloud.org/ns}comments-unread","{http://owncloud.org/ns}owner-id","{http://owncloud.org/ns}owner-display-name","{http://owncloud.org/ns}share-types"],1]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1661,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"elementMap":[],"contextUri":"/remote.php/dav/","namespaceMap":{"DAV:":"d","http://sabredav.org/ns":"s","http://owncloud.org/ns":"oc","http://nextcloud.org/ns":"nc"},"classMap":[],"__class__":"Sabre\\Xml\\Writer"},{"__class__":"Generator"},false]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":363,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Generator"},false]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PROPFIND",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/usr/share/webapps/nextcloud/apps/dav/lib/Server.php","line":325,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/usr/share/webapps/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/usr/share/webapps/nextcloud/remote.php","line":167,"args":["/usr/share/webapps/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/usr/share/webapps/nextcloud/lib/private/Files/Storage/Local.php","Line":464,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0","version":"20.0.1.1"} {"reqId":"DtnDZXgl1bEodjuhaveY","level":3,"time":"2020-11-19T09:32:35+00:00","remoteAddr":"127.0.0.1","user":"trougnouf","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2F","message":{"Exception":"Error","Message":"Undefined offset: 3 at /usr/share/webapps/nextcloud/lib/private/legacy/OC_Helper.php#548","Code":0,"Trace":[{"file":"/usr/share/webapps/nextcloud/lib/private/legacy/OC_Helper.php","line":548,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[8,"Undefined offset: 3","/usr/share/webapps/nextcloud/lib/private/legacy/OC_Helper.php",548,{"path":"/","rootInfo":{"__class__":"OC\\Files\\FileInfo"},"includeExtStorage":false,"used":7552608548,"quota":-3,"mount":{"__class__":"OC\\Files\\Mount\\MountPoint"},"storage":{"cache":null,"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"sourceStorage":{"cache":null,"scanner":{"__class__":"OC\\Files\\Cache\\Scanner"},"watcher":null,"propagator":null,"updater":null,"__class__":"OCA\\Files_Trashbin\\Storage"},"free":762944815104,"total":770497423652,"relative":0.98,"ownerId":"trougnouf","ownerDisplayName":"trougnouf","owner":{"__class__":"OC\\User\\User"}}]},{"file":"/usr/share/webapps/nextcloud/apps/files/lib/Helper.php","line":51,"function":"getStorageInfo","class":"OC_Helper","type":"::","args":["/"]},{"file":"/usr/share/webapps/nextcloud/apps/files/lib/Controller/AjaxController.php","line":47,"function":"buildFileStorageStatistics","class":"OCA\\Files\\Helper","type":"::","args":["/"]},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"getStorageStats","class":"OCA\\Files\\Controller\\AjaxController","type":"->","args":["/"]},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\AjaxController"},"getStorageStats"]},{"file":"/usr/share/webapps/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\AjaxController"},"getStorageStats"]},{"file":"/usr/share/webapps/nextcloud/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files\\Controller\\AjaxController","getStorageStats",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"_route":"files.ajax.getStorageStats"}]},{"file":"/usr/share/webapps/nextcloud/lib/base.php","line":1009,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files/ajax/getstoragestats.php"]},{"file":"/usr/share/webapps/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/usr/share/webapps/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0","version":"20.0.1.1"} ```

Browser log

Browser log ``` Loading failed for the Githubissues.
  • Githubissues is a development platform for aggregating issues.