moodledata change directory problem

moodledata change directory problem

by Ricardo de Guzman Jr. -
Number of replies: 3

Hi I moved my moodledata folder and changed the directory in config.php and is working

But moodledata keep generating folder on its old location and it only have models folder.

How can I fix this?

Thanks

Average of ratings: -
In reply to Ricardo de Guzman Jr.

Re: moodledata change directory problem

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Because you have *something* in config.php pointing to the old location.
In reply to Ricardo de Guzman Jr.

Re: moodledata change directory problem

by Ken Task -
Picture of Particularly helpful Moodlers

In a 3.5.highest, there is a setting for "models output directory".

/admin/settings.php?section=analyticssettings

which is a path.  If you have moved moodledata you will have to change that path.

'SoS', Ken


In reply to Ken Task

Re: moodledata change directory problem

by Ken Task -
Picture of Particularly helpful Moodlers

Follow up ... not only change the path but move the errant modles directory into moodledata ... that directory may not re-generate as others do.

'SoS', Ken

Average of ratings: Useful (1)