This guide is only for Yclas Self Hosted!

Yclas Self Hosted requires some folders to be writable.

This is useful if you are getting an error of folder not writable, or you cant upload pictures, or cache corrupted…etc.

Please be sure that at least these folders have correct permissions and ownership:

  • /oc/cache
  • /oc/logs
  • /images

Example how to do it:

sudo chmod -R 755 /var/www/yclas/oc/cache
sudo chown -R www-data:www-data  /var/www/yclas/oc/cache

I recommend giving to the entire folder 755 permissions and correct ownership.

Cleaning cache if there’s an error:

sudo rm -f /var/www/yclas/oc/cache