Cant delete folder ins smb folder

Hello! I had a problem with the SMB folders. When you delete any folder in the SMB folder icons remain, but in fact the folder in your shopping cart. this does not happen with the files. Owncloud wrote a critical error.
owncloud v. 9.0.2
error
Exception: {"Message":"Unknown error (NT_STATUS_DELETE_PENDING) for \/\u0433.\u0412\u0435\u0440\u0445\u043e\u0442\u0443\u0440\u044c\u0435\/\u21161909_11-\u0421\u041f \u043e\u0442 19.09.2011 (\u043a\u043e\u0434-183-11-02-04-01)\/\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u0430\/for forum owncloud","Exception":"Icewind\\SMB\\Exception\\Exception","Code":0,"Trace":"#0 \/var\/www\/owncloud\/apps\/files_external\/3rdparty\/icewind\/smb\/src\/Share.php(373): Icewind\\SMB\\Parser->checkForError(Array, '\/\\xD0\\xB3.\\xD0\\x92\\xD0\\xB5\\xD1\\x80\\xD1\\x85\\xD0\\xBE\\xD1...')\n#1 \/var\/www\/owncloud\/apps\/files_external\/3rdparty\/icewind\/smb\/src\/Share.php(135): Icewind\\SMB\\Share->parseOutput(Array, '\/\\xD0\\xB3.\\xD0\\x92\\xD0\\xB5\\xD1\\x80\\xD1\\x85\\xD0\\xBE\\xD1...')\n#2 \/var\/www\/owncloud\/apps\/files_external\/lib\/smb.php(115): Icewind\\SMB\\Share->stat('\/\\xD0\\xB3.\\xD0\\x92\\xD0\\xB5\\xD1\\x80\\xD1\\x85\\xD0\\xBE\\xD1...')\n#3 \/var\/www\/owncloud\/apps\/files_external\/lib\/smb.php(341): OC\\Files\\Storage\\SMB->getFileInfo('for forum owncl...')\n#4 \/var\/www\/owncloud\/lib\/private\/files\/storage\/wrapper\/wrapper.php(213): OC\\Files\\Storage\\SMB->file_exists('for forum owncl...')\n#5 \/var\/www\/owncloud\/lib\/private\/files\/storage\/wrapper\/availability.php(236): OC\\Files\\Storage\\Wrapper\\Wrapper->file_exists('for forum owncl...')\n#6 \/var\/www\/owncloud\/lib\/private\/files\/storage\/wrapper\/wrapper.php(213): OC\\Files\\Storage\\Wrapper\\Availability->file_exists('for forum owncl...')\n#7 \/var\/www\/owncloud\/lib\/private\/files\/storage\/wrapper\/wrapper.php(213): OC\\Files\\Storage\\Wrapper\\Wrapper->file_exists('for forum owncl...')\n#8 \/var\/www\/owncloud\/apps\/files_trashbin\/lib\/trashbin.php(244): OC\\Files\\Storage\\Wrapper\\Wrapper->file_exists('for forum owncl...')\n#9 \/var\/www\/owncloud\/apps\/files_trashbin\/lib\/storage.php(160): OCA\\Files_Trashbin\\Trashbin::move2trash('\\xD0\\xBC\\xD0\\xB0\\xD1\\x82\\xD0\\xB5\\xD1\\x80\\xD0\\xB8\\xD0\\xB0\\xD0...')\n#10 \/var\/www\/owncloud\/apps\/files_trashbin\/lib\/storage.php(106): OCA\\Files_Trashbin\\Storage->doDelete('for forum owncl...', 'rmdir')\n#11 \/var\/www\/owncloud\/lib\/private\/files\/view.php(1063): OCA\\Files_Trashbin\\Storage->rmdir('for forum owncl...')\n#12 \/var\/www\/owncloud\/lib\/private\/files\/view.php(336): OC\\Files\\View->basicOperation('rmdir', '\/\\xD0\\xBC\\xD0\\xB0\\xD1\\x82\\xD0\\xB5\\xD1\\x80\\xD0\\xB8\\xD0\\xB0...', Array)\n#13 \/var\/www\/owncloud\/apps\/dav\/lib\/connector\/sabre\/directory.php(272): OC\\Files\\View->rmdir('\/\\xD0\\xBC\\xD0\\xB0\\xD1\\x82\\xD0\\xB5\\xD1\\x80\\xD0\\xB8\\xD0\\xB0...')\n#14 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Tree.php(179): OCA\\DAV\\Connector\\Sabre\\Directory->delete()\n#15 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(285): Sabre\\DAV\\Tree->delete('\\xD0\\xBC\\xD0\\xB0\\xD1\\x82\\xD0\\xB5\\xD1\\x80\\xD0\\xB8\\xD0\\xB0\\xD0...')\n#16 [internal function]: Sabre\\DAV\\CorePlugin->httpDelete(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#17 \/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#18 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(459): Sabre\\Event\\EventEmitter->emit('method:DELETE', Array)\n#19 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#20 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(55): Sabre\\DAV\\Server->exec()\n#21 \/var\/www\/owncloud\/remote.php(138): require_once('\/var\/www\/ownclo...')\n#22 {main}","File":"\/var\/www\/owncloud\/apps\/files_external\/3rdparty\/icewind\/smb\/src\/Parser.php","Line":74,"User":"641A845C-9F21-46EB-8627-63F563FF6852"}

Hi,

from the issue template shown when creating a new thread:

make sure that you're running the latest available version for oC 9.0: https://owncloud.org/changelog/#latest9.0

9.0.2 is outdated and might contain bugs which are already fixed in the newer 9.0.4 version. If this issue still happens with 9.0.4 also make sure that you're using a recent version of:

https://github.com/eduardok/libsmbclient-php

thx for reply i'm try that

ok i'm update in 9.1, don't work

error:

Exception: {"Message":"Unknown error (NT_STATUS_DELETE_PENDING) for \/sharing\/test","Exception":"Icewind\SMB\Exception\Exception","Code":0,"Trace":"#0 \/var\/www\/owncloud\/apps\/files_external\/3rdparty\/icewind\/smb\/src\/Share.php(398): Icewind\SMB\Parser->checkForError(Array, '\/sharing\/test')\n#1 \/var\/www\/owncloud\/apps\/files_external\/3rdparty\/icewind\/smb\/src\/Share.php(140): Icewind\SMB\Share->parseOutput(Array, '\/sharing\/test')\n#2 \/var\/www\/owncloud\/apps\/files_external\/lib\/Lib\/Storage\/SMB.php(115): Icewind\SMB\Share->stat('\/sharing\/test')\n#3 \/var\/www\/owncloud\/apps\/files_external\/lib\/Lib\/Storage\/SMB.php(361): OCA\Files_External\Lib\Storage\SMB->getFileInfo('sharing\/test')\n#4 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(219): OCA\Files_External\Lib\Storage\SMB->file_exists('sharing\/test')\n#5 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(219): OC\Files\Storage\Wrapper\Wrapper->file_exists('sharing\/test')\n#6 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Availability.php(240): OC\Files\Storage\Wrapper\Wrapper->file_exists('sharing\/test')\n#7 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(219): OC\Files\Storage\Wrapper\Availability->file_exists('sharing\/test')\n#8 \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(219): OC\Files\Storage\Wrapper\Wrapper->file_exists('sharing\/test')\n#9 \/var\/www\/owncloud\/apps\/files_trashbin\/lib\/Trashbin.php(245): OC\Files\Storage\Wrapper\Wrapper->file_exists('sharing\/test')\n#10 \/var\/www\/owncloud\/apps\/files_trashbin\/lib\/Storage.php(160): OCA\Files_Trashbin\Trashbin::move2trash('SMB\/sharing\/tes...')\n#11 \/var\/www\/owncloud\/apps\/files_trashbin\/lib\/Storage.php(106): OCA\Files_Trashbin\Storage->doDelete('sharing\/test', 'rmdir')\n#12 \/var\/www\/owncloud\/lib\/private\/Files\/View.php(1118): OCA\Files_Trashbin\Storage->rmdir('sharing\/test')\n#13 \/var\/www\/owncloud\/lib\/private\/Files\/View.php(340): OC\Files\View->basicOperation('rmdir', '\/SMB\/sharing\/te...', Array)\n#14 \/var\/www\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(276): OC\Files\View->rmdir('\/SMB\/sharing\/te...')\n#15 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Tree.php(179): OCA\DAV\Connector\Sabre\Directory->delete()\n#16 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(285): Sabre\DAV\Tree->delete('SMB\/sharing\/tes...')\n#17 [internal function]: Sabre\DAV\CorePlugin->httpDelete(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#18 \/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#19 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(459): Sabre\Event\EventEmitter->emit('method:DELETE', Array)\n#20 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#21 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(56): Sabre\DAV\Server->exec()\n#22 \/var\/www\/owncloud\/remote.php(164): require_once('\/var\/www\/ownclo...')\n#23 {main}","File":"\/var\/www\/owncloud\/apps\/files_external\/3rdparty\/icewind\/smb\/src\/Parser.php","Line":74,"User":"641A845C-9F21-46EB-8627-63F563FF6852"}

This is the only info I've found in https://msdn.microsoft.com/en-us/library/cc704588.aspx

0xC0000056
STATUS_DELETE_PENDING
A non-close operation has been requested of a file object that has a delete pending.

My guess is that you have a file opened in windows that we can't delete from ownCloud. I'd recommend to close all applications in windows and retry. If this doesn't solve, please open an issue in github -> https://github.com/owncloud/core/issues

Fill the github template and provide as many data as you can so devs can try to reproduce your issue (if they can reproduce the issue, it won't likely be fixed).

Among the data you should provide in addition to what's requested, the SMB server you're connecting to, any custom configuration you've done in it, etc.

with files all ok... that problem only with folders. And... i see it now, if folder is empty. IF folder have same files all ok