After upgrading to 5.17.4 under Joomla, the next large CiviMail job did as follows:
- It never completed and had to be cancelled
- It reported zero successful deliveries, though it did report opens
- At the next cron cycle it resent the same emails.
- Some recipients never received emails.
An examination of the ConfigAndLog file showed 'No database selected' errors.
After upgrading to CiviCRM 5.18.2, the 'No database selected' errors went away, but the above issues remained.
CiviCRM reports that the cron job has not run, and the scheduled jobs log shows it not finishing. The cron command is:
wget -q -t 1 'https:///administrator/components/com_civicrm/civicrm/bin/cron.php?name=&pass=&key='
We used to run php cli.php, but that stopped working after the 5.17.4 upgrade.
Has anyone any suggestions as to what might be causing the issue? It is difficult to troubleshoot as it means potentially flooding our contacts with emails.