Hi,
I have nextcloud installed on a vmware virtual server (Ubuntu 16.04)
I don’t host files on that server I only create SMB connections to my existing Windows 2019 shares.
Orange = Ok why not
When I connect the Windows client to these “External storages” for syncing locally. It actually don’t sync at all. It will just push local new or modified files/folders to the remote share.
When I create or modify files/folders directly on the remote share, the client won’t be able to see that something changed and will not pull these files/folders.
The only way to wake it up is to log into the web interface and browse to the Windows share which will eventually tell the client that something changed.
Logs NEXTCLOUD
[no app in context] Error: Icewind\SMB\Exception\ForbiddenException: Invalid request for /Utilisateurs (ForbiddenException) at <>
- /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php line 62
Icewind\SMB\Exception\Exception::fromMap({1: "Icewind\SM … "}, 1, “/Utilisateurs”) - /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php line 74
Icewind\SMB\Native\NativeState->handleError("/Utilisateurs") - /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php line 184
Icewind\SMB\Native\NativeState->testResult(false, “smb://vs-xxx-dc2/donnees/Utilisateurs”) - /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php line 133
Icewind\SMB\Native\NativeState->stat(“smb://vs-xxx-dc2/donnees/Utilisateurs”) - /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php line 112
Icewind\SMB\Native\NativeShare->getStat("/Utilisateurs") - /var/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php line 178
Icewind\SMB\Native\NativeShare->stat("/Utilisateurs") - /var/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php line 296
OCA\Files_External\Lib\Storage\SMB->getFileInfo("/Utilisateurs") - /var/www/nextcloud/lib/private/Files/Storage/Common.php line 454
OCA\Files_External\Lib\Storage\SMB->stat("") - /var/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php line 612
OC\Files\Storage\Common->test() - /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 472
OCA\Files_External\Lib\Storage\SMB->test() - /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 472
OC\Files\Storage\Wrapper\Wrapper->test() - /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php line 66
OC\Files\Storage\Wrapper\Wrapper->test() - /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php line 80
OC\Files\Storage\Wrapper\Availability->updateAvailability("*** sensitive parameters replaced ***") - /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php line 89
OC\Files\Storage\Wrapper\Availability->isAvailable() - /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php line 438
OC\Files\Storage\Wrapper\Availability->checkAvailability() - /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 582
OC\Files\Storage\Wrapper\Availability->getMetaData("") - /var/www/nextcloud/lib/private/Files/Cache/Scanner.php line 112
OC\Files\Storage\Wrapper\Wrapper->getMetaData("") - /var/www/nextcloud/lib/private/Files/Cache/Scanner.php line 150
OC\Files\Cache\Scanner->getData("") - /var/www/nextcloud/lib/private/Files/Cache/Scanner.php line 336
OC\Files\Cache\Scanner->scanFile("", 1, -1, null, true) - /var/www/nextcloud/lib/private/Files/Cache/Scanner.php line 515
OC\Files\Cache\Scanner->scan("", true, 1) - /var/www/nextcloud/lib/private/Files/Cache/Scanner.php line 532
OC\Files\Cache\Scanner->OC\Files\Cache{closure}("*** sensitive parameters replaced ***") - /var/www/nextcloud/lib/private/Files/Cache/Scanner.php line 516
OC\Files\Cache\Scanner->runBackgroundScanJob(Closure {}, “”) - /var/www/nextcloud/lib/private/Files/Utils/Scanner.php line 173
OC\Files\Cache\Scanner->backgroundScan() - /var/www/nextcloud/apps/files/lib/BackgroundJob/ScanFiles.php line 88
OC\Files\Utils\Scanner->backgroundScan("") - /var/www/nextcloud/apps/files/lib/BackgroundJob/ScanFiles.php line 112
OCA\Files\BackgroundJob\ScanFiles->runScanner(OC\User\User {}) - /var/www/nextcloud/lib/private/BackgroundJob/Job.php line 61
OCA\Files\BackgroundJob\ScanFiles->run(null) - /var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php line 55
OC\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {}) - /var/www/nextcloud/cron.php line 124
OC\BackgroundJob\TimedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})
at 2020-01-29T14:30:02+00:00
Thank You