Add product image on staging environment on AWS with ec2
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Add product image on staging environment on AWS with ec2
Hi, we're trying to upload product image via admin dashboard on a staging environment on AWS with ec2.
We're using ubuntu 16.04, with the latest aimeos version, with PHP 7.0, and laravel 5.5.
I have issue when uploading new product image from local computer.
Error: Couldn't create directory "files/9/a", /var/www/html/app/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/Filesystem/Standard.php:78
But I don't have this issue when uploading image to local laravel environment.
Anyone can show a way how to solve it?
SOLVED
Just needed to set permissions for public folder
We're using ubuntu 16.04, with the latest aimeos version, with PHP 7.0, and laravel 5.5.
I have issue when uploading new product image from local computer.
Error: Couldn't create directory "files/9/a", /var/www/html/app/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/Filesystem/Standard.php:78
But I don't have this issue when uploading image to local laravel environment.
Anyone can show a way how to solve it?
SOLVED
Just needed to set permissions for public folder
Code: Select all
sudo chgrp -R www-data public
Code: Select all
sudo chmod -R ug+rwx public