The Basics
- Nextcloud Server version (e.g., 29.x.x):
33.0.0.16the official latest docker image- imageID: ‘Docker Hub Container Image Library | App Containerization’
- image: ‘Docker Hub Container Image Library | App Containerization’
- Operating system and version (e.g., Ubuntu 24.04):
OpenShift 4.21
- Reverse proxy and version _(e.g. nginx 1.27.2)
haproxy plugin in OPNSense, HAProxy version 3.2.11-dc3f9355c 2026/01/29
- PHP version (e.g, 8.3):
PHP 8.4.19 (cli) (built: Mar 12 2026 23:34:12) (NTS)
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
Yesterday after moving Nextcloud from truenas docker to OpenShift
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Container in kube
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
When I try delete a file, I get notification in Web gui: “Delete file: Failed” and browser gets error 500 from server.
There seems to be issues and support topics (closed) about this, but I see no resolution.
Steps to replicate it (hint: details matter!):
- Press delete for file
- get an error
Log entries
If done from command line:
www-data@nextcloud-8976cc4b-h2zk9:~/html$ php occ file:delete 787210
Delete /user/files/InstantUpload/Camera/IMG202XXX.jpg? [y/N] y
An unhandled exception has been thrown:
Error: Call to undefined method OC\DB\QueryBuilder\QueryBuilder::execute() in /var/www/html/custom_apps/maps/lib/Service/TracksService.php:461
Stack trace:
#0 /var/www/html/custom_apps/maps/lib/Service/TracksService.php(145): OCA\Maps\Service\TracksService->deleteByFileId(787210)
#1 /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php(70): OCA\Maps\Service\TracksService->deleteByFile(Object(OC\Files\Node\File))
#2 [internal function]: OCA\Maps\Hooks\FileHooks->{closure:OCA\Maps\Hooks\FileHooks::register():62}(Object(OC\Files\Node\File))
#3 /var/www/html/lib/private/Hooks/EmitterTrait.php(89): call_user_func_array(Object(Closure), Array)
#4 /var/www/html/lib/private/Hooks/PublicEmitter.php(23): OC\Hooks\BasicEmitter->emit('\\OC\\Files', 'preDelete', Array)
#5 /var/www/html/lib/private/Files/Node/Root.php(117): OC\Hooks\PublicEmitter->emit('\\OC\\Files', 'preDelete', Array)
#6 /var/www/html/lib/private/Files/Node/Node.php(110): OC\Files\Node\Root->emit('\\OC\\Files', 'preDelete', Array)
#7 /var/www/html/lib/private/Files/Node/File.php(110): OC\Files\Node\Node->sendHooks(Array)
#8 /var/www/html/apps/files/lib/Command/Delete.php(91): OC\Files\Node\File->delete()
#9 /var/www/html/3rdparty/symfony/console/Command/Command.php(326): OCA\Files\Command\Delete->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/3rdparty/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/3rdparty/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Files\Command\Delete), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/3rdparty/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/lib/private/Console/Application.php(187): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/console.php(92): OC\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#15 /var/www/html/occ(33): require_once('/var/www/html/c...')
#16 {main}www-data@nextcloud-8976cc4b-h2zk9:~/html$
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
{"reqId":"cmvprv6jFVQGZHSMDTg7","level":0,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"userX","app":"serverDI","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","scriptName":"/ocs/v2.php","message":"The requested alias \"OCP\\IServerContainer\" is deprecated. Please request \"Psr\\Container\\ContainerInterface\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":{"app":"serverDI"}}
{"reqId":"MAPMXMQAIfVY4HibyR39","level":0,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"--","app":"serverDI","method":"DELETE","url":"/remote.php/dav/files/userX/test.md","scriptName":"/remote.php","message":"The requested alias \"OCP\\IServerContainer\" is deprecated. Please request \"Psr\\Container\\ContainerInterface\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":{"app":"serverDI"}}
{"reqId":"MAPMXMQAIfVY4HibyR39","level":0,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"--","app":"serverDI","method":"DELETE","url":"/remote.php/dav/files/userX/test.md","scriptName":"/remote.php","message":"The requested alias \"OCP\\IServerContainer\" is deprecated. Please request \"Psr\\Container\\ContainerInterface\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":{"app":"serverDI"}}
{"reqId":"MAPMXMQAIfVY4HibyR39","level":0,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"--","app":"serverDI","method":"DELETE","url":"/remote.php/dav/files/userX/test.md","scriptName":"/remote.php","message":"The requested alias \"OCP\\IServerContainer\" is deprecated. Please request \"Psr\\Container\\ContainerInterface\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":{"app":"serverDI"}}
{"reqId":"MAPMXMQAIfVY4HibyR39","level":0,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"userX","app":"serverDI","method":"DELETE","url":"/remote.php/dav/files/userX/test.md","scriptName":"/remote.php","message":"The requested alias \"OCP\\IServerContainer\" is deprecated. Please request \"Psr\\Container\\ContainerInterface\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":{"app":"serverDI"}}
{"reqId":"MAPMXMQAIfVY4HibyR39","level":1,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"userX","app":"no app in context","method":"DELETE","url":"/remote.php/dav/files/userX/test.md","scriptName":"/remote.php","message":"The app config key dav/enableCalendarFederation is not defined in the config lexicon","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"MAPMXMQAIfVY4HibyR39","level":1,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"userX","app":"no app in context","method":"DELETE","url":"/remote.php/dav/files/userX/test.md","scriptName":"/remote.php","message":"The app config key files/watermark_enabled is not defined in the config lexicon","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"MAPMXMQAIfVY4HibyR39","level":0,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"userX","app":"serverDI","method":"DELETE","url":"/remote.php/dav/files/userX/test.md","scriptName":"/remote.php","message":"The requested alias \"OCP\\IServerContainer\" is deprecated. Please request \"Psr\\Container\\ContainerInterface\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":{"app":"serverDI"}}
{"reqId":"MAPMXMQAIfVY4HibyR39","level":1,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"userX","app":"no app in context","method":"DELETE","url":"/remote.php/dav/files/userX/test.md","scriptName":"/remote.php","message":"The app config key dav/sendInvitations is not defined in the config lexicon","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","data":[]}
{"reqId":"MAPMXMQAIfVY4HibyR39","level":3,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"userX","app":"webdav","method":"DELETE","url":"/remote.php/dav/files/userX/test.md","scriptName":"/remote.php","message":"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","exception":{"Exception":"Error","Message":"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/maps/lib/Service/TracksService.php","line":145,"function":"deleteByFileId","class":"OCA\\Maps\\Service\\TracksService","type":"->","args":[787281]},{"file":"/var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php","line":70,"function":"deleteByFile","class":"OCA\\Maps\\Service\\TracksService","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"{closure:OCA\\Maps\\Hooks\\FileHooks::register():62}","class":"OCA\\Maps\\Hooks\\FileHooks","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Hooks/EmitterTrait.php","line":89,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/Hooks/PublicEmitter.php","line":23,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/Files/Node/Root.php","line":117,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]},{"function":"emit","class":"OC\\Files\\Node\\Root","type":"->","args":["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":65,"function":"call_user_func_array","args":[[{"__class__":"OC\\Files\\Node\\Root"},"emit"],["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":93,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["emit",["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]]},{"file":"/var/www/html/lib/private/Files/Node/HookConnector.php","line":107,"function":"emit","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/legacy/OC_Hook.php","line":85,"function":"delete","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[{"run":true,"path":"/test.md"}]},{"file":"/var/www/html/lib/private/Files/View.php","line":1322,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","delete",{"run":true,"path":"/test.md"}]},{"file":"/var/www/html/lib/private/Files/View.php","line":1194,"function":"runHooks","class":"OC\\Files\\View","type":"->","args":[["delete"],"/test.md"]},{"file":"/var/www/html/lib/private/Files/View.php","line":676,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["unlink","/test.md",["delete"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":512,"function":"unlink","class":"OC\\Files\\View","type":"->","args":["/test.md"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":197,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->","args":["files/userX/test.md"]},{"file":"/var/www/html/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/html/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/html/apps/dav/lib/Connector/Sabre/Server.php","line":212,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":427,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":25,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":151,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/custom_apps/maps/lib/Service/TracksService.php","Line":461,"message":"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()","exception":"{\"class\":\"Error\",\"message\":\"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()\",\"code\":0,\"file\":\"/var/www/html/custom_apps/maps/lib/Service/TracksService.php:461\",\"trace\":\"#0 /var/www/html/custom_apps/maps/lib/Service/TracksService.php(145): OCA\\Maps\\Service\\TracksService->deleteByFileId(787281)\\n#1 /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php(70): OCA\\Maps\\Service\\TracksService->deleteByFile(Object(OC\\Files\\Node\\File))\\n#2 [internal function]: OCA\\Maps\\Hooks\\FileHooks->{closure:OCA\\Maps\\Hooks\\FileHooks::register():62}(Object(OC\\Files\\Node\\File))\\n#3 /var/www/html/lib/private/Hooks/EmitterTrait.php(89): call_user_func_array(Object(Closure), Array)\\n#4 /var/www/html/lib/private/Hooks/PublicEmitter.php(23): OC\\Hooks\\BasicEmitter->emit('\\\\OC\\\\Files', 'preDelete', Array)\\n#5 /var/www/html/lib/private/Files/Node/Root.php(117): OC\\Hooks\\PublicEmitter->emit('\\\\OC\\\\Files', 'preDelete', Array)\\n#6 [internal function]: OC\\Files\\Node\\Root->emit('\\\\OC\\\\Files', 'preDelete', Array)\\n#7 /var/www/html/lib/private/Files/Node/LazyFolder.php(65): call_user_func_array(Array, Array)\\n#8 /var/www/html/lib/private/Files/Node/LazyFolder.php(93): OC\\Files\\Node\\LazyFolder->__call('emit', Array)\\n#9 /var/www/html/lib/private/Files/Node/HookConnector.php(107): OC\\Files\\Node\\LazyFolder->emit('\\\\OC\\\\Files', 'preDelete', Array)\\n#10 /var/www/html/lib/private/legacy/OC_Hook.php(85): OC\\Files\\Node\\HookConnector->delete(Array)\\n#11 /var/www/html/lib/private/Files/View.php(1322): OC_Hook::emit('OC_Filesystem', 'delete', Array)\\n#12 /var/www/html/lib/private/Files/View.php(1194): OC\\Files\\View->runHooks(Array, '/test.md')\\n#13 /var/www/html/lib/private/Files/View.php(676): OC\\Files\\View->basicOperation('unlink', '/test.md', Array)\\n#14 /var/www/html/apps/dav/lib/Connector/Sabre/File.php(512): OC\\Files\\View->unlink('/test.md')\\n#15 /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php(197): OCA\\DAV\\Connector\\Sabre\\File->delete()\\n#16 /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(281): Sabre\\DAV\\Tree->delete('files/userX/test...')\\n#17 /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\\DAV\\CorePlugin->httpDelete(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#18 /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php(472): Sabre\\DAV\\Server->emit('method:DELETE', Array)\\n#19 /var/www/html/apps/dav/lib/Connector/Sabre/Server.php(212): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#20 /var/www/html/apps/dav/lib/Server.php(427): OCA\\DAV\\Connector\\Sabre\\Server->start()\\n#21 /var/www/html/apps/dav/appinfo/v2/remote.php(25): OCA\\DAV\\Server->exec()\\n#22 /var/www/html/remote.php(151): require_once('/var/www/html/a...')\\n#23 {main}\"}","CustomMessage":"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()"}}
{"reqId":"MAPMXMQAIfVY4HibyR39","level":3,"time":"2026-03-16T07:57:02+00:00","remoteAddr":"100.64.0.2","user":"userX","app":"no app in context","method":"DELETE","url":"/remote.php/dav/files/userX/test.md","scriptName":"/remote.php","message":"Uncaught exception","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"33.0.0.16","exception":{"Exception":"Error","Message":"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/maps/lib/Service/TracksService.php","line":145,"function":"deleteByFileId","class":"OCA\\Maps\\Service\\TracksService","type":"->","args":[787281]},{"file":"/var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php","line":70,"function":"deleteByFile","class":"OCA\\Maps\\Service\\TracksService","type":"->","args":["*** sensitive parameters replaced ***"]},{"function":"{closure:OCA\\Maps\\Hooks\\FileHooks::register():62}","class":"OCA\\Maps\\Hooks\\FileHooks","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Hooks/EmitterTrait.php","line":89,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/Hooks/PublicEmitter.php","line":23,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/Files/Node/Root.php","line":117,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]},{"function":"emit","class":"OC\\Files\\Node\\Root","type":"->","args":["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":65,"function":"call_user_func_array","args":[[{"__class__":"OC\\Files\\Node\\Root"},"emit"],["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":93,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["emit",["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]]},{"file":"/var/www/html/lib/private/Files/Node/HookConnector.php","line":107,"function":"emit","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["\\OC\\Files","preDelete",["*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/legacy/OC_Hook.php","line":85,"function":"delete","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[{"run":true,"path":"/test.md"}]},{"file":"/var/www/html/lib/private/Files/View.php","line":1322,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","delete",{"run":true,"path":"/test.md"}]},{"file":"/var/www/html/lib/private/Files/View.php","line":1194,"function":"runHooks","class":"OC\\Files\\View","type":"->","args":[["delete"],"/test.md"]},{"file":"/var/www/html/lib/private/Files/View.php","line":676,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["unlink","/test.md",["delete"]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":512,"function":"unlink","class":"OC\\Files\\View","type":"->","args":["/test.md"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":197,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->","args":["files/userX/test.md"]},{"file":"/var/www/html/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/html/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/html/apps/dav/lib/Connector/Sabre/Server.php","line":212,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":427,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":25,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":151,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/custom_apps/maps/lib/Service/TracksService.php","Line":461,"message":"Uncaught exception","exception":"{\"class\":\"Error\",\"message\":\"Call to undefined method OC\\DB\\QueryBuilder\\QueryBuilder::execute()\",\"code\":0,\"file\":\"/var/www/html/custom_apps/maps/lib/Service/TracksService.php:461\",\"trace\":\"#0 /var/www/html/custom_apps/maps/lib/Service/TracksService.php(145): OCA\\Maps\\Service\\TracksService->deleteByFileId(787281)\\n#1 /var/www/html/custom_apps/maps/lib/Hooks/FileHooks.php(70): OCA\\Maps\\Service\\TracksService->deleteByFile(Object(OC\\Files\\Node\\File))\\n#2 [internal function]: OCA\\Maps\\Hooks\\FileHooks->{closure:OCA\\Maps\\Hooks\\FileHooks::register():62}(Object(OC\\Files\\Node\\File))\\n#3 /var/www/html/lib/private/Hooks/EmitterTrait.php(89): call_user_func_array(Object(Closure), Array)\\n#4 /var/www/html/lib/private/Hooks/PublicEmitter.php(23): OC\\Hooks\\BasicEmitter->emit('\\\\OC\\\\Files', 'preDelete', Array)\\n#5 /var/www/html/lib/private/Files/Node/Root.php(117): OC\\Hooks\\PublicEmitter->emit('\\\\OC\\\\Files', 'preDelete', Array)\\n#6 [internal function]: OC\\Files\\Node\\Root->emit('\\\\OC\\\\Files', 'preDelete', Array)\\n#7 /var/www/html/lib/private/Files/Node/LazyFolder.php(65): call_user_func_array(Array, Array)\\n#8 /var/www/html/lib/private/Files/Node/LazyFolder.php(93): OC\\Files\\Node\\LazyFolder->__call('emit', Array)\\n#9 /var/www/html/lib/private/Files/Node/HookConnector.php(107): OC\\Files\\Node\\LazyFolder->emit('\\\\OC\\\\Files', 'preDelete', Array)\\n#10 /var/www/html/lib/private/legacy/OC_Hook.php(85): OC\\Files\\Node\\HookConnector->delete(Array)\\n#11 /var/www/html/lib/private/Files/View.php(1322): OC_Hook::emit('OC_Filesystem', 'delete', Array)\\n#12 /var/www/html/lib/private/Files/View.php(1194): OC\\Files\\View->runHooks(Array, '/test.md')\\n#13 /var/www/html/lib/private/Files/View.php(676): OC\\Files\\View->basicOperation('unlink', '/test.md', Array)\\n#14 /var/www/html/apps/dav/lib/Connector/Sabre/File.php(512): OC\\Files\\View->unlink('/test.md')\\n#15 /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php(197): OCA\\DAV\\Connector\\Sabre\\File->delete()\\n#16 /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(281): Sabre\\DAV\\Tree->delete('files/userX/test...')\\n#17 /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\\DAV\\CorePlugin->httpDelete(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#18 /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php(472): Sabre\\DAV\\Server->emit('method:DELETE', Array)\\n#19 /var/www/html/apps/dav/lib/Connector/Sabre/Server.php(212): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\\n#20 /var/www/html/apps/dav/lib/Server.php(427): OCA\\DAV\\Connector\\Sabre\\Server->start()\\n#21 /var/www/html/apps/dav/appinfo/v2/remote.php(25): OCA\\DAV\\Server->exec()\\n#22 /var/www/html/remote.php(151): require_once('/var/www/html/a...')\\n#23 {main}\"}","CustomMessage":"Uncaught exception"}}
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
network debug shows 500 server error
Web server / Reverse Proxy
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
www-data@nextcloud-8976cc4b:~/html$ php occ config:list system
{
"system": {
"debug": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "33.0.0.16",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"theme": "",
"maintenance": false,
"maintenance_window_start": 1,
"trusted_domains": [
"xxx.yyy",
"yyy.xxx"
],
"mail_smtpmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"secret": "***REMOVED SENSITIVE VALUE***",
"forcessl": false,
"loglevel": 0,
"trashbin_retention_obligation": "auto",
"htaccess.RewriteBase": "\/",
"appstore.experimental.enabled": true,
"overwrite.cli.url": "https:\/\/xxx.yyy",
"overwriteprotocol": "https",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"dbindex": 0,
"timeout": 1.5,
"read_timeout": 1.5,
"password": "***REMOVED SENSITIVE VALUE***"
},
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"mail_smtpauthtype": "PLAIN",
"app_install_overwrite": [
"mindmaps",
"keeweb",
"drawio",
"maps"
],
"mysql.utf8mb4": true,
"default_phone_region": "FI",
"mail_sendmailmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_smtpauth": true,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
}
}
Apps
The output of occ app:list (if possible).
www-data@nextcloud-8976cc4b:~/html$ php occ app:list
Enabled:
- activity: 6.0.0-dev.0
- admin_audit: 1.23.0
- app_api: 33.0.0
- calendar: 6.2.1
- cloud_federation_api: 1.17.0
- comments: 1.23.0
- contacts: 8.4.1
- contactsinteraction: 1.14.1
- dashboard: 7.13.0
- dav: 1.36.0
- deck: 1.17.0
- drawio: 4.2.3
- federatedfilesharing: 1.23.0
- federation: 1.23.0
- files: 2.5.0
- files_downloadlimit: 5.1.0-dev.0
- files_pdfviewer: 6.0.0-dev.0
- files_reminders: 1.6.0
- files_sharing: 1.25.2
- files_trashbin: 1.23.0
- files_versions: 1.26.0
- firstrunwizard: 6.0.0-dev.0
- keeweb: 0.6.22
- logreader: 6.0.0
- lookup_server_connector: 1.21.0
- mail: 5.7.3
- maps: 1.6.0
- nextcloud_announcements: 5.0.0
- notes: 4.13.0
- notifications: 6.0.0
- notify_push: 1.3.1
- oauth2: 1.21.0
- password_policy: 5.0.0-dev.0
- photos: 6.0.0-dev.0
- privacy: 5.0.0-dev.0
- profile: 1.2.0
- provisioning_api: 1.23.0
- recommendations: 6.0.0-dev.0
- related_resources: 4.0.0-dev.0
- richdocuments: 10.1.0
- serverinfo: 5.0.0-dev.0
- settings: 1.16.0
- sharebymail: 1.23.0
- spreed: 23.0.1
- support: 5.0.0
- survey_client: 5.0.0-dev.0
- systemtags: 1.23.0
- text: 7.0.0-dev.3
- theming: 2.8.0
- twofactor_backupcodes: 1.22.0
- twofactor_totp: 15.0.0-dev.0
- updatenotification: 1.23.0
- user_status: 1.13.0
- viewer: 6.0.0-dev.0
- weather_status: 1.13.0
- webhook_listeners: 1.5.0
- workflowengine: 2.15.0
Disabled:
- bruteforcesettings: 6.0.0-dev.0 (installed 2.4.0)
- circles: 33.0.0 (installed 22.1.0)
- encryption: 2.21.0
- files_external: 1.25.1
- files_markdown: 2.4.1 (installed 2.4.1)
- files_rightclick: 0.15.1 (installed 1.6.0)
- forms: 5.2.5 (installed 5.2.5)
- mindmaps: 0.1.0 (installed 0.1.0)
- socialsharing_email: 4.0.1 (installed 4.0.1)
- suspicious_login: 11.0.0-dev.0
- talk_matterbridge: 1.33.1026000 (installed 1.33.1026000)
- twofactor_nextcloud_notification: 7.0.0
- user_ldap: 1.24.0
Other info
- Related issues:
I also did the rescan and cleanup and some rebuild tree command mentioned in related discussions. No help.
Everything else seems to work, cronjobs, creating files, sync clients sync, collabora works.
