Closed
Description
If you are running your php cli as a user different than apache, you'll get frequent permission denied errors and lately this was driving me crazy every time I used migration:rollback. I was having to delete migrations rows and/or drop tables to correct the migrations state.
I just added in (global.php) the php SAPI name to solve it in my end:
Log::useDailyFiles(__DIR__.'/../storage/logs/log-'.php_sapi_name().'.txt');
But it could be a better way to do that with Monolog...
Metadata
Metadata
Assignees
Labels
No labels