Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not delete old share #8607

Closed
Mannshoch opened this issue Mar 1, 2018 · 13 comments
Closed

Could not delete old share #8607

Mannshoch opened this issue Mar 1, 2018 · 13 comments

Comments

@Mannshoch
Copy link

Steps to reproduce

  1. Try to delete a shared Folder
  2. Error deleting message appear

Expected behaviour

could be deleted

Actual behaviour

not delete

log from backend

Error	no app in context	OCP\Files\StorageNotAvailableException: 

    /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php - line 396: OC\Files\Storage\Wrapper\Availability->checkAvailability()
    /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 378: OC\Files\Storage\Wrapper\Availability->hasUpdated('', 1497294194)
    /nextcloud/lib/private/Files/Cache/Watcher.php - line 126: OC\Files\Storage\Wrapper\Wrapper->hasUpdated('', 1497294194)
    /nextcloud/lib/private/Files/View.php - line 1330: OC\Files\Cache\Watcher->needsUpdate('', Object(OC\Files\Cache\CacheEntry))
    /nextcloud/lib/private/Files/View.php - line 1371: OC\Files\View->getCacheEntry(Object(OCA\Files_Trashbin\Storage), '', '/mannshoch/files/F...')
    /nextcloud/lib/private/Files/Node/Root.php - line 198: OC\Files\View->getFileInfo('/mannshoch/files/F...')
    /nextcloud/lib/private/Files/Node/Folder.php - line 133: OC\Files\Node\Root->get('/mannshoch/files/F...')
    /nextcloud/apps/files_sharing/lib/Controller/ShareAPIController.php - line 595: OC\Files\Node\Folder->get('/SHARE')
    [internal function] OCA\Files_Sharing\Controller\ShareAPIController->getShares('true', 'false', 'false', '/SHARE', 'false')
    /nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 161: call_user_func_array(Array, Array)
    /nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 91: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Files_Sharing\Controller\ShareAPIController), 'getShares')
    /nextcloud/lib/private/AppFramework/App.php - line 115: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Files_Sharing\Controller\ShareAPIController), 'getShares')
    /nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('OCA\\Files_Shari...', 'getShares', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
    [internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
    /nextcloud/lib/private/Route/Router.php - line 297: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
    /nextcloud/ocs/v1.php - line 78: OC\Route\Router->match('/ocsapp/apps/fi...')
    /nextcloud/ocs/v2.php - line 24: require_once('/nextcloud...')
    {main}

Owncloud.log without any double and a bit cleaned up / not in historical Order

"--","app":"admin_audit","method":"REPORT","url":"/remote.php/caldav/calendars/mannshoch/familie_shared_by_Familie/","message":"Login attempt: \"mannshoch\"","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 Lightning/5.4","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":""message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/apps/apporder/getOrder","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/apps/files/","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/apps/gallery/config?extramediatypes=1","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/apps/logreader/get?offset=0&count=50","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/apps/logreader/settings","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/apps/systemtags/lastused","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/1?testOnly=false","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/2?testOnly=false","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/5?testOnly=false","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/settings/admin/logging","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/settings/ajax/checksetup","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"GET","url":"/settings/user","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"PHP","method":"POST","url":"/apps/files/api/v1/showhidden","message":"array_flip(): Can only flip STRING and INTEGER values! at /nextcloud/lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php#372","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"}
"user":"mannshoch","app":"admin_audit","method":"REPORT","url":"/remote.php/caldav/calendars/mannshoch/familie_shared_by_Familie/","message":"Login successful: \"mannshoch\"","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 Lightning/5.4","version":"13.0.0.14"}
"user":"mannshoch","app":"files_external","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Sabre\HTTP\ClientHttpException: Unauthorized","userAgent":"Mozilla/5.0 (Linux) mirall/2.3.3 (Nextcloud)","version":"13.0.0.14"}
"user":"mannshoch","app":"files_external","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Unauthorized","userAgent":"Mozilla/5.0 (Linux) mirall/2.3.3 (Nextcloud)","version":"13.0.0.14"}
"user":"mannshoch","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Exception: {\"Exception\":\"OCP\Files\StorageInvalidException\",\"Message\":\"Sabre\HTTP\ClientHttpException: Unauthorized\",\"Code\":0,\"Trace\":\"#0 /nextcloud/lib/private/Files/Storage/DAV.php(279): OC\Files\Storage\DAV->convertException(Object(Sabre\HTTP\ClientHttpException), '')\n#1 /nextcloud/lib/private/Files/Storage/DAV.php(577): OC\Files\Storage\DAV->propfind('')\n#2 /nextcloud/lib/private/Files/Storage/Common.php(449): OC\Files\Storage\DAV->stat('')\n#3 /nextcloud/apps/files_sharing/lib/External/Storage.php(186): OC\Files\Storage\Common->test()\n#4 /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(471): OCA\Files_Sharing\External\Storage->test()\n#5 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(55): OC\Files\Storage\Wrapper\Wrapper->test()\n#6 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(69): OC\Files\Storage\Wrapper\Availability->updateAvailability()\n#7 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(78): OC\Files\Storage\Wrapper\Availability->isAvailable()\n#8 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(396): OC\Files\Storage\Wrapper\Availability->checkAvailability()\n#9 /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(378): OC\Files\Storage\Wrapper\Availability->hasUpdated('', 1497294194)\n#10 /nextcloud/lib/private/Files/Cache/Watcher.php(126): OC\Files\Storage\Wrapper\Wrapper->hasUpdated('', 1497294194)\n#11 /nextcloud/lib/private/Files/View.php(1330): OC\Files\Cache\Watcher->needsUpdate('', Object(OC\Files\Cache\CacheEntry))\n#12 /nextcloud/lib/private/Files/View.php(1371): OC\Files\View->getCacheEntry(Object(OCA\Files_Trashbin\Storage), '', '//SHARE')\n#13 /nextcloud/apps/dav/lib/Connector/Sabre/Directory.php(214): OC\Files\View->getFileInfo('/mannshoch/files/F...')\n#14 /nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php(76): OCA\DAV\Connector\Sabre\Directory->getChild('SHARE')\n#15 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(967): Sabre\DAV\Tree->getNodeForPath('files/mannshoch/FS...')\n#16 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1666): Sabre\DAV\Server->getPropertiesIteratorForPath('files/mannshoch/FS...', Array, 0)\n#17 /nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)\n#18 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#19 /nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#20 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)\n#21 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#22 /nextcloud/apps/dav/lib/Server.php(283): Sabre\DAV\Server->exec()\n#23 /nextcloud/apps/dav/appinfo/v2/remote.php(35): OCA\DAV\Server->exec()\n#24 /nextcloud/remote.php(164): require_once('/nextcloud...')\n#25 {main}\",\"File\":\"/nextcloud/lib/private/Files/Storage/DAV.php\",\"Line\":841}","userAgent":"Mozilla/5.0 (Linux) mirall/2.3.3 (Nextcloud)","version":"13.0.0.14"}
"user":"mannshoch","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Exception: {\"Exception\":\"Sabre\HTTP\ClientHttpException\",\"Message\":\"Unauthorized\",\"Code\":401,\"Trace\":\"#0 /nextcloud/3rdparty/sabre/dav/lib/DAV/Client.php(231): Sabre\HTTP\Client->send(Object(Sabre\HTTP\Request))\n#1 /nextcloud/lib/private/Files/Storage/DAV.php(263): Sabre\DAV\Client->propFind('https://ownclou...', Array)\n#2 /nextcloud/lib/private/Files/Storage/DAV.php(577): OC\Files\Storage\DAV->propfind('')\n#3 /nextcloud/lib/private/Files/Storage/Common.php(449): OC\Files\Storage\DAV->stat('')\n#4 /nextcloud/apps/files_sharing/lib/External/Storage.php(186): OC\Files\Storage\Common->test()\n#5 /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(471): OCA\Files_Sharing\External\Storage->test()\n#6 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(55): OC\Files\Storage\Wrapper\Wrapper->test()\n#7 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(69): OC\Files\Storage\Wrapper\Availability->updateAvailability()\n#8 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(78): OC\Files\Storage\Wrapper\Availability->isAvailable()\n#9 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(396): OC\Files\Storage\Wrapper\Availability->checkAvailability()\n#10 /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(378): OC\Files\Storage\Wrapper\Availability->hasUpdated('', 1497294194)\n#11 /nextcloud/lib/private/Files/Cache/Watcher.php(126): OC\Files\Storage\Wrapper\Wrapper->hasUpdated('', 1497294194)\n#12 /nextcloud/lib/private/Files/View.php(1330): OC\Files\Cache\Watcher->needsUpdate('', Object(OC\Files\Cache\CacheEntry))\n#13 /nextcloud/lib/private/Files/View.php(1371): OC\Files\View->getCacheEntry(Object(OCA\Files_Trashbin\Storage), '', '//SHARE')\n#14 /nextcloud/apps/dav/lib/Connector/Sabre/Directory.php(214): OC\Files\View->getFileInfo('/mannshoch/files/F...')\n#15 /nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php(76): OCA\DAV\Connector\Sabre\Directory->getChild('SHARE')\n#16 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(967): Sabre\DAV\Tree->getNodeForPath('files/mannshoch/FS...')\n#17 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1666): Sabre\DAV\Server->getPropertiesIteratorForPath('files/mannshoch/FS...', Array, 0)\n#18 /nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)\n#19 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#20 /nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#21 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)\n#22 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#23 /nextcloud/apps/dav/lib/Server.php(283): Sabre\DAV\Server->exec()\n#24 /nextcloud/apps/dav/appinfo/v2/remote.php(35): OCA\DAV\Server->exec()\n#25 /nextcloud/remote.php(164): require_once('/nextcloud...')\n#26 {main}\",\"File\":\"/nextcloud/3rdparty/sabre/http/lib/Client.php\",\"Line\":160}","userAgent":"Mozilla/5.0 (Linux) mirall/2.3.3 (Nextcloud)","version":"13.0.0.14"}
"user":"mannshoch","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Exception: {\"Exception\":\"Sabre\DAV\Exception\ServiceUnavailable\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 /nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php(76): OCA\DAV\Connector\Sabre\Directory->getChild('SHARE')\n#1 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(967): Sabre\DAV\Tree->getNodeForPath('files/mannshoch/FS...')\n#2 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1666): Sabre\DAV\Server->getPropertiesIteratorForPath('files/mannshoch/FS...', Array, 0)\n#3 /nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)\n#4 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#5 /nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)\n#7 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#8 /nextcloud/apps/dav/lib/Server.php(283): Sabre\DAV\Server->exec()\n#9 /nextcloud/apps/dav/appinfo/v2/remote.php(35): OCA\DAV\Server->exec()\n#10 /nextcloud/remote.php(164): require_once('/nextcloud...')\n#11 {main}\",\"File\":\"/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php\",\"Line\":216}","userAgent":"Mozilla/5.0 (Linux) mirall/2.3.3 (Nextcloud)","version":"13.0.0.14"}
"user":"mannshoch","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Exception: {\"Exception\":\"Sabre\DAV\Exception\ServiceUnavailable\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 /nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php(76): OCA\DAV\Connector\Sabre\Directory->getChild('SHARE')\n#1 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(967): Sabre\DAV\Tree->getNodeForPath('files/mannshoch/FS...')\n#2 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1666): Sabre\DAV\Server->getPropertiesIteratorForPath('files/mannshoch/FS...', Array, 1)\n#3 /nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)\n#4 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#5 /nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)\n#7 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#8 /nextcloud/apps/dav/lib/Server.php(283): Sabre\DAV\Server->exec()\n#9 /nextcloud/apps/dav/appinfo/v2/remote.php(35): OCA\DAV\Server->exec()\n#10 /nextcloud/remote.php(164): require_once('/nextcloud...')\n#11 {main}\",\"File\":\"/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php\",\"Line\":216}","userAgent":"Mozilla/5.0 (Linux) mirall/2.3.3 (Nextcloud)","version":"13.0.0.14"}
"user":"--","app":"admin_audit","method":"REPORT","url":"/remote.php/dav/calendars/MS-windows/arbeit_shared_by_mannshoch/","message":"Login attempt: \"MS-windows\"","userAgent":"CalDavSynchronizer/3.0","version":"13.0.0.14"}
"user":"mannshoch","app":"files_external","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Sabre\HTTP\ClientHttpException: Unauthorized","userAgent":"Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)","version":"13.0.0.14"}
"user":"mannshoch","app":"files_external","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Unauthorized","userAgent":"Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)","version":"13.0.0.14"}
"user":"mannshoch","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Exception: {\"Exception\":\"OCP\Files\StorageInvalidException\",\"Message\":\"Sabre\HTTP\ClientHttpException: Unauthorized\",\"Code\":0,\"Trace\":\"#0 /nextcloud/lib/private/Files/Storage/DAV.php(279): OC\Files\Storage\DAV->convertException(Object(Sabre\HTTP\ClientHttpException), '')\n#1 /nextcloud/lib/private/Files/Storage/DAV.php(577): OC\Files\Storage\DAV->propfind('')\n#2 /nextcloud/lib/private/Files/Storage/Common.php(449): OC\Files\Storage\DAV->stat('')\n#3 /nextcloud/apps/files_sharing/lib/External/Storage.php(186): OC\Files\Storage\Common->test()\n#4 /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(471): OCA\Files_Sharing\External\Storage->test()\n#5 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(55): OC\Files\Storage\Wrapper\Wrapper->test()\n#6 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(69): OC\Files\Storage\Wrapper\Availability->updateAvailability()\n#7 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(78): OC\Files\Storage\Wrapper\Availability->isAvailable()\n#8 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(396): OC\Files\Storage\Wrapper\Availability->checkAvailability()\n#9 /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(378): OC\Files\Storage\Wrapper\Availability->hasUpdated('', 1497294194)\n#10 /nextcloud/lib/private/Files/Cache/Watcher.php(126): OC\Files\Storage\Wrapper\Wrapper->hasUpdated('', 1497294194)\n#11 /nextcloud/lib/private/Files/View.php(1330): OC\Files\Cache\Watcher->needsUpdate('', Object(OC\Files\Cache\CacheEntry))\n#12 /nextcloud/lib/private/Files/View.php(1371): OC\Files\View->getCacheEntry(Object(OCA\Files_Trashbin\Storage), '', '//SHARE')\n#13 /nextcloud/apps/dav/lib/Connector/Sabre/Directory.php(214): OC\Files\View->getFileInfo('/mannshoch/files/F...')\n#14 /nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php(76): OCA\DAV\Connector\Sabre\Directory->getChild('SHARE')\n#15 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(967): Sabre\DAV\Tree->getNodeForPath('files/mannshoch/FS...')\n#16 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1666): Sabre\DAV\Server->getPropertiesIteratorForPath('files/mannshoch/FS...', Array, 0)\n#17 /nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)\n#18 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#19 /nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#20 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)\n#21 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#22 /nextcloud/apps/dav/lib/Server.php(283): Sabre\DAV\Server->exec()\n#23 /nextcloud/apps/dav/appinfo/v2/remote.php(35): OCA\DAV\Server->exec()\n#24 /nextcloud/remote.php(164): require_once('/nextcloud...')\n#25 {main}\",\"File\":\"/nextcloud/lib/private/Files/Storage/DAV.php\",\"Line\":841}","userAgent":"Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)","version":"13.0.0.14"}
"user":"mannshoch","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Exception: {\"Exception\":\"Sabre\HTTP\ClientHttpException\",\"Message\":\"Unauthorized\",\"Code\":401,\"Trace\":\"#0 /nextcloud/3rdparty/sabre/dav/lib/DAV/Client.php(231): Sabre\HTTP\Client->send(Object(Sabre\HTTP\Request))\n#1 /nextcloud/lib/private/Files/Storage/DAV.php(263): Sabre\DAV\Client->propFind('https://ownclou...', Array)\n#2 /nextcloud/lib/private/Files/Storage/DAV.php(577): OC\Files\Storage\DAV->propfind('')\n#3 /nextcloud/lib/private/Files/Storage/Common.php(449): OC\Files\Storage\DAV->stat('')\n#4 /nextcloud/apps/files_sharing/lib/External/Storage.php(186): OC\Files\Storage\Common->test()\n#5 /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(471): OCA\Files_Sharing\External\Storage->test()\n#6 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(55): OC\Files\Storage\Wrapper\Wrapper->test()\n#7 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(69): OC\Files\Storage\Wrapper\Availability->updateAvailability()\n#8 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(78): OC\Files\Storage\Wrapper\Availability->isAvailable()\n#9 /nextcloud/lib/private/Files/Storage/Wrapper/Availability.php(396): OC\Files\Storage\Wrapper\Availability->checkAvailability()\n#10 /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(378): OC\Files\Storage\Wrapper\Availability->hasUpdated('', 1497294194)\n#11 /nextcloud/lib/private/Files/Cache/Watcher.php(126): OC\Files\Storage\Wrapper\Wrapper->hasUpdated('', 1497294194)\n#12 /nextcloud/lib/private/Files/View.php(1330): OC\Files\Cache\Watcher->needsUpdate('', Object(OC\Files\Cache\CacheEntry))\n#13 /nextcloud/lib/private/Files/View.php(1371): OC\Files\View->getCacheEntry(Object(OCA\Files_Trashbin\Storage), '', '//SHARE')\n#14 /nextcloud/apps/dav/lib/Connector/Sabre/Directory.php(214): OC\Files\View->getFileInfo('/mannshoch/files/F...')\n#15 /nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php(76): OCA\DAV\Connector\Sabre\Directory->getChild('SHARE')\n#16 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(967): Sabre\DAV\Tree->getNodeForPath('files/mannshoch/FS...')\n#17 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1666): Sabre\DAV\Server->getPropertiesIteratorForPath('files/mannshoch/FS...', Array, 0)\n#18 /nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)\n#19 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#20 /nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#21 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)\n#22 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#23 /nextcloud/apps/dav/lib/Server.php(283): Sabre\DAV\Server->exec()\n#24 /nextcloud/apps/dav/appinfo/v2/remote.php(35): OCA\DAV\Server->exec()\n#25 /nextcloud/remote.php(164): require_once('/nextcloud...')\n#26 {main}\",\"File\":\"/nextcloud/3rdparty/sabre/http/lib/Client.php\",\"Line\":160}","userAgent":"Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)","version":"13.0.0.14"}
"user":"mannshoch","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Exception: {\"Exception\":\"Sabre\DAV\Exception\ServiceUnavailable\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 /nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php(76): OCA\DAV\Connector\Sabre\Directory->getChild('SHARE')\n#1 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(967): Sabre\DAV\Tree->getNodeForPath('files/mannshoch/FS...')\n#2 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1666): Sabre\DAV\Server->getPropertiesIteratorForPath('files/mannshoch/FS...', Array, 0)\n#3 /nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)\n#4 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#5 /nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)\n#7 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#8 /nextcloud/apps/dav/lib/Server.php(283): Sabre\DAV\Server->exec()\n#9 /nextcloud/apps/dav/appinfo/v2/remote.php(35): OCA\DAV\Server->exec()\n#10 /nextcloud/remote.php(164): require_once('/nextcloud...')\n#11 {main}\",\"File\":\"/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php\",\"Line\":216}","userAgent":"Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)","version":"13.0.0.14"}
"user":"mannshoch","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/files/mannshoch/SHARE","message":"Exception: {\"Exception\":\"Sabre\DAV\Exception\ServiceUnavailable\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 /nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php(76): OCA\DAV\Connector\Sabre\Directory->getChild('SHARE')\n#1 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(967): Sabre\DAV\Tree->getNodeForPath('files/mannshoch/FS...')\n#2 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1666): Sabre\DAV\Server->getPropertiesIteratorForPath('files/mannshoch/FS...', Array, 1)\n#3 /nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)\n#4 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#5 /nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)\n#7 /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#8 /nextcloud/apps/dav/lib/Server.php(283): Sabre\DAV\Server->exec()\n#9 /nextcloud/apps/dav/appinfo/v2/remote.php(35): OCA\DAV\Server->exec()\n#10 /nextcloud/remote.php(164): require_once('/nextcloud...')\n#11 {main}\",\"File\":\"/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php\",\"Line\":216}","userAgent":"Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)","version":"13.0.0.14"}
@tflidd
Copy link
Contributor

