Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
szaimen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Resolved. It was the Music app that was creating the error.
Here is the error I get when attempting to delete a folder. I can change its name. I get the feeling that one of my apps is interacting oddly with the directory manager, as has happened in the past. The folder is named "Zdelete". v6.2.1
[webdav]
Error: TypeError: OC\Files\Cache\QuerySearchHelper::getCachesAndMountPointsForSearch(): Argument #1 ($root) must be of type OC\Files\Node\Root, OC\Files\Node\LazyRoot given, called in /var/www/html/lib/private/Files/Node/Folder.php on line 237 at <>
OC\Files\Cache\QuerySearchHelper->getCachesAndMountPointsForSearch(["OC\Files\Node\LazyRoot"], "/bruce/files/Zdelete", false)
OC\Files\Node\Folder->search(["OC\Files\Search\SearchQuery"])
OC\Files\Node\Folder->searchByMime("audio")
OCA\Music\Utility\Scanner->deleteFolder(["OC\Files\Node\Folder"])
OCA\Music\Hooks\FileHooks::deleted(["OC\Files\Node\Folder"])
call_user_func_array(["OCA\Music\Ho ... "], [["OC\Files\Node\Folder"]])
OC\Hooks\BasicEmitter->emit("\OC\Files", "preDelete", [["OC\Files\Node\Folder"]])
OC\Hooks\PublicEmitter->emit("\OC\Files", "preDelete", [["OC\Files\Node\Folder"]])
OC\Files\Node\Root->emit("\OC\Files", "preDelete", [["OC\Files\Node\Folder"]])
call_user_func_array([["OC\Files\Node\Root"],"emit"], ["\OC\Files"," ... ]])
OC\Files\Node\LazyFolder->__call("emit", ["\OC\Files"," ... ]])
OC\Files\Node\LazyFolder->emit("\OC\Files", "preDelete", [["OC\Files\Node\Folder"]])
OC\Files\Node\HookConnector->delete([true,"/Zdelete"])
OC_Hook::emit("OC_Filesystem", "delete", [true,"/Zdelete"])
OC\Files\View->runHooks(["delete"], "/Zdelete")
OC\Files\View->basicOperation("rmdir", "/Zdelete", ["delete"])
OC\Files\View->rmdir("/Zdelete")
OCA\DAV\Connector\Sabre\Directory->delete()
Sabre\DAV\Tree->delete("files/bruce/Zdelete")
Sabre\DAV\CorePlugin->httpDelete(["Sabre\HTTP\Request"], ["Sabre\HTTP\Response"])
Sabre\DAV\Server->emit("method:DELETE", [["Sabre\HTTP\ ... ]])
Sabre\DAV\Server->invokeMethod(["Sabre\HTTP\Request"], ["Sabre\HTTP\Response"])
Sabre\DAV\Server->start()
Sabre\DAV\Server->exec()
OCA\DAV\Server->exec()
require_once("/var/www/html/a ... p")
DELETE /remote.php/dav/files/bruce/Zdelete
from 192.168.0.1 by bruce at 2023-07-21T04:28:27+00:00
Any ideas what app I might disable to delete this folder?
Beta Was this translation helpful? Give feedback.
All reactions