Closed mikhi closed 3 years ago
Hi @mikhi,
it looks like you didn't setup the meilisearch.host
config under config/meilisearch.php
.
Did you run both commands from the install instructions?
Hi @mmachatschek
I followed the instructions. The MEILISEARCH_HOST & MEILISEARCH_KEY are set.
Basically any scout command is not working.
The composer.json file looks like this:
I'm missing something?
@mikhi ahh I see where the problem is. It looks like you are using the algolia driver of scout.
This should be fixed by setting the SCOUT_DRIVER environment variable. See the link
I already do that...
in .env file
and in scout.php config file
Somehow remains related with algolia driver and not meili
@mikhi then the only option there could be is that you have config caching active.
Can you try running php artisan config:clear
if this solves the issue?
@mmachatschek yes, that was the case. Stupid me.. Thanks allot for your help!
@mikhi happens to the best! Hope you have fun setting everything up :grin:
Hi Guys,
Great package so far. I have a small issue: I cannot create an index using artisan command.
I get this error for:
php artisan scout:index myindexname
Argument 1 passed to MeiliSearch\Client::__construct() must be of the type string, null given....I'm using: Laravel 8 PHP 7.4
Any help would be appreciated! Thanks, Mihai