What is your assessment of this solution?
A 500 error is thrown when cache/compiled/ is not writable.
Instead of a 500 error, which presents without explanation, the problem could be added to the issues list, making the easier to address.
You can see it running here (image attached)
http://devserver-017.info/
This is the php that detects the issue, when inserted at line 393 in vendor/rockettheme/toolbox/File/src/File.php
$dirParent = substr($dir,0, strrpos($dir,'/',-2)+1);
$fileowner=posix_getpwuid(fileowner ($dirParent));
$phpaccount=exec('whoami');
if (trim($fileowner['name'])!== trim($phpaccount)) :
//add to issues list
endif;
BETTER SOLUTION?
A better fix might be to include cache/compiled/ in the download instead of creating it with php when Grav first runs..
Is this helpful? Grav