Valet requires Homebrew to be installed on your Mac
I'm working on a project which use nextcloud as a document manager and when i'm upload a file, I want to launch nextcloud files sync so I use envoy to manage my command.
My command works when i type it in the CLI, it works when i'm running a test of my store new document. But when I use it the normal way through the interface and add a document, the buffer logs me : Valet requires Homebrew to be installed on your Mac.
Of course I have homebrew on my Mac and i'm running anything related to valet in my task.
@servers(['localhost' => '127.0.0.1'])
@task('synchronize', ['on' => 'localhost'])
cd {{ $path }}
docker-compose exec -T --user www-data app php occ files:scan {{ $user }}
@endtask
As I said, it work manually and through a unit test but not when i'm using it from my interface... Any Idea ?
EDIT: Here are my logs
[2020-09-09 07:41:33] local.DEBUG: Nextcloud Syncronized
[2020-09-09 07:41:33] local.DEBUG: ["Valet requires Homebrew to be installed on your Mac."]
[2020-09-09 07:47:06] testing.DEBUG: Nextcloud Syncronized
[2020-09-09 07:47:06] testing.DEBUG: ["Starting scan for user 1 out of 1 (admin)\n","+---------+-------+--------------+\n| Folders | Files | Elapsed time |\n+---------+-------+--------------+\n","| 28 | 13 | 00:00:01 |\n+---------+-------+--------------+\n"]
testing env is my unit test and local is my normal env for dev. nothing changes between the 2 except DB credentials
Please or to participate in this conversation.