Generate-all error over SMB

Hi,

I’m giving preview generator a first try and I get an error partway through the process (stacktrace below).

In my setup, my pictures are all on a samba share added as external storage to nextcloud.

I’m fairly new to Nextcloud, a home user, and self hosted. Would someone have any suggestion on how to get more information to help diagnose this issue?

Thanks!

...
2022-03-16T21:27:37+00:00 Generating previews for /Pictures/cats/P1000031.JPG
2022-03-16T21:27:37+00:00 Generating previews for /Pictures/cats/P1000034.JPG
2022-03-16T21:27:37+00:00 Generating previews for /Pictures/cats/P1000035.JPG
2022-03-16T21:27:37+00:00 
2022-03-16T21:27:37+00:00 In Parser.php line 157:
2022-03-16T21:27:37+00:00                                         
2022-03-16T21:27:37+00:00   [Icewind\SMB\Exception\Exception]     
2022-03-16T21:27:37+00:00   Malformed state response from server  
2022-03-16T21:27:37+00:00                                         
2022-03-16T21:27:37+00:00 
2022-03-16T21:27:37+00:00 Exception trace:
2022-03-16T21:27:37+00:00   at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php:157
2022-03-16T21:27:37+00:00  Icewind\SMB\Wrapped\Parser->parseStat() at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php:217
2022-03-16T21:27:37+00:00  Icewind\SMB\Wrapped\Share->stat() at /var/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php:189
2022-03-16T21:27:37+00:00  OCA\Files_External\Lib\Storage\SMB->getFileInfo() at /var/www/nextcloud/apps/files_external/lib/Lib/Storage/SMB.php:653
2022-03-16T21:27:37+00:00  OCA\Files_External\Lib\Storage\SMB->file_exists() at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php:227
2022-03-16T21:27:37+00:00  OC\Files\Storage\Wrapper\Wrapper->file_exists() at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php:227
2022-03-16T21:27:37+00:00  OC\Files\Storage\Wrapper\Wrapper->file_exists() at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php:244
2022-03-16T21:27:37+00:00  OC\Files\Storage\Wrapper\Availability->file_exists() at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php:227
2022-03-16T21:27:37+00:00  OC\Files\Storage\Wrapper\Wrapper->file_exists() at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php:227
2022-03-16T21:27:37+00:00  OC\Files\Storage\Wrapper\Wrapper->file_exists() at /var/www/nextcloud/lib/private/Files/View.php:1344
2022-03-16T21:27:37+00:00  OC\Files\View->getCacheEntry() at /var/www/nextcloud/lib/private/Files/View.php:1393
2022-03-16T21:27:37+00:00  OC\Files\View->getFileInfo() at /var/www/nextcloud/lib/private/Files/Node/Root.php:200
2022-03-16T21:27:37+00:00  OC\Files\Node\Root->get() at /var/www/nextcloud/lib/private/Files/Node/Folder.php:146
2022-03-16T21:27:37+00:00  OC\Files\Node\Folder->get() at /var/www/nextcloud/lib/private/Files/Node/Folder.php:155
2022-03-16T21:27:37+00:00  OC\Files\Node\Folder->nodeExists() at /var/www/nextcloud/apps/previewgenerator/lib/Command/Generate.php:201
2022-03-16T21:27:37+00:00  OCA\PreviewGenerator\Command\Generate->parseFolder() at /var/www/nextcloud/apps/previewgenerator/lib/Command/Generate.php:212
2022-03-16T21:27:37+00:00  OCA\PreviewGenerator\Command\Generate->parseFolder() at /var/www/nextcloud/apps/previewgenerator/lib/Command/Generate.php:212
2022-03-16T21:27:37+00:00  OCA\PreviewGenerator\Command\Generate->parseFolder() at /var/www/nextcloud/apps/previewgenerator/lib/Command/Generate.php:192
2022-03-16T21:27:37+00:00  OCA\PreviewGenerator\Command\Generate->generateUserPreviews() at /var/www/nextcloud/apps/previewgenerator/lib/Command/Generate.php:138
2022-03-16T21:27:37+00:00  OCA\PreviewGenerator\Command\Generate->OCA\PreviewGenerator\Command\{closure}() at /var/www/nextcloud/lib/private/User/Manager.php:645
2022-03-16T21:27:37+00:00  OC\User\Manager->callForSeenUsers() at /var/www/nextcloud/apps/previewgenerator/lib/Command/Generate.php:139
2022-03-16T21:27:37+00:00  OCA\PreviewGenerator\Command\Generate->execute() at /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php:255
2022-03-16T21:27:37+00:00  Symfony\Component\Console\Command\Command->run() at /var/www/nextcloud/3rdparty/symfony/console/Application.php:1009
2022-03-16T21:27:37+00:00  Symfony\Component\Console\Application->doRunCommand() at /var/www/nextcloud/3rdparty/symfony/console/Application.php:273
2022-03-16T21:27:37+00:00  Symfony\Component\Console\Application->doRun() at /var/www/nextcloud/3rdparty/symfony/console/Application.php:149
2022-03-16T21:27:37+00:00  Symfony\Component\Console\Application->run() at /var/www/nextcloud/lib/private/Console/Application.php:209
2022-03-16T21:27:37+00:00  OC\Console\Application->run() at /var/www/nextcloud/console.php:99
2022-03-16T21:27:37+00:00  require_once() at /var/www/nextcloud/occ:11
2022-03-16T21:27:37+00:00 
2022-03-16T21:27:37+00:00 preview:generate-all [-p|--path [PATH]] [--] [<user_id>...]
2022-03-16T21:27:37+00:00