I have a fresh Moodle 3.7 install in my Ubuntu 19.04 powered laptop, Apache2 as server, PostgreSQL for database and PHP 7.2. I’ve followed the steps in https://docs.moodle.org/37/en/Step-by-step_Installation_Guide_for_Ubuntu, except that I’ve used a PostgreSQL database (and it installed fine). But when I access http://localhost/moodle/
, I see this screen:
It’s like the CSS is not working. Chrome’s console show a bunch of errors:
And I simply didn’t find information on the web about these specific errors. My /var/www/html/moodle
folder has all permissions (chmod 777 recursive).
What am I doing wrong here?
2
Answers
This looks like your DDBB configuration is fine, because the main page is loading with no potential errors.
As Moodle can’t find your other files, maybe one of your configuration lines is wrong. You can find the configuration file (config.php) on the Moodle root folder.
It is quite easy to read as you will find some values being assigned to variables. Pay special attention to
If the content of the config.php file is fine, maybe you will need to reinstall the platform as Moodle didn’t install well (this has happened to me many times). Be sure to reinstall the platform with other release (older or newer), maybe your particular release has bugs related with the installation.
I followed suggestion by user3072843 and that works for me. More detailed, config nginx with following code (copied from ocs.moodle.org/38/en/Nginx):