Replies: 2 comments
-
Did you manage to get this sorted? I'm having a similiar issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for asking. Yes I did it was an ownership of the directory problem. So you need to ensure correct permissions and ownership of the directory you are saving to. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I am in need of support figuring out if there is a bug in the library.
I am trying to run the following line as part of a job which fails with below error message stating it is "Unable to create a directory at public" .
Image::load("public/".$image)->fit(Manipulations::FIT_MAX,250,250)->save("public/".$thumb_base_file_name);
The thumb_base_file_name comes from
$thumb_base_file_name = Storage::disk('s3')->put('image', $request['image']);
I am running Laravel 9 on AWS Elastic Beanstalk PHP 8.0.24
My storage and public folder is set with chmod 777.
CRON is being run as user "webapp" and the whole root folder with contents is all owned by user webapp.
Does any one have any idea of what might be the cause? Any support is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions