nextcloud/server · error · Sabre\DAV\Exception
'Failed to get fileinfo for ' . $this->path
Error message
'Failed to get fileinfo for ' . $this->path
What it means
Error "'Failed to get fileinfo for ' . $this->path" thrown in nextcloud/server.
Source
Thrown at apps/dav/lib/Connector/Sabre/Node.php:90
// The Node API assumes that the view passed doesn't have a fake root
$rootView = Server::get(View::class);
$root = Server::get(IRootFolder::class);
if ($info->getType() === FileInfo::TYPE_FOLDER) {
$this->node = new Folder($root, $rootView, $this->fileView->getAbsolutePath($this->path), $info);
} else {
$this->node = new File($root, $rootView, $this->fileView->getAbsolutePath($this->path), $info);
}
}
}
/**
* @throws Exception
* @throws PreConditionNotMetException
*/
protected function refreshInfo(): void {
$info = $this->fileView->getFileInfo($this->path);
if ($info === false) {
throw new Exception('Failed to get fileinfo for ' . $this->path);
}
$this->info = $info;
$root = Server::get(IRootFolder::class);
$rootView = Server::get(View::class);
if ($this->info->getType() === FileInfo::TYPE_FOLDER) {
$this->node = new Folder($root, $rootView, $this->path, $this->info);
} else {
$this->node = new File($root, $rootView, $this->path, $this->info);
}
}
/**
* Returns the name of the node
*/
#[\Override]
public function getName(): string {
return $this->info->getName();View on GitHub (pinned to ecdeb153ff)
When it happens
Trigger: Thrown at apps/dav/lib/Connector/Sabre/Node.php:90 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of nextcloud/server@ecdeb153ff (2026-08-17).
Data as JSON: /api/errors/a0ca7e9fd70c12f9.
Report an issue: GitHub.