Impossible to create the root directory at product image upload
-
Some permission problem? However, on github someone recommended to unlink public folder from storage and then link back, it helped at first, with initial product upload(without photo). Someone?
-
Hi @Javoke
Please follow this one - https://github.com/bagisto/bagisto/issues/826
and if unable to solve using above, try below -
run -
chown -R www-data:root .in the root of directory.
Thanks
-
Hi, @rahul
I tried to this solution from github, it helped at first but doesn't work when I'm adding an image.
Tried your command , it returned another errorhad to change back : $ sudo chown -R (user): .
Any other ideas, or I did something wrong? -
Hi,
First run this command -
chmod -R 777 ./storage
then run
chown -R www-data:root .
Thanks
-
Thanks @rahul, but the problem is still remaining.
-
Hi @ppstech
Please run following -
From root of your project -
cd public unlink storage
From Root of Your Project
php artisan storage:link
Thanks