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?
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 error
had to change back : $ sudo chown -R (user): .
Any other ideas, or I did something wrong?
First run this command -
chmod -R 777 ./storage
chown -R www-data:root .
Thanks @rahul, but the problem is still remaining.
Please run following -
From root of your project -
cd public unlink storage
From Root of Your Project
php artisan storage:link