NotFoundException: /appdata_ocskaslh18ap/drawio/previews
solracsf opened this issue · 1 comments
solracsf commented
Error logged at nextcloud.log file
After verification, drawio
folder doesn't exist on appdata_ocskaslh18ap
folder (on disk)
{
"reqId": "x6A09dEaexoF0cnW80wU",
"level": 3,
"time": "2023-01-09T18:13:24+01:00",
"app": "drawio",
"method": "DELETE",
"url": "/remote.php/dav/files/bmertz/Deck/***REDACTED***",
"message": "Can't delete preview for file: /bmertz/files/Deck/***REDACTED***",
"userAgent": "Mozilla/5.0 (Windows) mirall/3.6.4stable-Win64 (build 20221208) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)",
"version": "24.0.8.2",
"exception": {
"Exception": "OCP\\Files\\NotFoundException",
"Message": "/appdata_ocskaslh18ap/drawio/previews",
"Code": 0,
"Trace": [
{
"function": "get",
"class": "OC\\Files\\Node\\Root",
"type": "->",
"args": [
"/appdata_ocskaslh18ap/drawio/previews"
]
},
{
"file": "/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php",
"line": 72,
"function": "call_user_func_array",
"args": [
[
{
"__class__": "OC\\Files\\Node\\Root"
},
"get"
],
[
"appdata_ocskaslh18ap/drawio/previews"
]
]
},
{
"file": "/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php",
"line": 149,
"function": "__call",
"class": "OC\\Files\\Node\\LazyFolder",
"type": "->",
"args": [
"get",
[
"appdata_ocskaslh18ap/drawio/previews"
]
]
},
{
"file": "/var/www/nextcloud/lib/private/Files/AppData/AppData.php",
"line": 141,
"function": "get",
"class": "OC\\Files\\Node\\LazyFolder",
"type": "->",
"args": [
"appdata_ocskaslh18ap/drawio/previews"
]
},
{
"file": "/var/www/nextcloud/apps/drawio/lib/Listeners/FileDeleteListener.php",
"line": 39,
"function": "getFolder",
"class": "OC\\Files\\AppData\\AppData",
"type": "->",
"args": [
"previews"
]
},
{
"file": "/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php",
"line": 87,
"function": "handle",
"class": "OCA\\Drawio\\Listeners\\FileDeleteListener",
"type": "->",
"args": [
{
"__class__": "OCP\\Files\\Events\\Node\\NodeDeletedEvent"
}
]
},
{
"file": "/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
"line": 251,
"function": "__invoke",
"class": "OC\\EventDispatcher\\ServiceEventListener",
"type": "->",
"args": [
{
"__class__": "OCP\\Files\\Events\\Node\\NodeDeletedEvent"
},
"OCP\\Files\\Events\\Node\\NodeDeletedEvent",
{
"__class__": "Symfony\\Component\\EventDispatcher\\EventDispatcher"
}
]
},
{
"file": "/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
"line": 73,
"function": "callListeners",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
[
{
"__class__": "Closure"
},
{
"__class__": "Closure"
}
],
"OCP\\Files\\Events\\Node\\NodeDeletedEvent",
{
"__class__": "OCP\\Files\\Events\\Node\\NodeDeletedEvent"
}
]
},
{
"file": "/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
"line": 88,
"function": "dispatch",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
{
"__class__": "OCP\\Files\\Events\\Node\\NodeDeletedEvent"
},
"OCP\\Files\\Events\\Node\\NodeDeletedEvent"
]
},
{
"file": "/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
"line": 100,
"function": "dispatch",
"class": "OC\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
"OCP\\Files\\Events\\Node\\NodeDeletedEvent",
{
"__class__": "OCP\\Files\\Events\\Node\\NodeDeletedEvent"
}
]
},
{
"file": "/var/www/nextcloud/lib/private/Files/Node/HookConnector.php",
"line": 156,
"function": "dispatchTyped",
"class": "OC\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
{
"__class__": "OCP\\Files\\Events\\Node\\NodeDeletedEvent"
}
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_Hook.php",
"line": 106,
"function": "postDelete",
"class": "OC\\Files\\Node\\HookConnector",
"type": "->",
"args": [
[
true,
"/Deck/***REDACTED***"
]
]
},
{
"file": "/var/www/nextcloud/lib/private/Files/View.php",
"line": 1300,
"function": "emit",
"class": "OC_Hook",
"type": "::",
"args": [
"OC_Filesystem",
"post_delete",
[
true,
"/Deck/***REDACTED***"
]
]
},
{
"file": "/var/www/nextcloud/lib/private/Files/View.php",
"line": 1228,
"function": "runHooks",
"class": "OC\\Files\\View",
"type": "->",
"args": [
[
"delete"
],
"/Deck/***REDACTED***",
true
]
},
{
"file": "/var/www/nextcloud/lib/private/Files/View.php",
"line": 733,
"function": "basicOperation",
"class": "OC\\Files\\View",
"type": "->",
"args": [
"unlink",
"/Deck/***REDACTED***",
[
"delete"
]
]
},
{
"file": "/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php",
"line": 523,
"function": "unlink",
"class": "OC\\Files\\View",
"type": "->",
"args": [
"/Deck/***REDACTED***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php",
"line": 179,
"function": "delete",
"class": "OCA\\DAV\\Connector\\Sabre\\File",
"type": "->",
"args": []
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
"line": 281,
"function": "delete",
"class": "Sabre\\DAV\\Tree",
"type": "->",
"args": [
"files/bmertz/Deck/***REDACTED***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "httpDelete",
"class": "Sabre\\DAV\\CorePlugin",
"type": "->",
"args": [
{
"__class__": "Sabre\\HTTP\\Request"
},
{
"__class__": "Sabre\\HTTP\\Response"
}
]
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 472,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": [
"method:DELETE",
[
{
"__class__": "Sabre\\HTTP\\Request"
},
{
"__class__": "Sabre\\HTTP\\Response"
}
]
]
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 253,
"function": "invokeMethod",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": [
{
"__class__": "Sabre\\HTTP\\Request"
},
{
"__class__": "Sabre\\HTTP\\Response"
}
]
},
{
"file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 321,
"function": "start",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": []
},
{
"file": "/var/www/nextcloud/apps/dav/lib/Server.php",
"line": 358,
"function": "exec",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": []
},
{
"file": "/var/www/nextcloud/apps/dav/appinfo/v2/remote.php",
"line": 35,
"function": "exec",
"class": "OCA\\DAV\\Server",
"type": "->",
"args": []
},
{
"file": "/var/www/nextcloud/remote.php",
"line": 170,
"args": [
"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"
],
"function": "require_once"
}
],
"File": "/var/www/nextcloud/lib/private/Files/Node/Root.php",
"Line": 209,
"message": "Can't delete preview for file: /bmertz/files/Deck/***REDACTED***.jpg",
"CustomMessage": "Can't delete preview for file: /bmertz/files/Deck/***REDACTED***.jpg"
},
"id": "63bc8c0c086f2"
}