The stream or file could not be opened in append mode: failed to open stream: Permission denied when migration code example
Example: storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied
$ chmod -R 775 storage bootstrap/cache