tflidd commented Mar 2, 2018

There are some information missing, like the version you are using, cf. https://github.com/nextcloud/server/blob/master/issue_template.md

@Mannshoch
Copy link
Author

My thanks goes to the nextcloud app issuetemplate

Server configuration detail

Operating system: Linux 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan 4 01:06:37 UTC 2018 x86_64

Webserver: Apache (fpm-fcgi)

Database: mysql 10.1.31

PHP version: 7.1.14
Modules loaded: Core, date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, Reflection, session, standard, SimpleXML, sockets, mbstring, tokenizer, xml, cgi-fcgi, mysqlnd, bcmath, curl, dba, dom, fileinfo, gd, imagick, imap, intl, json, exif, mcrypt, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_sqlite, Phar, posix, pspell, soap, sqlite3, sysvmsg, sysvsem, sysvshm, xmlreader, xmlrpc, xmlwriter, xsl, zip, ionCube Loader, Zend OPcache

Nextcloud version: 13.0.0 - 13.0.0.14

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

Where did you install Nextcloud from: nextcloud.com zip-file

Signing status

Array

List of activated apps
Enabled:
 - admin_audit: 1.3.0
 - apporder: 0.4.1
 - audioplayer: 2.2.5
 - bruteforcesettings: 1.0.3
 - calendar: 1.6.0
 - comments: 1.3.0
 - contacts: 2.1.1
 - dav: 1.4.6
 - federatedfilesharing: 1.3.1
 - federation: 1.3.0
 - files: 1.8.0
 - files_external: 1.4.1
 - files_markdown: 2.0.4
 - files_pdfviewer: 1.2.0
 - files_sharing: 1.5.0
 - files_texteditor: 2.5.1
 - files_trashbin: 1.3.0
 - files_versions: 1.6.0
 - files_videoplayer: 1.2.0
 - firstrunwizard: 2.2.1
 - gallery: 18.0.0
 - gpxpod: 2.2.2
 - issuetemplate: 0.3.0
 - logreader: 2.0.0
 - lookup_server_connector: 1.1.0
 - mail: 0.7.10
 - nextcloud_announcements: 1.2.0
 - notes: 2.3.2
 - notifications: 2.1.2
 - oauth2: 1.1.0
 - password_policy: 1.3.0
 - piwik: 0.3.2
 - provisioning_api: 1.3.0
 - serverinfo: 1.3.0
 - sharebymail: 1.3.0
 - spreed: 3.1.0
 - survey_client: 1.1.0
 - systemtags: 1.3.0
 - tasks: 0.9.6
 - theming: 1.4.1
 - twofactor_backupcodes: 1.2.3
 - updatenotification: 1.3.0
 - workflowengine: 1.3.0
