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
share a folder located under a local location mounted using files_external
using the share link, on another browser or computer, make some files and folder operations (upload, creation, delete)
it happens on one out of 10 operations, approximately
This happens only under these conditions :
while using a share link, as an external user
the share link points to a folder located on a docker volume
this docker volume is locally mounted with files_external
Expected behaviour
No error is shown
Actual behaviour
On screen : an error message appears "could not remove file ttt", then a page refresh shows expected results (that the file has been actually removed)
In nextcloud.log :
{"reqId":"hVBBG4y7Dep8VNlKqjVJ","level":3,"time":"2020-06-22T12:45:25+00:00","remoteAddr":"185.71.13.50","user":"--","app":"PHP","method":"DELETE","url":"/public.php/webdav/ttt","message":"rename(): The first argument to copy() function cannot be a directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"19.0.0.12"} {"reqId":"hVBBG4y7Dep8VNlKqjVJ","level":3,"time":"2020-06-22T12:45:25+00:00","remoteAddr":"185.71.13.50","user":"--","app":"PHP","method":"DELETE","url":"/public.php/webdav/ttt","message":"rename(//var/local/data/files/Direction/ttt,//var/www/html/data/adm4next/files_trashbin/files/ttt.d1592829925): Invalid cross-device link at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"19.0.0.12"}
Server configuration detail
Operating system: Linux 5.3.0-55-generic #49-Ubuntu SMP Thu May 21 12:47:19 UTC 2020 x86_64
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: no
Client configuration
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
Operating system: Ubunto 20.04 desktop
Logs
Web server error log
Nextcloud log
{"reqId":"hVBBG4y7Dep8VNlKqjVJ","level":3,"time":"2020-06-22T12:45:25+00:00","remoteAddr":"185.71.13.50","user":"--","app":"PHP","method":"DELETE","url":"/public.php/webdav/ttt","message":"rename(): The first argument to copy() function cannot be a directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"19.0.0.12"}
{"reqId":"hVBBG4y7Dep8VNlKqjVJ","level":3,"time":"2020-06-22T12:45:25+00:00","remoteAddr":"185.71.13.50","user":"--","app":"PHP","method":"DELETE","url":"/public.php/webdav/ttt","message":"rename(//var/local/data/files/Direction/ttt,//var/www/html/data/adm4next/files_trashbin/files/ttt.d1592829925): Invalid cross-device link at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"19.0.0.12"}
Browser log
The text was updated successfully, but these errors were encountered:
Nope, sorry.
We try now to avoid files_external folders as much as possible.
We're still looking for the most appropriate way to share he same data with two different systems (Nextcloud and Samba).
Steps to reproduce
This happens only under these conditions :
Expected behaviour
No error is shown
Actual behaviour
On screen : an error message appears "could not remove file ttt", then a page refresh shows expected results (that the file has been actually removed)
In nextcloud.log :
{"reqId":"hVBBG4y7Dep8VNlKqjVJ","level":3,"time":"2020-06-22T12:45:25+00:00","remoteAddr":"185.71.13.50","user":"--","app":"PHP","method":"DELETE","url":"/public.php/webdav/ttt","message":"rename(): The first argument to copy() function cannot be a directory at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"19.0.0.12"} {"reqId":"hVBBG4y7Dep8VNlKqjVJ","level":3,"time":"2020-06-22T12:45:25+00:00","remoteAddr":"185.71.13.50","user":"--","app":"PHP","method":"DELETE","url":"/public.php/webdav/ttt","message":"rename(//var/local/data/files/Direction/ttt,//var/www/html/data/adm4next/files_trashbin/files/ttt.d1592829925): Invalid cross-device link at /var/www/html/lib/private/Files/Storage/Local.php#339","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"19.0.0.12"}
Server configuration detail
Operating system: Linux 5.3.0-55-generic #49-Ubuntu SMP Thu May 21 12:47:19 UTC 2020 x86_64
Webserver: Apache/2.4.38 (Debian) (apache2handler)
Database: mysql 10.4.12
PHP version:
7.4.7
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, session, posix, Reflection, standard, SimpleXML, pdo_sqlite, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, bcmath, exif, gd, gmp, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache
Nextcloud version: 19.0.0 - 19.0.0.12
Updated from an older Nextcloud/ownCloud or fresh install: fresh install
Where did you install Nextcloud from: official docker image nextcloud:19.0-apache
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: no
Client configuration
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
Operating system: Ubunto 20.04 desktop
Logs
Web server error log
Nextcloud log
Browser log
The text was updated successfully, but these errors were encountered: