What do you have configured in your .env file for SCOUT_DRIVER= ?
Mar 26, 2024
1
Level 1
php artisan scout:import shows that records are imported but actually data were not imported
When i run the following command on my VM, it shows that records are imported but actually data were not imported
php artisan scout:import 'App\Models\File'
Solutions i have tried.
-
scout queue is set to false
-
Configuration is seems ok
-
I have noticed one more thing that when i write search query / use unsearchable() method on tinker, then its returning correct result using scout. But only import / searchable() function is not working.
Note: I have the same branch on another serve and it works fine there. But not sure why its not working on my VM.
Let me know if any additional detail required. Any suggestion would be helpful thanks.
Please or to participate in this conversation.