Error when installing Moodle 4.3

Error when installing Moodle 4.3

Jeremy S -
Number of replies: 3

Installation - Moodle 4.3 (Build: 20231009)

Moodle 4.3 (Build: 20231009)


Server:

Ubuntu 22.04.3 LTS

PHP 8.2.11

Apache 2.4.56

I'm trying to get Moodle installed on a server on AWS. The requirements all pass:


Install requirements


But on the next screen after clicking continue I get this error message:
Error message

I've gotten Moodle to install and operate on my laptop (WAMP) but I cannot get it working on my server. Any help or tips would be appreciated, thanks!

Ngā whakawākanga toharite: -
In reply to Jeremy S

Re: Error when installing Moodle 4.3

Howard Miller -
Pikitia o Core developers Pikitia o Documentation writers Pikitia o Particularly helpful Moodlers Pikitia o Peer reviewers Pikitia o Plugin developers
Just to confirm... this happened immediately after that screen? You *definitely* hadn't tried before / had an aborted installation / had a half built database or anything like that?  This was a clean install, not an upgrade or migration?

This is odd because analytics are off by default. And I also can't see why that code would be running during installation.
Ngā whakawākanga toharite: -
In reply to Howard Miller

Re: Error when installing Moodle 4.3

Jeremy S -
After a few seconds yes, this error message appears.

Clean new install, not an upgrade.
Ngā whakawākanga toharite: -
In reply to Howard Miller

Re: Error when installing Moodle 4.3

Jeremy S -
I deleted my public directory, my data directory, the database and reinstalled clean again and it is working.
I guess we can attribute this to user error 🤷‍♂️

Thanks!
Ngā whakawākanga toharite: -