Posts made by Visvanath Ratnaweera

Picture of Particularly helpful Moodlers Picture of Translators
OK. PHP 8.1 and Moodle 4.3 are compatible. Does your Site administratin > Server > Environment all green?

If all that is given, I don't see a problem with
* * * * * /usr/local/bin/php /home/bshadmin/public_html/xuexi.bsh1.cn/admin/cli/cron.php
if that is
# crontab -u www-data -l

Do you get a warning in Site administration > Notifications that the cron is not run?

Do you know where the logs of cron goes? Usually they land in the mailbox of the user running it. So 'mail -f /var/mail/www-data' ?
Picture of Particularly helpful Moodlers Picture of Translators
I hope that 3.11+ is a 3.11.8 or higher. Otherwise you can't jump straight to 4.3. For details see the chart http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases.

And the screen-shot shows three missing php modules, zip, gd and intl. I wonder how you ran 3.11 without them? These modules are needed since a long time.

The guide, is here Upgrading.

BTW, you know that the only recovery of a borked upgrade is Site_recovery? So far the upgrade script hasn't done anything because of the missing php modules. There is still time for a Site_backup if you haven't done it.

Picture of Particularly helpful Moodlers Picture of Translators
You mean, you solved the problem Error : Database connection failed? Then please "reply to the thread, adding [Solved] to the subject line of your post and providing links to the documentation, discussion or tracker issue that helped you." viz Site policy.