I have installed Magento 2.30 on a VMware box and every thing works ok until every night at midnight the site gives a 404 error which I noticed and changed the ownership to fix and then again at 1am it gives a 404 error again.
I have established that the problem is the ownership is changing as I can fix the site by issuing the following command from the htdocs directory ;
sudo chown -R daemon:daemon
I have checked the cron job and it is eaxctly the same as a working site so can only assume it is something to do with the sticky bit on the folders.
Not sure what to do now.
This is the Apache error
[Wed Jan 16 03:44:42.337310 2019] [proxy_fcgi:error] [pid 1924:tid 139828884657920] (70008)Partial results are valid but processing is incomplete: [client 127.0.0.1:49626] AH01075: Error dispatching request to :81: (reading input brigade)