You have to edit your config.php (usually under /var/www/nextcloud/config/config.php), if you have this parameter already there, change it to false, if not you have to added it, because default value is true or previews enabled.
After you edit your config you have to do some DB cleanup as described above.