Error when installing Moodle 4.3

Error when installing Moodle 4.3

av Jeremy S -
Galle vástádusa: 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!

Gjennomsnittlig vurdering: -
Vástádussan geasa: Jeremy S

Re: Error when installing Moodle 4.3

av Howard Miller -
Bilde av Core developers Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Peer reviewers Bilde av 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.
Vástádussan geasa: Howard Miller

Re: Error when installing Moodle 4.3

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