Error when installing Moodle 4.3

Error when installing Moodle 4.3

by 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!

Average of ratings: -
In reply to Jeremy S

Re: Error when installing Moodle 4.3

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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.
In reply to Howard Miller

Re: Error when installing Moodle 4.3

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

Clean new install, not an upgrade.
In reply to Howard Miller

Re: Error when installing Moodle 4.3

by 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!