Disabled:
 - activity
 - deck
 - encryption
 - external
 - gpxedit
 - gpxmotion
 - user_external
 - user_ldap

Configuration (config/config.php)
{
    "maintenance": false,
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "default_language": "de",
    "knowledgebaseenabled": true,
    "enable_avatars": true,
    "theme": "",
    "allow_user_to_change_display_name": true,
    "remember_login_cookie_lifetime": 1296000,
    "session_lifetime": 86400,
    "session_keepalive": true,
    "token_auth_enforced": false,
    "auth.bruteforce.protection.enabled": true,
    "mail_smtpdebug": false,
    "htaccess.RewriteBase": "\/",
    "trashbin_retention_obligation": "300,auto",
    "versions_retention_obligation": "90, auto",
    "appcodechecker": true,
    "updatechecker": true,
    "updater.server.url": "https:\/\/updates.nextcloud.com\/updater_server\/",
    "updater.release.channel": "stable",
    "has_internet_connection": true,
    "appstoreenabled": true,
    "enable_previews": true,
    "preview_max_x": 2048,
    "preview_max_y": 2048,
    "preview_max_scale_factor": 10,
    "preview_max_filesize_image": 2,
    "check_for_working_webdav": true,
    "check_for_working_wellknown_setup": true,
    "check_for_working_htaccess": true,
    "config_is_read_only": false,
    "version": "13.0.0.14",
    "dbtype": "mysql",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "loglevel": 0,
    "logdateformat": "Y.m.d, H:i:s",
    "logtimezone": "Europe\/Berlin",
    "log_query": false,
    "cron_log": true,
    "secret": "***REMOVED SENSITIVE VALUE***",
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
}

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

