CRON Tasks warning
Original Question or Issue:
There is a warning about CRON tasks not running in the FileCloud Admin portal > Checks.
Environment:
- Product - FileCloud Server
- Version - 23.253
- Platform - Windows
Steps to Reproduce:
Upgrade FileCloud HA platform to release 23.253.
Using the FileCloud backup server.
Error or Log Message:
CLFC-00004 0 | MongoDB\Driver\Exception\ConnectionTimeoutException:
No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling hello on 'localhost:27017'].
Defect or Enhancement Number:
FCL-7423
Cause:
Defect
Resolution or Workaround:
-
The root cause is the backup flag below in cloudconfig.php on web nodes:
define("TONIDOCLOUD_ENABLE_BACKUPSERVER_APP", true); -
Identify the backup target web node in the Backup web interface:
https://BackupNodeIP/ui/backupserver/index.html -
Remove the above flag from non-target web nodes:
<Drive_Letter>:\xampp\htdocs\config\cloudconfig.php -
Access the FileCloud Admin Portal and trigger the scheduled tasks.
Notes:
The CRON tasks will complete successfully and the warning will disappear.