SMB exteenal storage configuratiom

I’m tryin to configure external storage in nextcloud.
But there is someting wrong and doesn’t work.
I have readed the page SMB/CIFS — Nextcloud latest Administration Manual latest documentation but no help .

I have a windows server 2016 in the office with a shared hard disk via smb protocol.
The data I have is (The value are fake but just to understand):
IP adresses : 192.168.1.145
Folder shared : smb://officework
User: pinco
Password: palla
Here the field compiled

I don’t understand whats wrong.
Can someone help me

I assume you get some sort of error?

I think you probably need to remove the smb://

I have already tryed to remove smb://…
Should be only the sared name.
I use a Raspberry Pi so I have tryed to installa on another MicroSd card but no solution.
I have tryed to made a new share but no way.
The smb resource works with all the other computers and devides.
I have unistalled SMBclient an reintalled.
If I use application smbtest doesn’t connect.

I’ reinstalling after a rpoblem with a ssl certificate, and in advance worked.
Onestly I don’t know what else to do

There is a way to understand why it doesn’t connect?

In registration I get this error

[no app in context] Avviso: Icewind\SMB\Exception\Exception: Unknown error (NT_STATUS_OBJECT_NAME_INVALID) for / at <>

  1. /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php line 49
    Icewind\SMB\Exception\Exception::unknown()
  2. /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php line 92
    Icewind\SMB\Exception\Exception::fromMap()
  3. /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php line 479
    Icewind\SMB\Wrapped\Parser->checkForError()
  4. /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php line 215
    Icewind\SMB\Wrapped\Share->parseOutput()
  5. /var/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php line 191
    Icewind\SMB\Wrapped\Share->stat()
  6. /var/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php line 348
    OCA\Files_External\Lib\Storage\SMB->getFileInfo()
  7. /var/www/nextcloud/lib/private/Files/Storage/Common.php line 462
    OCA\Files_External\Lib\Storage\SMB->stat()
  8. /var/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php line 729
    OC\Files\Storage\Common->test()
  9. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 474
    OCA\Files_External\Lib\Storage\SMB->test()
  10. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 474
    OC\Files\Storage\Wrapper\Wrapper->test()
  11. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php line 69
    OC\Files\Storage\Wrapper\Wrapper->test()
  12. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php line 83
    OC\Files\Storage\Wrapper\Availability->updateAvailability(“*** sensitive parameters replaced ***”)
  13. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php line 92
    OC\Files\Storage\Wrapper\Availability->isAvailable()
  14. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php line 445
    OC\Files\Storage\Wrapper\Availability->checkAvailability()
  15. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 599
    OC\Files\Storage\Wrapper\Availability->getMetaData()
  16. /var/www/nextcloud/lib/private/Files/Cache/Scanner.php line 116
    OC\Files\Storage\Wrapper\Wrapper->getMetaData()
  17. /var/www/nextcloud/lib/private/Files/Cache/Scanner.php line 154
    OC\Files\Cache\Scanner->getData()
  18. /var/www/nextcloud/lib/private/Files/View.php line 1502
    OC\Files\Cache\Scanner->scanFile()
  19. /var/www/nextcloud/lib/private/Files/Node/Folder.php line 101
    OC\Files\View->getDirectoryContent()
  20. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php line 260
    OC\Files\Node\Folder->getDirectoryListing()
  21. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php line 200
    OCA\DAV\Connector\Sabre\Directory->getChildren()
  22. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 900
    Sabre\DAV\Tree->getChildren()
  23. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 982
    Sabre\DAV\Server->generatePathNodes()
  24. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
    Sabre\DAV\Server->getPropertiesIteratorForPath()
  25. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
    Sabre\DAV\Server->writeMultiStatus()
  26. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
    Sabre\DAV\Server->generateMultiStatus()
  27. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPropFind()
  28. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
  29. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
  30. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
  31. /var/www/nextcloud/apps/dav/lib/Server.php line 360
    Sabre\DAV\Server->exec()
  32. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  33. /var/www/nextcloud/remote.php line 171
    require_once(“/var/www/nextcl … p”)

The second box is for tha “alias” for your external storage, so it can be anything. It’s just for you to name the external storage INSIDE Nextcloud.

Which version of NC are you on?

I remember this was a topic a couple of years ago:

My solution back then, was to spin up an FTP server and mount that to Nextcloud external storage. Ofc the performance isn’t the same, butthe proper solution was waaay over my head. But sincs NC 21 it’s working flawlesly.

Nextcloud version Nextcloudpi 25.0.3
Operating System: Linux 5.15.61-v8+ aarch64
CPU: Raspberry Pi 4 Model B Rev 1.4 (4 cores)
Apache 2.4.54
Mysql 10.5.18
PHP version 8.1.14

I have tryed FTp but it connecys, but doesn’t show the files in directory

Did you gave acces to your Accounts on NC to the mounted FTP? If so I’m sure it should be there. On the SMB side, you should try to connect to the SMB directly from your Raspberry, just to try it out if it even can connect or not.

Bout FTP
Yes I have inserted the value in the field of external storage.
It connects and there is the green dot, but if I gon in folders nothing is dispalyed.
If i use a PC-MAC Ipad etc… everything is fine.
About SMB if Im ping the IP ot the SMB server it connects.
The windows server has not changed and before reinstall everything worked fine.