vfremaux / moodle-local_vmoodle

A shifted version of VMoodle starting from Moodle 2.8 ahead
3 stars 2 forks source link

Database dump command not available #7

Open thomasfeng61 opened 3 years ago

thomasfeng61 commented 3 years ago

When click "Snapshot master Moodle" and go to step2 then show "Database dump command not available". How should I do the next?

vfremaux commented 3 years ago

this is probably because your dump command is not correctly pointed in the global settings of VMoodle, or that your dump command, (usually /usr/bin/mysqldump) cannot be used by the running user of your web server.

thomasfeng61 commented 3 years ago

Where can I find new document about vmoodle? or could you guide me to solve the question of "Database dump command not available"?

vfremaux commented 3 years ago

Hi thomas : in the global settings for VMoodle you are requested to give the path of the mysqldump command.

thomasfeng61 commented 3 years ago

The global settings are in the "Virtual Moodle instances manager"? or where I can edit them?

vfremaux commented 3 years ago

Global settings are in : Site Administration Plugins > Local plugins > VMoodle

cheers

thomasfeng61 commented 3 years ago

It works. Thanks a lot. Next, How do I use Moodle snapshot to deploy a new platform?

vfremaux commented 3 years ago

the overall process is the following :

Note that you may setup the global vmoodle settings that let you take some defaults for new instances

The MNET networking management is also an advanced topic that can do a lot, but is a bit tricky without support...

thomasfeng61 commented 3 years ago

After finish the process of master moodle snapshot , I try to use a vmoodle template to create a new instance. Then appear a error message "error writing to database". Could you give me a helpful suggestion?