You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file is deleted, but the request returns the error
[webdav] Fatal: Error: Call to a member function getId() on array at <>
and the DELETE request returns a 500 Server Error.
Server configuration detail
Operating system: Linux 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64
Webserver: nginx/1.18.0 (fpm-fcgi)
Database: pgsql PostgreSQL 12.1 (Debian 12.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
Are you using external storage, if yes which one: Local
Are you using encryption:
Are you using an external user-backend, if yes which one: Webdav/...
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
Operating system:
Logs
Web server error log
Nextcloud log
[webdav] Fatal: Error: Call to a member function getId() on array at <<closure>>
0. /opt/nextcloud/lib/private/Files/Cache/Wrapper/CacheWrapper.php line 180
OC\Files\Cache\Cache->remove("GGR.kdbx")
1. /opt/nextcloud/lib/private/Files/Cache/Wrapper/CacheWrapper.php line 180
OC\Files\Cache\Wrapper\CacheWrapper->remove("GGR.kdbx")
2. /opt/nextcloud/lib/private/Files/Cache/Updater.php line 160
OC\Files\Cache\Wrapper\CacheWrapper->remove("GGR.kdbx")
3. /opt/nextcloud/lib/private/Files/View.php line 329
OC\Files\Cache\Updater->remove("GGR.kdbx")
4. /opt/nextcloud/lib/private/Files/View.php line 1173
OC\Files\View->removeUpdate(OCA\FilesAccessC ... }}, "GGR.kdbx")
5. /opt/nextcloud/lib/private/Files/View.php line 718
OC\Files\View->basicOperation("unlink", "/Keepass/GGR.kdbx", ["delete"])
6. /opt/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 458
OC\Files\View->unlink("/Keepass/GGR.kdbx")
7. /opt/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php line 183
OCA\DAV\Connector\Sabre\File->delete()
8. /opt/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 295
Sabre\DAV\Tree->delete("files/MB/Keepass/GGR.kdbx")
9. /opt/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->httpDelete(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
10. /opt/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 474
Sabre\DAV\Server->emit("method:DELETE", [Sabre\HTTP\Requ ... }])
11. /opt/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 251
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
12. /opt/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 319
Sabre\DAV\Server->start()
13. /opt/nextcloud/apps/dav/lib/Server.php line 320
Sabre\DAV\Server->exec()
14. /opt/nextcloud/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
15. /opt/nextcloud/remote.php line 167
require_once("/opt/nextcloud/ ... p")
DELETE /remote.php/dav/files/MB/Keepass/GGR.kdbx
from 89.12.70.209 by MB at 2020-09-12T09:51:42+00:00
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Error</s:exception>
<s:message>Call to a member function getId() on array</s:message>
</d:error>
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Try to remove a file from a folder on an external storage
Maybe caused by
#21983
Expected behaviour
The file should be moved to the trashbin
Actual behaviour
The file is deleted, but the request returns the error
[webdav] Fatal: Error: Call to a member function getId() on array at <>
and the DELETE request returns a 500 Server Error.
Server configuration detail
Operating system: Linux 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64
Webserver: nginx/1.18.0 (fpm-fcgi)
Database: pgsql PostgreSQL 12.1 (Debian 12.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
PHP version:
7.3.20
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, pdo_sqlite, session, posix, readline, Reflection, standard, SimpleXML, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, exif, gd, gmp, imagick, intl, ldap, mcrypt, memcached, mysqli, pcntl, pdo_mysql, pdo_pgsql, pgsql, redis, sodium, zip, Zend OPcache
Nextcloud version: 19.0.3 - 19.0.3.1
In 19.0.1 it still works.
In 19.0.3 it's broken
Updated from an older Nextcloud/ownCloud or fresh install: 19.0.1 - 19.0.1.1
Where did you install Nextcloud from: Docker container
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: Local
Are you using encryption:
Are you using an external user-backend, if yes which one: Webdav/...
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
Operating system:
Logs
Web server error log
Nextcloud log
Browser log
Request:
DELETE https://mycloudserver.com/remote.php/dav/files/MB/Keepass/GGR.kdbx
Answer:
[HTTP/1.1 500 Internal Server Error 286ms
Detail:
The text was updated successfully, but these errors were encountered: