Accessing external SMB share problem

Hello,

I’m continuously running into an issue SMB mount errors. This is on a CentOS 7.5 system, running PHP 7.2, running Nextcloud 14. I’ve seen the same error with Ubuntu 16.0.4 and PHP 7.1

Any insight would be greatly appreciated! I id log the error on Github as well. https://github.com/nextcloud/server/issues/10784#issuecomment-414742897

The errors:

|Fatal|webdav|Icewind\SMB\Exception\Exception: Unknown error (104) for /nix_owncloud

  1. /home/nextcloud/public_html/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php - line 35:

Icewind\SMB\Exception\Exception::unknown("/nix_owncloud", 104)

  1. /home/nextcloud/public_html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php - line 61:

Icewind\SMB\Exception\Exception::fromMap({ 1: "Icewin … "}, 104, “/nix_owncloud”)

  1. /home/nextcloud/public_html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php - line 73:

Icewind\SMB\Native\NativeState->handleError("/nix_owncloud")

  1. /home/nextcloud/public_html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php - line 286:

Icewind\SMB\Native\NativeState->testResult(false, “smb://resfi … d”)

  1. /home/nextcloud/public_html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php - line 268:

Icewind\SMB\Native\NativeState->getxattr(“smb://resfi … d”, “system.dos_attr.mode”)

  1. /home/nextcloud/public_html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php - line 106:

Icewind\SMB\Native\NativeShare->getAttribute("/nix_owncloud", “system.dos_attr.mode”)

  1. /home/nextcloud/public_html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php - line 125:

Icewind\SMB\Native\NativeFileInfo->getMode()

  1. /home/nextcloud/public_html/apps/files_external/lib/Lib/Storage/SMB.php - line 521:

Icewind\SMB\Native\NativeFileInfo->isHidden()

  1. /home/nextcloud/public_html/lib/private/Files/Storage/Common.php - line 143:

OCA\Files_External\Lib\Storage\SMB->isUpdatable("")

  1. /home/nextcloud/public_html/lib/private/Files/Storage/Common.php - line 163:

OC\Files\Storage\Common->isCreatable("")

  1. /home/nextcloud/public_html/lib/private/Files/Storage/Common.php - line 666:

OC\Files\Storage\Common->getPermissions("")

  1. /home/nextcloud/public_html/lib/private/Files/Storage/Wrapper/Wrapper.php - line 581:

OC\Files\Storage\Common->getMetaData("")

  1. /home/nextcloud/public_html/lib/private/Files/Storage/Wrapper/Availability.php - line 463:

OC\Files\Storage\Wrapper\Wrapper->getMetaData("")

  1. /home/nextcloud/public_html/lib/private/Files/Storage/Wrapper/Wrapper.php - line 581:

OC\Files\Storage\Wrapper\Availability->getMetaData("")

  1. /home/nextcloud/public_html/lib/private/Files/Cache/Scanner.php - line 112:

OC\Files\Storage\Wrapper\Wrapper->getMetaData("")

  1. /home/nextcloud/public_html/lib/private/Files/Cache/Scanner.php - line 150:

OC\Files\Cache\Scanner->getData("")

  1. /home/nextcloud/public_html/lib/private/Files/Cache/Scanner.php - line 336:

OC\Files\Cache\Scanner->scanFile("", 3, -1, null, true)

  1. /home/nextcloud/public_html/lib/private/Files/View.php - line 1324:

OC\Files\Cache\Scanner->scan("", false)

  1. /home/nextcloud/public_html/lib/private/Files/View.php - line 1368:

OC\Files\View->getCacheEntry(OCA\Files_Tr … l}, “”, “//Ryan”)

  1. /home/nextcloud/public_html/apps/dav/lib/Connector/Sabre/Directory.php - line 223:

OC\Files\View->getFileInfo("/rtn361/files/Ryan")

  1. /home/nextcloud/public_html/3rdparty/sabre/dav/lib/DAV/Tree.php - line 76:

OCA\DAV\Connector\Sabre\Directory->getChild(“Ryan”)

  1. /home/nextcloud/public_html/3rdparty/sabre/dav/lib/DAV/Server.php - line 967:

Sabre\DAV\Tree->getNodeForPath(“files/rtn361/Ryan”)

  1. /home/nextcloud/public_html/3rdparty/sabre/dav/lib/DAV/Server.php - line 1666:

Sabre\DAV\Server->getPropertiesIteratorForPath(“files/rtn361/Ryan”, [ "{DAV:}get … "], 1)

  1. /home/nextcloud/public_html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 359:

Sabre\DAV\Server->generateMultiStatus(Generator {}, false)

  1. Sabre\DAV\CorePlugin->httpPropFind(Sabre\HTTP\R … "}, Sabre\HTTP\Response {})

  2. /home/nextcloud/public_html/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:

call_user_func_array([ Sabre\DAV\ … "], [ Sabre\HTTP … }])

  1. /home/nextcloud/public_html/3rdparty/sabre/dav/lib/DAV/Server.php - line 479:

Sabre\Event\EventEmitter->emit(“method:PROPFIND”, [ Sabre\HTTP … }])

  1. /home/nextcloud/public_html/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:

Sabre\DAV\Server->invokeMethod(Sabre\HTTP\R … "}, Sabre\HTTP\Response {})

  1. /home/nextcloud/public_html/apps/dav/lib/Server.php - line 293:

Sabre\DAV\Server->exec()

  1. /home/nextcloud/public_html/apps/dav/appinfo/v2/remote.php - line 35:

OCA\DAV\Server->exec()

  1. /home/nextcloud/public_html/remote.php - line 163:
require_once("/home/nextc … p")