Owncloud permission issue

Hey , im facing this issue after installing owncloud with the install script ... what should i do ?

here is the apache error log :

[Sun Feb 21 02:05:23 2016] [error] [client 10.10.99.2] {"reqId":"ynml3ZgRqQp4LUy2qKKD","remoteAddr":"10.10.99.2","app":"PHP","message":"touch(): Unable to create file \/home\/dev\/public_html\/owncloud\/config\/config.php because Permission denied at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#229","level":3,"time":"2016-02-21T07:05:23+00:00"} [Sun Feb 21 02:05:23 2016] [error] [client 10.10.99.2] {"reqId":"ynml3ZgRqQp4LUy2qKKD","remoteAddr":"10.10.99.2","app":"PHP","message":"fopen(\/home\/dev\/public_html\/owncloud\/config\/config.php): failed to open stream: No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#230","level":3,"time":"2016-02-21T07:05:23+00:00"} [Sun Feb 21 02:05:23 2016] [error] [client 10.10.99.2] {"reqId":"ynml3ZgRqQp4LUy2qKKD","remoteAddr":"10.10.99.2","app":"PHP","message":"chmod(): No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#233","level":3,"time":"2016-02-21T07:05:23+00:00"} [Sun Feb 21 02:05:23 2016] [error] [client 10.10.99.2] {"reqId":"ynml3ZgRqQp4LUy2qKKD","remoteAddr":"10.10.99.2","app":"PHP","message":"chmod(): No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/log\/owncloud.php#92","level":3,"time":"2016-02-21T07:05:23+00:00"} [Sun Feb 21 02:07:50 2016] [error] [client 10.10.99.2] {"reqId":"qad63WGDe8SNm30ikW1I","remoteAddr":"10.10.99.2","app":"PHP","message":"touch(): Unable to create file \/home\/dev\/public_html\/owncloud\/config\/config.php because Permission denied at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#229","level":3,"time":"2016-02-21T07:07:50+00:00"} [Sun Feb 21 02:07:50 2016] [error] [client 10.10.99.2] {"reqId":"qad63WGDe8SNm30ikW1I","remoteAddr":"10.10.99.2","app":"PHP","message":"fopen(\/home\/dev\/public_html\/owncloud\/config\/config.php): failed to open stream: No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#230","level":3,"time":"2016-02-21T07:07:50+00:00"} [Sun Feb 21 02:07:50 2016] [error] [client 10.10.99.2] {"reqId":"qad63WGDe8SNm30ikW1I","remoteAddr":"10.10.99.2","app":"PHP","message":"chmod(): No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#233","level":3,"time":"2016-02-21T07:07:50+00:00"} [Sun Feb 21 02:07:50 2016] [error] [client 10.10.99.2] {"reqId":"qad63WGDe8SNm30ikW1I","remoteAddr":"10.10.99.2","app":"PHP","message":"chmod(): No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/log\/owncloud.php#92","level":3,"time":"2016-02-21T07:07:50+00:00"} [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"PHP","message":"touch(): Unable to create file \/home\/dev\/public_html\/owncloud\/config\/config.php because Permission denied at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#183","level":3,"time":"2016-02-21T07:14:48+00:00"} [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"PHP","message":"fopen(\/home\/dev\/public_html\/owncloud\/config\/config.php): failed to open stream: No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#184","level":3,"time":"2016-02-21T07:14:48+00:00"} [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"PHP","message":"chmod(): No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#187","level":3,"time":"2016-02-21T07:14:48+00:00"} [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"index","message":"OC\\HintException: Can't write into config directory!","level":4,"time":"2016-02-21T07:14:48+00:00"} [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"PHP","message":"Only variables should be passed by reference at \/home\/dev\/public_html\/owncloud\/lib\/private\/template.php#287","level":3,"time":"2016-02-21T07:14:48+00:00"} [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"PHP","message":"chmod(): No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/log\/owncloud.php#88","level":3,"time":"2016-02-21T07:14:48+00:00"} [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"PHP","message":"touch(): Unable to create file \/home\/dev\/public_html\/owncloud\/config\/config.php because Permission denied at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#183","level":3,"time":"2016-02-21T07:14:48+00:00"}, referer: http://dev.r-ti.ca/owncloud/ [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"PHP","message":"fopen(\/home\/dev\/public_html\/owncloud\/config\/config.php): failed to open stream: No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#184","level":3,"time":"2016-02-21T07:14:48+00:00"}, referer: http://dev.r-ti.ca/owncloud/ [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"PHP","message":"chmod(): No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#187","level":3,"time":"2016-02-21T07:14:48+00:00"}, referer: http://dev.r-ti.ca/owncloud/ [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"index","message":"OC\\HintException: Can't write into config directory!","level":4,"time":"2016-02-21T07:14:48+00:00"}, referer: http://dev.r-ti.ca/owncloud/ [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"PHP","message":"Only variables should be passed by reference at \/home\/dev\/public_html\/owncloud\/lib\/private\/template.php#287","level":3,"time":"2016-02-21T07:14:48+00:00"}, referer: http://dev.r-ti.ca/owncloud/ [Sun Feb 21 02:14:48 2016] [error] [client 10.10.99.2] {"app":"PHP","message":"chmod(): No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/log\/owncloud.php#88","level":3,"time":"2016-02-21T07:14:48+00:00"}, referer: http://dev.r-ti.ca/owncloud/ [Sun Feb 21 02:31:01 2016] [error] [client 10.10.99.2] {"reqId":"vPFfFJpA9+FIxiEpNw\/r","remoteAddr":"10.10.99.2","app":"PHP","message":"touch(): Unable to create file \/home\/dev\/public_html\/owncloud\/config\/config.php because Permission denied at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#229","level":3,"time":"2016-02-21T07:31:01+00:00"} [Sun Feb 21 02:31:01 2016] [error] [client 10.10.99.2] {"reqId":"vPFfFJpA9+FIxiEpNw\/r","remoteAddr":"10.10.99.2","app":"PHP","message":"fopen(\/home\/dev\/public_html\/owncloud\/config\/config.php): failed to open stream: No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#230","level":3,"time":"2016-02-21T07:31:01+00:00"} [Sun Feb 21 02:31:01 2016] [error] [client 10.10.99.2] {"reqId":"vPFfFJpA9+FIxiEpNw\/r","remoteAddr":"10.10.99.2","app":"PHP","message":"chmod(): No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/config.php#233","level":3,"time":"2016-02-21T07:31:01+00:00"} [Sun Feb 21 02:31:01 2016] [error] [client 10.10.99.2] {"reqId":"vPFfFJpA9+FIxiEpNw\/r","remoteAddr":"10.10.99.2","app":"PHP","message":"chmod(): No such file or directory at \/home\/dev\/public_html\/owncloud\/lib\/private\/log\/owncloud.php#92","level":3,"time":"2016-02-21T07:31:01+00:00"}

Status: 
Active

Comments

Which PHP execution mode do you have selected at Server Configuration -> Website Options?

mod_php , because fcgci is only dowloading a file called download , same with gci mode