Are you using encryption: no

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

@tflidd tflidd removed the needs info label Mar 4, 2018
@tflidd
Copy link
Contributor

tflidd commented Mar 4, 2018

There is already an issue about the piwik-app and this array_flip error:
#5179
Could be completely unrelated.

@rullzer @schiessle

@Mannshoch
Copy link
Author

I deaktivated Piwik but it does not help. Im still not able to remove this share.

@rullzer
Copy link
Member

rullzer commented Mar 9, 2018

Mmmm this is strange. For 2 reasons

  1. That error occurs in a place where you are not deleting a file but rather getting all the shares
  2. It says the storage is not available. I guess we should check for that as well

Can you see the share in the webui? Or can't you even press the unshare button?

@Mannshoch
Copy link
Author

Hi

  1. Yes i'm able to see the share in Frontend,
  2. I could Click on it. "Storage currently not available"
  3. I could Click unshare 'Error Removing "DIRNAME" '

@flipflopsimsommer
Copy link

any solutions?
i'm using Nextcloud 12.0.6 (docker), a 3 year old share showed up again (i removed the share 3 years ago).
it has the same errors as OP. a simple occ files:scan did not help.

@flipflopsimsommer
Copy link

i deleted the row in the table oc_share, now the client can sync again.

@Mannshoch
Copy link
Author

I would prefer a solution without editing Database table. beside I'm not able to use occ.
I have SSH access but I was not able to find a way to use occ.

@Mannshoch
Copy link
Author

@flipflopsimsommer what do I have to do in the database? I'll try it.

@tflidd tflidd changed the title Could not delet old share Could not delete old share Apr 24, 2018
@flipflopsimsommer
Copy link

@Mannshoch does you folder still exists? in my case it did not exist on the hd. the only referenze i could locate was the database table oc_share.

anyway:

select  * from oc_share where file_target = "/NameOfShare";
/*make shure it's the right one!*/
delete from oc_share where id = <ID>;

@Mannshoch
Copy link
Author

Den share fand ich unter oc_share_external. Habe diesen gelöscht, Das Problem scheint damit behoben.
Danke @flipflopsimsommer

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jun 20, 2018
@nextcloud-bot
Copy link
Member

Hey, this issue has been closed because the label stale is set and there were no updates for 14 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants