nextcloud / server

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

SMB Shares not working on v18.0.4 #20622

Closed hartundweich closed 4 years ago

hartundweich commented 4 years ago

How to use GitHub

Steps to reproduce

  1. click on external SMB Share

Expected behaviour

open the external SMB share in nextcloud Browser

Actual behaviour

the following error is thrown {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":4,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"webdav","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":{"Exception":"Sabre\\DAV\\Exception","Message":"Invalid request for / (InvalidTypeException)","Code":0,"Trace":[{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Connector/Sabre/File.php","line":418,"function":"convertToSabreException","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[{"__class__":"Icewind\\SMB\\Exception\\InvalidTypeException"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":85,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpGet"],[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:GET",[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/remote.php","line":165,"args":["/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Connector/Sabre/File.php","Line":659,"Previous":{"Exception":"Icewind\\SMB\\Exception\\InvalidTypeException","Message":"Invalid request for / (InvalidTypeException)","Code":21,"Trace":[{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":66,"function":"fromMap","class":"Icewind\\SMB\\Exception\\Exception","type":"::","args":[{"1":"Icewind\\SMB\\Exception\\ForbiddenException","2":"Icewind\\SMB\\Exception\\NotFoundException","13":"Icewind\\SMB\\Exception\\ForbiddenException","16":"Icewind\\SMB\\Exception\\FileInUseException","17":"Icewind\\SMB\\Exception\\AlreadyExistsException","20":"Icewind\\SMB\\Exception\\InvalidTypeException","21":"Icewind\\SMB\\Exception\\InvalidTypeException","22":"Icewind\\SMB\\Exception\\InvalidArgumentException","28":"Icewind\\SMB\\Exception\\OutOfSpaceException","39":"Icewind\\SMB\\Exception\\NotEmptyException","103":"Icewind\\SMB\\Exception\\ConnectionAbortedException","104":"Icewind\\SMB\\Exception\\ConnectionResetException","110":"Icewind\\SMB\\Exception\\TimedOutException","111":"Icewind\\SMB\\Exception\\ConnectionRefusedException","112":"Icewind\\SMB\\Exception\\HostDownException","113":"Icewind\\SMB\\Exception\\NoRouteToHostException"},21,"/"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":78,"function":"handleError","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["/"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":212,"function":"testResult","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":[false,"smb://wx-ztdc1s/default/"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":263,"function":"open","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["smb://wx-ztdc1s/default/","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/lib/Lib/Storage/SMB.php","line":416,"function":"read","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":299,"function":"fopen","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/PermissionsMask.php","line":122,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":299,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\PermissionsMask","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/PermissionsMask.php","line":122,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":299,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\PermissionsMask","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/Availability.php","line":314,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":299,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_accesscontrol/lib/StorageWrapper.php","line":325,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/ransomware_protection/lib/StorageWrapper.php","line":317,"function":"fopen","class":"OCA\\FilesAccessControl\\StorageWrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/View.php","line":1160,"function":"fopen","class":"OCA\\RansomwareProtection\\StorageWrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/View.php","line":996,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["fopen","/G: (zentrale)",["read"],"r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Connector/Sabre/File.php","line":416,"function":"fopen","class":"OC\\Files\\View","type":"->","args":["G: (zentrale)","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":85,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpGet"],[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:GET",[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/remote.php","line":165,"args":["/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php","Line":30},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":3,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"PHP","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":"Undefined index: debugMode at /lamp/webspace/cloud.wienxtra.at/htdocs/core/templates/exception.php#17","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":3,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"PHP","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":"Undefined index: debugMode at /lamp/webspace/cloud.wienxtra.at/htdocs/core/templates/exception.php#26","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":3,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"no app in context","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"passwords.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Route/Router.php","line":339,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["passwords.page.index",[],1]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/URLGenerator.php","line":82,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["passwords.page.index",[]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":293,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["passwords.page.index"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":114,"function":"init","class":"OC\\NavigationManager","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/theming/lib/ThemingDefaults.php","line":182,"function":"getAll","class":"OC\\NavigationManager","type":"->","args":["guest"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/public/Defaults.php","line":160,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Template/JSConfigHelper.php","line":284,"function":"getShortFooter","class":"OCP\\Defaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/TemplateLayout.php","line":190,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/legacy/template.php","line":184,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","core"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":107,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":84,"function":"generateBody","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[500]},{"function":"logException","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\Exception"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"OCA\\DAV\\Files\\BrowserErrorPagePlugin"},"logException"],[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":259,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["exception",[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/remote.php","line":165,"args":["/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":3,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"no app in context","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Route/Router.php","line":339,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["photos.page.index",[],1]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/URLGenerator.php","line":82,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["photos.page.index",[]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":293,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["photos.page.index"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":114,"function":"init","class":"OC\\NavigationManager","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/theming/lib/ThemingDefaults.php","line":182,"function":"getAll","class":"OC\\NavigationManager","type":"->","args":["guest"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/public/Defaults.php","line":160,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Template/JSConfigHelper.php","line":284,"function":"getShortFooter","class":"OCP\\Defaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/TemplateLayout.php","line":190,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/legacy/template.php","line":184,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","core"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":107,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":84,"function":"generateBody","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[500]},{"function":"logException","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\Exception"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"OCA\\DAV\\Files\\BrowserErrorPagePlugin"},"logException"],[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":259,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["exception",[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/remote.php","line":165,"args":["/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":3,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"no app in context","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"tasks.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Route/Router.php","line":339,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["tasks.page.index",[],1]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/URLGenerator.php","line":82,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["tasks.page.index",[]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":293,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["tasks.page.index"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":114,"function":"init","class":"OC\\NavigationManager","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/theming/lib/ThemingDefaults.php","line":182,"function":"getAll","class":"OC\\NavigationManager","type":"->","args":["guest"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/public/Defaults.php","line":160,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Template/JSConfigHelper.php","line":284,"function":"getShortFooter","class":"OCP\\Defaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/TemplateLayout.php","line":190,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/legacy/template.php","line":184,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","core"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":107,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":84,"function":"generateBody","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[500]},{"function":"logException","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\Exception"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"OCA\\DAV\\Files\\BrowserErrorPagePlugin"},"logException"],[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":259,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["exception",[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/remote.php","line":165,"args":["/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"}

Server configuration

Operating system: Gentoo Linux

Web server: Apache 2.4.41

Database: MySQL 5.7.29

PHP version: PHP 7.2.29

Nextcloud version: (see Nextcloud admin page) 18.0.4

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

Where did you install Nextcloud from: Official Website

Signing status:

Signing status ``` Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed paste the results here. `No errors have been found.`

List of activated apps:

App list ``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your Nextcloud installation folder `Enabled: - accessibility: 1.4.0 - activity: 2.11.0 - announcementcenter: 3.7.0 - browser_warning: 0.2.0 - bruteforcesettings: 1.6.0 - cloud_federation_api: 1.1.0 - comments: 1.8.0 - data_request: 1.5.0 - dav: 1.14.0 - deck: 0.8.2 - drawio: 0.9.5 - extract: 1.2.4 - federatedfilesharing: 1.8.0 - files: 1.13.1 - files_accesscontrol: 1.8.1 - files_external: 1.9.0 - files_inotify: 0.1.7 - files_mindmap: 0.0.21 - files_pdfviewer: 1.7.0 - files_rightclick: 0.15.2 - files_sharing: 1.10.1 - files_trashbin: 1.8.0 - files_versions: 1.11.0 - files_videoplayer: 1.7.0 - firstrunwizard: 2.7.0 - flowupload: 0.1.8 - groupquota: 0.1.2 - guests: 1.4.3 - impersonate: 1.5.0 - logreader: 2.3.0 - lookup_server_connector: 1.6.0 - nextcloud_announcements: 1.7.0 - notifications: 2.6.0 - oauth2: 1.6.0 - passwords: 2020.4.1 - photos: 1.0.0 - privacy: 1.2.0 - provisioning_api: 1.8.0 - quota_warning: 1.7.0 - ransomware_protection: 1.6.1 - recommendations: 0.6.0 - serverinfo: 1.8.0 - settings: 1.0.0 - sharebymail: 1.8.0 - socialsharing_email: 2.0.0 - spreed: 8.0.8 - support: 1.1.0 - tasks: 0.12.1 - text: 2.0.0 - theming: 1.9.0 - twofactor_backupcodes: 1.7.0 - updatenotification: 1.8.0 - user_ldap: 1.8.0 - user_usage_report: 1.2.0 - viewer: 1.2.0 - w2g2: 3.0.1 - workflowengine: 2.0.0 Disabled: - admin_audit - documentserver_community - encryption - external - federation - onlyoffice - password_policy - survey_client - systemtags `

Nextcloud configuration:

Config report ``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder or Insert your config.php content here. Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …) `{ "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "cloud.wienxtra.at" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "18.0.4.2", "overwrite.cli.url": "https:\/\/cloud.wienxtra.at", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "ldapIgnoreNamingRules": false, "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory", "mail_smtpmode": "sendmail", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "default_language": "de", "default_locale": "de_AT", "defaultapp": "files", "knowledgebaseenabled": true, "skeletondirectory": "\/lamp\/webspace\/cloud.wienxtra.at\/data\/skeleton", "htaccess.RewriteBase": "\/", "log_type": "file", "logfile": "\/lamp\/webspace\/cloud.wienxtra.at\/data\/nextcloud.log", "loglevel": 3, "logtimezone": "Europe\/Vienna", "log_rotate_size": 104857600, "enable_previews": true, "preview_max_x": 4096, "preview_max_y": 4096, "preview_max_filesize_image": 50, "preview_libreoffice_path": "\/usr\/bin\/libreoffice", "enabledPreviewProviders": { "0": "OC\\Preview\\PNG", "1": "OC\\Preview\\JPEG", "2": "OC\\Preview\\GIF", "4": "OC\\Preview\\BMP" }, "quota_include_external_storage": false, "external_storage.auth_availability_delay": 1800, "max_filesize_animated_gifs_public_sharing": 10, "login_form_autocomplete": false, "debug": false, "maintenance": false, "remember_login_cookie_lifetime": 86400, "session_lifetime": 36000, "updater.release.channel": "stable", "updater.secret": "***REMOVED SENSITIVE VALUE***" } } `

Are you using external storage, if yes which one: local/smb/sftp/... SMB from Windows Active Directory

Are you using encryption: yes/no No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... ActiveDirectory

LDAP configuration (delete this part if not used)

LDAP config ``` With access to your command line run e.g.: sudo -u www-data php occ ldap:show-config from within your Nextcloud installation folder Without access to your command line download the data/owncloud.db to your local computer or access your SQL server remotely and run the select query: SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap'; Eventually replace sensitive data as the name/IP-address of your LDAP server or groups. ` +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | Configuration | s01 | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ | hasMemberOfFilterSupport | 1 | | homeFolderNamingRule | attr:sAMAccountname | | lastJpegPhotoLookup | 0 | | ldapAgentName | CN=webapp-bind,OU=WEBZUGRIFF,DC=wienxtra,DC=intern | | ldapAgentPassword | *** | | ldapAttributesForGroupSearch | cn;name | | ldapAttributesForUserSearch | displayName;mail;sAMAccountname | | ldapBackupHost | | | ldapBackupPort | | | ldapBase | DC=wienxtra,DC=intern | | ldapBaseGroups | DC=wienxtra,DC=intern | | ldapBaseUsers | DC=wienxtra,DC=intern | | ldapCacheTTL | 600 | | ldapConfigurationActive | 1 | | ldapDefaultPPolicyDN | | | ldapDynamicGroupMemberURL | | | ldapEmailAttribute | mail | | ldapExperiencedAdmin | 0 | | ldapExpertUUIDGroupAttr | | | ldapExpertUUIDUserAttr | objectguid | | ldapExpertUsernameAttr | sAMAccountname | | ldapExtStorageHomeAttribute | | | ldapGidNumber | gidNumber | | ldapGroupDisplayName | cn | | ldapGroupFilter | (&(|(objectclass=group))(|(cn=cloud.wienxtra.at))) | | ldapGroupFilterGroups | cloud.wienxtra.at | | ldapGroupFilterMode | 0 | | ldapGroupFilterObjectclass | group | | ldapGroupMemberAssocAttr | member | | ldapHost | wx-admin1r.wienxtra.intern | | ldapIgnoreNamingRules | | | ldapLoginFilter | (&(&(|(objectclass=person))(|(|(memberof=CN=cloud.wienxtra.at,OU=WEBZUGRIFF,DC=wienxtra,DC=intern)(primaryGroupID=31263))))(samaccountname=%uid)) | | ldapLoginFilterAttributes | | | ldapLoginFilterEmail | 0 | | ldapLoginFilterMode | 1 | | ldapLoginFilterUsername | 1 | | ldapNestedGroups | 1 | | ldapOverrideMainServer | | | ldapPagingSize | 500 | | ldapPort | 389 | | ldapQuotaAttribute | | | ldapQuotaDefault | | | ldapTLS | 0 | | ldapUserAvatarRule | default | | ldapUserDisplayName | displayname | | ldapUserDisplayName2 | mail | | ldapUserFilter | (&(|(objectclass=person))(|(|(memberof=CN=cloud.wienxtra.at,OU=WEBZUGRIFF,DC=wienxtra,DC=intern)(primaryGroupID=31263)))) | | ldapUserFilterGroups | cloud.wienxtra.at | | ldapUserFilterMode | 0 | | ldapUserFilterObjectclass | person | | ldapUuidGroupAttribute | auto | | ldapUuidUserAttribute | auto | | turnOffCertCheck | 0 | | turnOnPasswordChange | 0 | | useMemberOfToDetectMembership | 1 | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+ `

Client configuration

Browser: Most recent Firefox and most recent Google Chrome

Operating system: Windows 10 Pro 64 Bit

Logs

Web server error log

Web server error log ``` no errors in webserver log ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":4,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"webdav","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":{"Exception":"Sabre\\DAV\\Exception","Message":"Invalid request for / (InvalidTypeException)","Code":0,"Trace":[{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Connector/Sabre/File.php","line":418,"function":"convertToSabreException","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[{"__class__":"Icewind\\SMB\\Exception\\InvalidTypeException"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":85,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpGet"],[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:GET",[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/remote.php","line":165,"args":["/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Connector/Sabre/File.php","Line":659,"Previous":{"Exception":"Icewind\\SMB\\Exception\\InvalidTypeException","Message":"Invalid request for / (InvalidTypeException)","Code":21,"Trace":[{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":66,"function":"fromMap","class":"Icewind\\SMB\\Exception\\Exception","type":"::","args":[{"1":"Icewind\\SMB\\Exception\\ForbiddenException","2":"Icewind\\SMB\\Exception\\NotFoundException","13":"Icewind\\SMB\\Exception\\ForbiddenException","16":"Icewind\\SMB\\Exception\\FileInUseException","17":"Icewind\\SMB\\Exception\\AlreadyExistsException","20":"Icewind\\SMB\\Exception\\InvalidTypeException","21":"Icewind\\SMB\\Exception\\InvalidTypeException","22":"Icewind\\SMB\\Exception\\InvalidArgumentException","28":"Icewind\\SMB\\Exception\\OutOfSpaceException","39":"Icewind\\SMB\\Exception\\NotEmptyException","103":"Icewind\\SMB\\Exception\\ConnectionAbortedException","104":"Icewind\\SMB\\Exception\\ConnectionResetException","110":"Icewind\\SMB\\Exception\\TimedOutException","111":"Icewind\\SMB\\Exception\\ConnectionRefusedException","112":"Icewind\\SMB\\Exception\\HostDownException","113":"Icewind\\SMB\\Exception\\NoRouteToHostException"},21,"/"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":78,"function":"handleError","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["/"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":212,"function":"testResult","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":[false,"smb://wx-ztdc1s/default/"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":263,"function":"open","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["smb://wx-ztdc1s/default/","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/lib/Lib/Storage/SMB.php","line":416,"function":"read","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":299,"function":"fopen","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/PermissionsMask.php","line":122,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":299,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\PermissionsMask","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/PermissionsMask.php","line":122,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":299,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\PermissionsMask","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/Availability.php","line":314,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/Storage/Wrapper/Wrapper.php","line":299,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_accesscontrol/lib/StorageWrapper.php","line":325,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/ransomware_protection/lib/StorageWrapper.php","line":317,"function":"fopen","class":"OCA\\FilesAccessControl\\StorageWrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/View.php","line":1160,"function":"fopen","class":"OCA\\RansomwareProtection\\StorageWrapper","type":"->","args":["","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Files/View.php","line":996,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["fopen","/G: (zentrale)",["read"],"r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Connector/Sabre/File.php","line":416,"function":"fopen","class":"OC\\Files\\View","type":"->","args":["G: (zentrale)","r"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":85,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpGet"],[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:GET",[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https://cloud.wienxtra.at/remote.php/webdav/G%3A%20(zentrale)","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/remote.php","line":165,"args":["/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php","Line":30},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":3,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"PHP","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":"Undefined index: debugMode at /lamp/webspace/cloud.wienxtra.at/htdocs/core/templates/exception.php#17","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":3,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"PHP","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":"Undefined index: debugMode at /lamp/webspace/cloud.wienxtra.at/htdocs/core/templates/exception.php#26","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":3,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"no app in context","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"passwords.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Route/Router.php","line":339,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["passwords.page.index",[],1]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/URLGenerator.php","line":82,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["passwords.page.index",[]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":293,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["passwords.page.index"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":114,"function":"init","class":"OC\\NavigationManager","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/theming/lib/ThemingDefaults.php","line":182,"function":"getAll","class":"OC\\NavigationManager","type":"->","args":["guest"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/public/Defaults.php","line":160,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Template/JSConfigHelper.php","line":284,"function":"getShortFooter","class":"OCP\\Defaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/TemplateLayout.php","line":190,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/legacy/template.php","line":184,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","core"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":107,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":84,"function":"generateBody","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[500]},{"function":"logException","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\Exception"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"OCA\\DAV\\Files\\BrowserErrorPagePlugin"},"logException"],[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":259,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["exception",[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/remote.php","line":165,"args":["/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":3,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"no app in context","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"photos.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Route/Router.php","line":339,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["photos.page.index",[],1]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/URLGenerator.php","line":82,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["photos.page.index",[]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":293,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["photos.page.index"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":114,"function":"init","class":"OC\\NavigationManager","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/theming/lib/ThemingDefaults.php","line":182,"function":"getAll","class":"OC\\NavigationManager","type":"->","args":["guest"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/public/Defaults.php","line":160,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Template/JSConfigHelper.php","line":284,"function":"getShortFooter","class":"OCP\\Defaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/TemplateLayout.php","line":190,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/legacy/template.php","line":184,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","core"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":107,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":84,"function":"generateBody","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[500]},{"function":"logException","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\Exception"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"OCA\\DAV\\Files\\BrowserErrorPagePlugin"},"logException"],[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":259,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["exception",[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/remote.php","line":165,"args":["/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} {"reqId":"XqIMjvSGOMa0yvHRtHpndwAAAB0","level":3,"time":"2020-04-23T23:45:50+02:00","remoteAddr":"77.119.253.32","user":"andrfrag","app":"no app in context","method":"GET","url":"/remote.php/webdav/G%3A%20(zentrale)","message":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"tasks.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Route/Router.php","line":339,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["tasks.page.index",[],1]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/URLGenerator.php","line":82,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["tasks.page.index",[]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":293,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["tasks.page.index"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/NavigationManager.php","line":114,"function":"init","class":"OC\\NavigationManager","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/theming/lib/ThemingDefaults.php","line":182,"function":"getAll","class":"OC\\NavigationManager","type":"->","args":["guest"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/public/Defaults.php","line":160,"function":"getShortFooter","class":"OCA\\Theming\\ThemingDefaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/Template/JSConfigHelper.php","line":284,"function":"getShortFooter","class":"OCP\\Defaults","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/TemplateLayout.php","line":190,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/lib/private/legacy/template.php","line":184,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","core"]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":107,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/lib/Files/BrowserErrorPagePlugin.php","line":84,"function":"generateBody","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[500]},{"function":"logException","class":"OCA\\DAV\\Files\\BrowserErrorPagePlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\Exception"}]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"OCA\\DAV\\Files\\BrowserErrorPagePlugin"},"logException"],[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php","line":259,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["exception",[{"__class__":"Sabre\\DAV\\Exception"}]]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php","line":82,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/lamp/webspace/cloud.wienxtra.at/htdocs/remote.php","line":165,"args":["/lamp/webspace/cloud.wienxtra.at/htdocs/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/lamp/webspace/cloud.wienxtra.at/htdocs/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.4.2"} ```

Browser log

Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
altae7 commented 4 years ago

Today I updated to 18.0.5. I had to delete and re-add the smb shares but now there seem to be no more errors so it looks like 18.0.5 has indeed resolved the issue.

icewind1991 commented 4 years ago

https://github.com/nextcloud/server/pull/21252 should fix the "Uninitialized string offset: 0" issue, if you're currently experiencing that issue please leave a comment on that PR whether or not that fixes it for you

JellevanKraaij commented 4 years ago

i solved the problem as described above (https://github.com/nextcloud/server/issues/20622#issuecomment-621299479). This worked well on 18.0.4 and 18.0.5. Only now with 18.0.6 it gives logs:

[PHP] Error: Uninitialized string offset: 0 at /config/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php#144

MOVE /remote.php/dav/uploads/******/******/.file
from ****** by ******* at 2020-06-18T21:24:17+00:00

I can still use the remote folder through the web interface only through "occ files: scan" not.

I replaced the icewind folder files_external / 3rdparty / icewind with the new folder from the 18.0.06 zip but still the same error

Samunosuke commented 4 years ago

@git-the-bits I did the same. So the version 18.0.6 does still have the problem. I needed to delete the existing share and recreate it, to get it working. For me problem started with a single folder which I could not access, then I have tried to recreate the share - then I was no more able to access the share. Copy over files from 18.0.3 (files_external and 3rdparty/icewind/) and recreate the share did solve the problem.

JellevanKraaij commented 4 years ago

I hoped and read somewhere that it would already be solved with 18.0.5 but 18.0.6 still has it.

but besides this problem (overall) a very good project / product.

thanks to all the people who made this open source project possible!

banakito commented 4 years ago

Same here.

Problem exists in 18.0.6 even with #21252 update to icewind 3.2.5.

kesselb commented 4 years ago

@Samunosuke @git-the-bits @banakito mind to create a new issue (but only one please) with the issue template and do all the debugging steps we did in this thread? Thanks in advance :+1:

fuco809 commented 4 years ago

plz reopen ticket, issue is not fixed with 18.0.6!

kesselb commented 4 years ago

@Samunosuke @git-the-bits @banakito mind to create a new issue (but only one please) with the issue template and do all the debugging steps we did in this thread? Thanks in advance :+1:

@fuco809

icewind1991 commented 4 years ago

For people who are experiencing the issue of directories appearing as files with nc18.0.6/nc19 please try applying 5c9c0207d89a9e92087a9694df2f75af179c3497 and see if it makes a difference

sushifrick commented 4 years ago

For people who are experiencing the issue of directories appearing as files with nc18.0.6/nc19 please try applying 5c9c020 and see if it makes a difference

I tried, but the problem still exists: Sabre\DAV\Exception: Invalid request for /path/to/folder (InvalidTypeException)

Deleting and readding the share did not help. Other shares /path/to/other_folder parallel to the problematic one do work however.

hawkeye426 commented 4 years ago

Still having the issue today on 18.0.7

abacao commented 4 years ago

I still have this issue https://github.com/nextcloud/nextcloud-snap/issues/1423

snetAT commented 4 years ago

For people who are experiencing the issue of directories appearing as files with nc18.0.6/nc19 please try applying 5c9c020 and see if it makes a difference

Works for me

stanelie commented 4 years ago

Please reopen this ticket, I'm still having this issue after upgrading from 17.x to 19.0.2. I had to restore the apps/files_external/3rdparty/icewind folder from 18.0.3 to have my smb shares accessible again.

No idea what the collateral damage will be with this hack, and what torments I will face when I try to upgrade again to the next version.

TomGem commented 4 years ago

Jfyi, this maybe also depends on the smb server and smb client libs versions.

My setup is working again, Nextcloud 18.0.8 on Ubuntu 18.04.5. Our Nextcloud instance connects to different smb file server with different Samba versions.

Please note, I use newer smb client libs than the ones available in Ubuntu 18.04. There is the PPA: https://launchpad.net/~linux-schools/+archive/ubuntu/samba-latest

However, I'm not sure if this is related to the problems here, but I need this libs anyway. With the ones shipping with 18.04 I can't connect to some filers at all (with or without Nextcloud doesn't matter).

seventhsite commented 4 years ago

Same problem on 19.0.2

For people who are experiencing the issue of directories appearing as files with nc18.0.6/nc19 please try applying 5c9c020 and see if it makes a difference

It already exist

PieterGit commented 4 years ago

Same problem for 19.0.3. I didn't get the SMB share working. Thanks to https://github.com/nextcloud/server/issues/20622#issuecomment-621299479 I think this problem started with https://github.com/nextcloud/server/pull/20363/files which upgrades icewind/smb from v3.2.1 to v3.2.3 I used the following workaround to upgrade all the depencies (see https://getcomposer.org/ for details)

cd NEXTCLOUD_ROOT/3rdparty
php composer.phar update
php composer.phar install

After that I could create a new SMB share and the SMB share can be read.

I noticed 19.0.3 includes icewind/smb that has been upgraded to the latest 3.2.7. See https://github.com/nextcloud/server/pull/20363/files#diff-c56aee2084dd7dc107a38fa723b412ddL12 and https://github.com/icewind1991/SMB/tags

banakito commented 4 years ago

Working again for me since 19.0.3 Icewind/smb 3.2.7.

PieterGit commented 4 years ago

@banakito did you try to create the smb share under 19.0.3, or did it already exist from an earlier version? I don't have luck yet. I now have a working share, but can't upload new files to the share. I'm seeing errors like:

{"reqId":"xxx","level":3,"time":"2020-09-12T20:45:31+00:00","remoteAddr":"xxx","user":"xxx","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/xxx/","message":"include(/xxx/apps/files_external/3rdparty/composer/../icewind/smb/src/BasicAuth.php): failed to open stream: No such file or directory at /xxx/lib/composer/composer/
ClassLoader.php#444","userAgent":"Mozilla/5.0 (Windows) mirall/2.6.4stable-Win64 (build 20200303) (Nextcloud)","version":"19.0.3.1"}

Help will be appreciated.

horus07 commented 4 years ago

same problem 19.0.3 some 2 from 4 smb-links are working