silverstripe / silverstripe-s3

Silverstripe module to store assets in S3 rather than on the local filesystem (SS4/SS5 only)
BSD 3-Clause "New" or "Revised" License
20 stars 25 forks source link

Error on new page creation - tinyMCE related #47

Closed bendubuisson closed 3 years ago

bendubuisson commented 3 years ago

Sorry, me again 🙄. On another instance, I get an error when trying to create a new page:

Impossible to create the root directory "/var/www/html/public/assets/_tinymce". The "Symfony\Component\Cache\Simple\AbstractCache" class is deprecated since Symfony 4.3, use "Symfony\Component\Cache\Adapter\AbstractAdapter" and type-hint for "Symfony\Contracts\Cache\CacheInterface" instead.

I tried creating the folder manually , it doesn't make any difference. I wonder if it tries to write to filesystem and not to S3 for some reason?

Thanks

bendubuisson commented 3 years ago

Sorry, it seems

RUN mkdir -p /var/www/html/public/assets/_tinymce && chown -R www-data:root /var/www/html/public

in my Dockerfile fixes it...