You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Please report any security issues directly to hello [at] ankit.pl
Describe the bug
When you access this library with another library, like Vimeo/Laravel, the cache dir is not writable.
{"message":"fopen(/var/www/html/storage/app/public/): failed to open stream: Is a directory","context":{"userId":1,"exception":{"class":"ErrorException","message":"fopen(/var/www/html/storage/app/public/): failed to open stream: Is a directory","code":0,"file":"/var/www/html/vendor/league/flysystem/src/Adapter/Local.php:157"}}
If there was a way to set the cache dir outside vendor would be great, it avoid to set another step in deploy.
In the file:/vendor/ankitpokhrel/tus-php/src/Config/server.php, the file cache config is set to vendor folder, its not configurable.
Woul be great to set the cache dir due to server restrictibility.
Setup laravel (with Laravel Nova in my specific case)
Install vimeo/laravel
Try to upload a new video
See error
Expected behavior
Video was uploaded successfully. No error due to unwritable cache folder
Additional context
What I'm trying to do is to upload a new video to vimeo, using the offical vimeo/laravel package.
When I set the owner of the folder to www-data, works fine, but i have to add another deploy step to do so (in the buildspec file to be more exact)
The text was updated successfully, but these errors were encountered:
Describe the bug
When you access this library with another library, like Vimeo/Laravel, the cache dir is not writable.
{"message":"fopen(/var/www/html/storage/app/public/): failed to open stream: Is a directory","context":{"userId":1,"exception":{"class":"ErrorException","message":"fopen(/var/www/html/storage/app/public/): failed to open stream: Is a directory","code":0,"file":"/var/www/html/vendor/league/flysystem/src/Adapter/Local.php:157"}}
If there was a way to set the cache dir outside vendor would be great, it avoid to set another step in deploy.
In the file:/vendor/ankitpokhrel/tus-php/src/Config/server.php, the file cache config is set to vendor folder, its not configurable.
Woul be great to set the cache dir due to server restrictibility.
To something like this:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Video was uploaded successfully. No error due to unwritable cache folder
Additional context
What I'm trying to do is to upload a new video to vimeo, using the offical vimeo/laravel package.
When I set the owner of the folder to www-data, works fine, but i have to add another deploy step to do so (in the buildspec file to be more exact)
The text was updated successfully, but these errors were encountered: