I have an asset directory which is set to
{basePath}assets/images/products/
I know my basePath is right as it works on other asset sources.
My entry upload location for products is set to:
{slug}/static/studio
However I get the following error when uploading assets:
upload failed. error uploading the file: The folder "/var/www/html/assets/images/products/carambola-earrings/static/studio/" does not exist
I have tried 'updating asset indexes'. But no luck. I have also double checked that the assets/images/products/ directory exists.
I am also checked the permissions are set to '775' for '/var/www/html'
Any help greatly appreciated :)
{slug}/static/studio
upload location inside of a Matrix field or stand-alone? – Brad Bell Sep 29 '17 at 18:10/var/www/html/assets
and what user:group is your web server running as? – Brad Bell Sep 29 '17 at 18:11drwxrwxr-x 2 root root 4096 Sep 29 08:31 products
my assets folder is set todrwxrwxr-x 9 www-data www-data 4096 Sep 20 10:31 assets
– ToddPadwick Sep 30 '17 at 10:25sudo chown www-data:www-data -R html
still no luck though unfortunately. – ToddPadwick Oct 2 '17 at 8:02