Open xuancaowu opened 2 years ago
Because Nextcloud is installed by Docker, the folder is mapped through Container, so unpacking in that folder will cause the above problem, while setting the folder under the Nextcloud absolute path "/data" as Nextcloud's external storage will not cause the above problem.
while setting the folder under the Nextcloud absolute path "Nextcloud/" as Nextcloud's external storage will not cause the above problem.
When I decompress a file in the local external storage, the decompressed file goes to Deleted files.![捕获](https://user-images.githubusercontent.com/37800918/160396842-696d8315-ff82-4e53-b654-937202a56efe.JPG)
{"reqId":"QJpvtFBWDPk6NyKDBSv2","level":3,"time":"2022-03-28T11:38:06+00:00","remoteAddr":"192.168.0.5","user":"admin","app":"PHP","method":"POST","url":"/index.php/apps/extract/ajax/extract.php","message":"rename(//data/admin/files/extract_tmp/test,//downloads/test): Cross-device link at /config/www/nextcloud/lib/private/Files/Storage/Local.php#347","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36","version":"23.0.3.2","exception":{"Exception":"Error","Message":"rename(//data/admin/files/extract_tmp/test,//downloads/test): Cross-device link at /config/www/nextcloud/lib/private/Files/Storage/Local.php#347","Code":0,"Trace":[{"function":"onError","class":"OC\Log\ErrorHandler","type":"::"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Local.php","line":347,"function":"rename"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Local.php","line":566,"function":"rename","class":"OC\Files\Storage\Local","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":595,"function":"moveFromStorage","class":"OC\Files\Storage\Local","type":"->"},{"file":"/config/www/nextcloud/apps/files_trashbin/lib/Storage.php","line":239,"function":"moveFromStorage","class":"OC\Files\Storage\Wrapper\Wrapper","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/View.php","line":832,"function":"moveFromStorage","class":"OCA\Files_Trashbin\Storage","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Filesystem.php","line":700,"function":"rename","class":"OC\Files\View","type":"->"},{"file":"/config/www/nextcloud/apps/extract/lib/Controller/ExtractionController.php","line":169,"function":"rename","class":"OC\Files\Filesystem","type":"::"},{"file":"/config/www/nextcloud/apps/extract/lib/Controller/ExtractionController.php","line":104,"function":"postExtract","class":"OCA\Extract\Controller\ExtractionController","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"extract","class":"OCA\Extract\Controller\ExtractionController","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1006,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/config/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"6241a723a3cc6"}