SMB share ISCSI

Good afternoon, ladies and gentlemen. I found the following error. When uploading files to a network ball connected to the nextcloud, the error number 504 is constantly displayed and the file is recorded in the * .part format
Log
{“reqId”:“xHSzoH8sAVPDGxVEho9W”,“level”:4,“time”:“2020-05-13T13:15:30+00:00”,“remoteAddr”:“192.168.80.40”,“user”:“i.buhtoyarov”,“app”:“webdav”,“method”:“MOVE”,“url”:"/remote.php/dav/uploads/i.buhtoyarov/web-file-upload-b68ece054e177a0e96a916c45709bfd7-1589374660741/.file",“message”:{“Exception”:“Icewind\SMB\Exception\FileInUseException”,“Message”:“Invalid request for /01%20-%20Symphony%20No.4%20In%20F%20Minor%2C%20Op.36-%201.%20Andante%20sostenuto%20-%20Moderato%20con%20anima%20-%20Moderato%20assai%2C%20quasi%20Andante%20-%20Allegro%20vivo.wav.ocTransferId1304434180.part (FileInUseException)”,“Code”:16,“Trace”:[{“file”:"/var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",“line”:66,“function”:“fromMap”,“class”:“Icewind\SMB\Exception\Exception”,“type”:"::",“args”:[{“1”:“Icewind\SMB\Exception\ForbiddenException”,“2”:“Icewind\SMB\Exception\NotFoundException”,“13”:“Icewind\SMB\Exception\ForbiddenException”,“16”:“Icewind\SMB\Exception\FileInUseException”,“17”:“Icewind\SMB\Exception\AlreadyExistsException”,“20”:“Icewind\SMB\Exception\InvalidTypeException”,“21”:“Icewind\SMB\Exception\InvalidTypeException”,“22”:“Icewind\SMB\Exception\InvalidArgumentException”,“28”:“Icewind\SMB\Exception\OutOfSpaceException”,“39”:“Icewind\SMB\Exception\NotEmptyException”,“103”:“Icewind\SMB\Exception\ConnectionAbortedException”,“104”:“Icewind\SMB\Exception\ConnectionResetException”,“110”:“Icewind\SMB\Exception\TimedOutException”,“111”:“Icewind\SMB\Exception\ConnectionRefusedException”,“112”:“Icewind\SMB\Exception\HostDownException”,“113”:“Icewind\SMB\Exception\NoRouteToHostException”},16,"/01%20-%20Symphony%20No.4%20In%20F%20Minor%2C%20Op.36-%201.%20Andante%20sostenuto%20-%20Moderato%20con%20anima%20-%20Moderato%20assai%2C%20quasi%20Andante%20-%20Allegro%20vivo.wav.ocTransferId1304434180.part"]},{“file”:"/var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",“line”:78,“function”:“handleError”,“class”:“Icewind\SMB\Native\NativeState”,“type”:"->",“args”:["/01%20-%20Symphony%20No.4%20In%20F%20Minor%2C%20Op.36-%201.%20Andante%20sostenuto%20-%20Moderato%20con%20anima%20-%20Moderato%20assai%2C%20quasi%20Andante%20-%20Allegro%20vivo.wav.ocTransferId1304434180.part"]},{“file”:"/var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php",“line”:154,“function”:“testResult”,“class”:“Icewind\SMB\Native\NativeState”,“type”:"->",“args”:[false,“smb://drfs1/documents$/01%20-%20Symphony%20No.4%20In%20F%20Minor%2C%20Op.36-%201.%20Andante%20sostenuto%20-%20Moderato%20con%20anima%20-%20Moderato%20assai%2C%20quasi%20Andante%20-%20Allegro%20vivo.wav.ocTransferId1304434180.part”]},{“file”:"/var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php",“line”:171,“function”:“unlink”,“class”:“Icewind\SMB\Native\NativeState”,“type”:"->",“args”:[“smb://drfs1/documents$/01%20-%20Symphony%20No.4%20In%20F%20Minor%2C%20Op.36-%201.%20Andante%20sostenuto%20-%20Moderato%20con%20anima%20-%20Moderato%20assai%2C%20quasi%20Andante%20-%20Allegro%20vivo.wav.ocTransferId1304434180.part”]},{“file”:"/var/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php",“line”:371,“function”:“del”,“class”:“Icewind\SMB\Native\NativeShare”,“type”:"->",“args”:["/01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part"]},{“file”:"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php",“line”:266,“function”:“unlink”,“class”:“OCA\Files_External\Lib\Storage\SMB”,“type”:"->",“args”:["/01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part"]},{“file”:"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/PermissionsMask.php",“line”:112,“function”:“unlink”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:"->",“args”:[“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part”]},{“file”:"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php",“line”:266,“function”:“unlink”,“class”:“OC\Files\Storage\Wrapper\PermissionsMask”,“type”:"->",“args”:[“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part”]},{“file”:"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/PermissionsMask.php",“line”:112,“function”:“unlink”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:"->",“args”:[“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part”]},{“file”:"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php",“line”:266,“function”:“unlink”,“class”:“OC\Files\Storage\Wrapper\PermissionsMask”,“type”:"->",“args”:[“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part”]},{“file”:"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php",“line”:284,“function”:“unlink”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:"->",“args”:[“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part”]},{“function”:“unlink”,“class”:“OC\Files\Storage\Wrapper\Availability”,“type”:"->",“args”:[“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part”]},{“file”:"/var/www/nextcloud/apps/files_trashbin/lib/Storage.php",“line”:184,“function”:“call_user_func”,“args”:[[{“cache”:null,“scanner”:null,“watcher”:null,“propagator”:null,“updater”:null,“class”:“OC\Files\Storage\Wrapper\Availability”},“unlink”],“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part”]},{“file”:"/var/www/nextcloud/apps/files_trashbin/lib/Storage.php",“line”:100,“function”:“doDelete”,“class”:“OCA\Files_Trashbin\Storage”,“type”:"->",“args”:[“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part”,“unlink”]},{“file”:"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php",“line”:242,“function”:“unlink”,“class”:“OCA\Files_Trashbin\Storage”,“type”:"->",“args”:[“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav.ocTransferId1304434180.part”]},{“file”:"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php",“line”:156,“function”:“put”,“class”:“OCA\DAV\Connector\Sabre\File”,“type”:"->",“args”:[null]},{“file”:"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php",“line”:316,“function”:“createFile”,“class”:“OCA\DAV\Connector\Sabre\Directory”,“type”:"->",“args”:[“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav”,null]},{“file”:"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php",“line”:130,“function”:“copyNode”,“class”:“Sabre\DAV\Tree”,“type”:"->",“args”:[{“class”:“OCA\DAV\Upload\FutureFile”},{“class”:“OCA\DAV\Connector\Sabre\Directory”},“01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav”]},{“file”:"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php",“line”:161,“function”:“copy”,“class”:“Sabre\DAV\Tree”,“type”:"->",“args”:[“uploads/i.buhtoyarov/web-file-upload-b68ece054e177a0e96a916c45709bfd7-1589374660741/.file”,“files/i.buhtoyarov/Тест_Панорама/01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav”]},{“file”:"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",“line”:642,“function”:“move”,“class”:“Sabre\DAV\Tree”,“type”:"->",“args”:[“uploads/i.buhtoyarov/web-file-upload-b68ece054e177a0e96a916c45709bfd7-1589374660741/.file”,“files/i.buhtoyarov/Тест_Панорама/01 - Symphony No.4 In F Minor, Op.36- 1. Andante sostenuto - Moderato con anima - Moderato assai, quasi Andante - Allegro vivo.wav”]},{“function”:“httpMove”,“class”:“Sabre\DAV\CorePlugin”,“type”:"->",“args”:[{“absoluteUrl”:“https://192.168.80.12/remote.php/dav/uploads/i.buhtoyarov/web-file-upload-b68ece054e177a0e96a916c45709bfd7-1589374660741/.file","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]},{“file”:"/var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php",“line”:105,“function”:“call_user_func_array”,“args”:[[{“class”:“Sabre\DAV\CorePlugin”},“httpMove”],[{“absoluteUrl”:“https://192.168.80.12/remote.php/dav/uploads/i.buhtoyarov/web-file-upload-b68ece054e177a0e96a916c45709bfd7-1589374660741/.file","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]]},{“file”:"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:479,“function”:“emit”,“class”:“Sabre\Event\EventEmitter”,“type”:"->",“args”:[“method:MOVE”,[{“absoluteUrl”:“https://192.168.80.12/remote.php/dav/uploads/i.buhtoyarov/web-file-upload-b68ece054e177a0e96a916c45709bfd7-1589374660741/.file","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]]},{“file”:"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:254,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[{“absoluteUrl”:“https://192.168.80.12/remote.php/dav/uploads/i.buhtoyarov/web-file-upload-b68ece054e177a0e96a916c45709bfd7-1589374660741/.file","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]},{“file”:"/var/www/nextcloud/apps/dav/lib/Server.php",“line”:319,“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”:165,“args”:["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],“function”:“require_once”}],“File”:"/var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php",“Line”:30,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.44 Safari/537.36 Edg/83.0.478.28”,“version”:“18.0.4.2”,“id”:“5ebbf561760f8”}
During the analysis, it turned out that this drive, on which the network ball is located, is connected to the server via the ISCSI. With balls that are deployed on the physical disks of servers, there is no such problem. Please tell me how to solve this problem.

Network balls…?

There should be no issue with iSCSI-backed storage.

There are no problems with storage. NAS storage by ISCSI is connected to the Windows server and a network share is made on the disk and there are problems on this network share. But if on the same server you make a network share on physical disks, then everything is fine

Check your ACLs. They may be different on the iSCSI disk.

Checked. Gave full access to the directory A file in * .part format is created and after an error it remains on disk.

The backend storage is transparent to Nextcloud, so it has to be something on your Windows server.

it is connected via the external storage function via SMB. It seems to me that a timeout is triggered and the file is not overwritten.

Downloading from a resource connected via ISCSI is normal. No mistakes.