Error when installing Moodle 4.3

Error when installing Moodle 4.3

Höfundur 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!

Meðaltal dóma: -
In reply to Jeremy S

Re: Error when installing Moodle 4.3

Höfundur Howard Miller -
Mynd af Core developers Mynd af Documentation writers Mynd af Particularly helpful Moodlers Mynd af Peer reviewers Mynd af 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

Höfundur 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

Höfundur 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!