Missing Moodle.MDL_Config

Missing Moodle.MDL_Config

Bridgette Gloster -
回帖数:14

Hi, All!  Officially begging for assistance as I have been pulling my hair out for two days.  I am doing a fresh install of Moodle 3.11 on a virtual server with Ubuntu 18.04.  I am using Php 7.4 with Mysql. (Please let me know if more info is needed, new to this).

I have gotten as far as attempting to open the new site and I receive the following error message: Exception - Table 'moodle.mdl_config' doesn't exist

I am completely stuck and have no clue as to how to fix this. Any guidance would be greatly appreciated.

回复Bridgette Gloster

Re: Missing Moodle.MDL_Config

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
What is the tutorial or any other documentation you are following?
回复Visvanath Ratnaweera

Re: Missing Moodle.MDL_Config

Bridgette Gloster -
回复Bridgette Gloster

Re: Missing Moodle.MDL_Config

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
How far have you come as in that document? The steps are numbered "Step 1:..", "Step 2: ..." Which is the last step which behaved exactly as in the document? Which is the first step that deviated? What was the differing output?

Are we rehearsing the Advice from a Caterpillar?
微笑


回复Visvanath Ratnaweera

Re: Missing Moodle.MDL_Config

Bridgette Gloster -
I got all the way to part 1 of step 7,
回复Bridgette Gloster

Re: Missing Moodle.MDL_Config

Bridgette Gloster -
When I went to myipaddress.com/moodle, I received the error.
回复Bridgette Gloster

Re: Missing Moodle.MDL_Config

Bridgette Gloster -
Sorry, clarification. It happened after I entered the database settings
回复Bridgette Gloster

Re: Missing Moodle.MDL_Config

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
So you filled the fields requested on the screen https://docs.moodle.org/310/en/Step-by-step_Installation_Guide_for_Ubuntu#Database_Settings and you get "Exception - Table 'moodle.mdl_config' doesn't exist" instead of https://docs.moodle.org/310/en/Step-by-step_Installation_Guide_for_Ubuntu#Environment_Checks ?

Hint to the moderator: I won't disclose the real IP here on the Web. Minds of different people tick differently.
;-D
回复Visvanath Ratnaweera

Re: Missing Moodle.MDL_Config

Bridgette Gloster -
Yes, exactly. Sorry if I am being obtuse. A little flustered as I really need this up.
回复Bridgette Gloster

Re: Missing Moodle.MDL_Config

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
Few things you could do:
- see that the values you entered are written to a moodle/config.php file

It won't be a bad idea to post its content here. Ctrl-Shift-c is often copy text from the terminal. You should alter anything sensitive, replace with bogus info, keeping the pattern.

- create a file moodle/phpinfo.php with a single liner
<?php phpinfo(); ?>
and visit yoursite/phpinfo.php in a browser. It should give you the common phpinfo page. Check for the required PHP modules and settings.

- Assuming the installation broke half-way, I'm not sure whether the installation will recover if you restart it, even on the CLI. I would drop and create the database to reinitiate the installation.
回复Visvanath Ratnaweera

Re: Missing Moodle.MDL_Config

Ken Task -
Particularly helpful Moodlers的头像

Had she not shared url ... one wouldn't know site is hosted on IONOS.   Seems I re-call that hosting took some different steps to install a Moodle?  and something about old IONOS and new IONOS also ... but my memory isn't as good as it was, sooooooo????

'SoS', Ken


回复Ken Task

Re: Missing Moodle.MDL_Config

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
I understood the OP that she is on a VPS. I won't start debugging a Moodle installation behind an unknown GUI!

Anyway the symptoms are of a database which is not getting populated. Typically this leads to either under powered hosts or incompatible/insufficient MySQL settings.
回复Ken Task

Re: Missing Moodle.MDL_Config

Bridgette Gloster -
Thanks. I did not use the IONOS installer for their flavor of Moodle. I have a separate installation on a separate server that was built with that installer and is quite buggy. So, for this, I did this build from the instructions provided in the referenced Moodle Docs link on a virtual server provided by IONOS imaged with Ubuntu 18.04.
回复Bridgette Gloster

Re: Missing Moodle.MDL_Config

Jon Witts -
Plugin developers的头像 Testers的头像
Could you try installing using the command line instead of the browser? You might get more helpful error messages... https://docs.moodle.org/311/en/Installing_Moodle#Command_line_installer