I just installed Nextcloud on my 'nix shared hosting server. I managed get to clear all the warnings. PHP is dialed in, security is good, caching set up. Just a couple of problems remain. I created a cron job in my cpanel (see https://ibb.co/jLnoxG). The output of the command is sent to me by email. At first the result was
{āstatusā-āsuccessā}
But as soon as I changed the āBackground Jobsā option (in Admin panel) to āCronā (which Iām supposed to right?) then the output changed to this:
{ādataā:{āmessageā:āBackgroundjobs are using system cron!ā},āstatusā:āerrorā}
Also, since I set cron, Iāve been getting errors in my Nextcloud log. They say:
Error PHP Undefined index: SCRIPT_FILENAME at XXXXXXXX/public_html/cloud/lib/base.php#141
Error PHP Undefined index: SCRIPT_NAME at XXXXXXXXXX/public_html/cloud/lib/private/AppFramework /Http/Request.php#719
What is going on?
I changed the cron command from āphp -f /path/cron.phpā to " /usr/local/bin/php -f /path/cron.php ".
It seems to have done the trick. Thanks for pointing me in the right direction.