Site install not working

I created a new site on NearlyFreeSpeach, uploaded the zip file to the server and unzipped it. When I pointed by browser to the site, I got this error: “
Fatal error: Uncaught exception ‘RuntimeException’ with message ‘Creating directory ‘/home/public/grav-admin/cache/compiled/files’ failed on error mkdir(): Permission denied’ in /home/public/grav-admin/vendor/rockettheme/toolbox/File/src/File.php:4 00 Stack trace: #0 /home/public/grav-admin/vendor/rockettheme/toolbox/File/src/File.php(1 95): RocketTheme\Toolbox\File\File->mkdir(’/home/public/gr…’) #1 /home/public/grav-admin/vendor/rockettheme/toolbox/File/src/File.php(3 16): RocketTheme\Toolbox\File\File->lock() #2 /home/public/grav-admin/vendor/rockettheme/toolbox/File/src/PhpFile.ph p(31): RocketTheme\Toolbox\File\File->save(Array) #3 /home/public/grav-admin/system/src/Grav/Common/File/CompiledFile.php(6 7): RocketTheme\Toolbox\File\PhpFile->save(Array) #4 /home/public/grav-admin/system/src/Grav/Common/Config/Setup.php(163): Grav\Common\File\CompiledYamlFile->content() #5 /home/public/grav-admin/system/src/Grav/Comm on/Grav.php(213): Grav\Common\Config\Setup->init() #6 /home/public/grav-admin/index.php(38): Grav\Common\Grav in /home/public/grav-admin/vendor/rockettheme/toolbox/File/src/File.php on line 400”

What is the problem? You can see the message here: http://gravtest.nfshost.com/grav-admin/

Nearlyfreespeach has some permissions idiosyncrasies that is causing this issue. I tried testing with them but ran into problems, and fixing them required too much time. I just gave up, as it wasn’t particularly fast, nor particularly cheap.

Basically the webserver does not run with an suPHP setup, so when the webserver creates files, the user cannot access them. You have to go through the NFS ‘recover files’ option to get them owned by the user again.

While a workable setup can be created, it’s a real pain, and I don’t recommend using NFS unless you really are comfortable tweaking ownership and permissions and know what you are doing.

Frankly your better off going with a cheap VPS, or some lower end shared web hosting. Check our docs for some examples: https://learn.getgrav.org/hosting

Great. That means I’ll have to look for a different host. Thanks.