Could not load image at path `\/usr\/src\/app\/storage\/media-library\/temp\' #3673
Unanswered
ahmedshahd
asked this question in
Q&A
Replies: 1 comment
-
I had the same issue and it appeared that my php didn't support webp format. After enabling webp in php gd this problem disappeared. Try to debug your path like this:
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys i have an issue with the deployment related to spatie media library package
i dockorized the app and spined the container in aws ec2
it works fine but the image upload is throwing this err
Could not load image at path
\/usr\/src\/app\/storage\/media-library\/temp\/TbOvHHHaULQPYqnuOdXT7nlj4kpyzoUp\/UAT5X2Agm6EQWbkYZcxEaWLGYMEfviu0thumbnail.jpg
i thought it was an permission issue in the docker container
i added those lines to my docker file
RUN mkdir -p /usr/src/app/storage/media-library/temp
RUN chmod -R 775 /usr/src/app/storage/media-library/temp
RUN chown -R www-data:www-data /usr/src/app/storage/media-library/temp
but the issue still exist
Beta Was this translation helpful? Give feedback.
All reactions